summaryrefslogtreecommitdiff
path: root/community/systemd/systemd.install
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-21 04:17:42 +0000
committerroot <root@rshg047.dnsready.net>2011-04-21 04:17:42 +0000
commitfa4eccdc5034e6953e9b9381570ada0fb3ee983d (patch)
tree0e36297a392905958bf9ad80e8893b4e72ec2fb0 /community/systemd/systemd.install
parent862a468489b5081755f9086204a012c7cd3beb3e (diff)
Thu Apr 21 04:17:42 UTC 2011
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: