summaryrefslogtreecommitdiff
path: root/core/systemd/systemd.install
diff options
context:
space:
mode:
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: