summaryrefslogtreecommitdiff
path: root/community/systemd/systemd.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/systemd/systemd.install')
-rw-r--r--community/systemd/systemd.install10
1 files changed, 1 insertions, 9 deletions
diff --git a/community/systemd/systemd.install b/community/systemd/systemd.install
index 259d09b9e..0c75c4b27 100644
--- a/community/systemd/systemd.install
+++ b/community/systemd/systemd.install
@@ -1,14 +1,7 @@
-#!/bin/sh
+#!/bin/bash
checkgroups() {
getent group lock >/dev/null || groupadd -g 54 lock
-
- utmpent=$(getent group utmp)
- if [ -z $utmpent ]; then
- getent group utmp >/dev/null || groupadd -g 32 utmp
- elif [ $(echo $utmpent | cut -d: -f3) = '22' ]; then
- groupmod -g 32 utmp
- fi
}
post_install() {
@@ -44,7 +37,6 @@ pre_remove() {
post_remove() {
getent group lock >/dev/null && groupdel lock
- getent group utmp >/dev/null && groupdel utmp
}
# vim:set ts=2 sw=2 et: