diff options
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() { |