diff options
author | root <root@rshg047.dnsready.net> | 2011-06-17 23:02:42 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-06-17 23:02:42 +0000 |
commit | e96f6ac6e912185a495a99af2b0d51b73bd1d044 (patch) | |
tree | dbd018fc8e267c419876cd604cebed805287bf6c /community/systemd/systemd.install | |
parent | 1fcb176285908c33aca3b0f5cb703ec098e5440c (diff) |
Fri Jun 17 23:02:42 UTC 2011
Diffstat (limited to 'community/systemd/systemd.install')
-rw-r--r-- | community/systemd/systemd.install | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/community/systemd/systemd.install b/community/systemd/systemd.install index 33d597bf1..7ec58682a 100644 --- a/community/systemd/systemd.install +++ b/community/systemd/systemd.install @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh checkgroups() { getent group lock >/dev/null || groupadd -g 54 lock @@ -7,7 +7,7 @@ checkgroups() { post_install() { checkgroups - [ -f /etc/machine-id ] || /bin/systemd-machine-id-setup + [ -f /etc/machine-id ] || systemd-machine-id-setup echo "systemd has been installed to /bin/systemd. Please ensure you append" echo "init=/bin/systemd to your kernel command line in your bootloader." @@ -16,12 +16,12 @@ post_install() { post_upgrade() { checkgroups - [ -f /etc/machine-id ] || /bin/systemd-machine-id-setup - /bin/systemctl daemon-reexec >/dev/null || : + [ -f /etc/machine-id ] || systemd-machine-id-setup + systemctl daemon-reexec >/dev/null || : } pre_remove() { - /bin/rm -f /etc/systemd/system/default.target + rm -f /etc/systemd/system/default.target } post_remove() { |