summaryrefslogtreecommitdiff
path: root/core/systemd/systemd.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-25 00:01:42 +0000
committerroot <root@rshg054.dnsready.net>2012-06-25 00:01:42 +0000
commit3b99c42eb8ca744e86e4e17197b1bf10642c6785 (patch)
tree32a8e3b87b35056995f805dec0e5a108425354c7 /core/systemd/systemd.install
parent4319f36e44d4e7c70bf010c3286bb1739c59d4de (diff)
Mon Jun 25 00:01:41 UTC 2012
Diffstat (limited to 'core/systemd/systemd.install')
-rw-r--r--core/systemd/systemd.install14
1 files changed, 2 insertions, 12 deletions
diff --git a/core/systemd/systemd.install b/core/systemd/systemd.install
index 0b10f9537..cb82b6c8c 100644
--- a/core/systemd/systemd.install
+++ b/core/systemd/systemd.install
@@ -5,9 +5,7 @@ sd_booted() {
}
post_install() {
- if [ ! -f etc/machine-id ]; then
- systemd-machine-id-setup
- fi
+ systemd-machine-id-setup
# enable getty@tty1 by default, but don't track the file
systemctl enable getty@.service
@@ -17,9 +15,7 @@ post_install() {
}
post_upgrade() {
- if [ ! -f etc/machine-id ]; then
- systemd-machine-id-setup
- fi
+ systemd-machine-id-setup
if sd_booted; then
# we moved the binary in 44-2 to /usr, so a reexec leads to a
@@ -42,10 +38,4 @@ post_upgrade() {
fi
}
-post_remove() {
- if getent group lock >/dev/null; then
- groupdel lock
- fi
-}
-
# vim:set ts=2 sw=2 et: