[arch-commits] Commit in systemd/trunk (systemd.install)
Dave Reisner
dreisner at archlinux.org
Tue Jun 19 15:04:42 UTC 2012
Date: Tuesday, June 19, 2012 @ 11:04:42
Author: dreisner
Revision: 162084
avoid removal of lock group. this belongs to filesystem now
Modified:
systemd/trunk/systemd.install
-----------------+
systemd.install | 14 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
Modified: systemd.install
===================================================================
--- systemd.install 2012-06-19 14:45:55 UTC (rev 162083)
+++ systemd.install 2012-06-19 15:04:42 UTC (rev 162084)
@@ -5,9 +5,7 @@
}
post_install() {
- if [ ! -f etc/machine-id ]; then
- systemd-machine-id-setup
- fi
+ systemd-machine-id-setup
# enable getty at tty1 by default, but don't track the file
systemctl enable getty at .service
@@ -17,9 +15,7 @@
}
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 @@
fi
}
-post_remove() {
- if getent group lock >/dev/null; then
- groupdel lock
- fi
-}
-
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list