[systemd-commits] units/suse
Kay Sievers
kay at kemper.freedesktop.org
Fri Jul 9 02:54:47 PDT 2010
units/suse/halt.service | 4 ++--
units/suse/poweroff.service | 3 ++-
units/suse/reboot.service | 3 ++-
3 files changed, 6 insertions(+), 4 deletions(-)
New commits:
commit f8e1755297387e2969a902be22ee201cc506efa2
Author: Kay Sievers <kay.sievers at vrfy.org>
Date: Fri Jul 9 11:53:39 2010 +0200
units: SUSE - set COLD_BOOT to skip own boot.d/ handling on shutdown
diff --git a/units/suse/halt.service b/units/suse/halt.service
index 54586c4..5f42ac6 100644
--- a/units/suse/halt.service
+++ b/units/suse/halt.service
@@ -15,6 +15,6 @@ Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.a
[Service]
Type=finish
ValidNoProcess=yes
-Environment=INIT_HALT=HALT RUNLEVEL=0
-ExecStart=/etc/init.d/halt start
+Environment=INIT_HALT=HALT RUNLEVEL=0 COLD_BOOT=1
+ExecStart=/etc/init.d/halt
StandardInput=tty
diff --git a/units/suse/poweroff.service b/units/suse/poweroff.service
index cb90874..93a9da5 100644
--- a/units/suse/poweroff.service
+++ b/units/suse/poweroff.service
@@ -15,5 +15,6 @@ Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.a
[Service]
Type=finish
ValidNoProcess=yes
-ExecStart=/etc/init.d/halt start
+Environment=COLD_BOOT=1
+ExecStart=/etc/init.d/halt
StandardInput=tty
diff --git a/units/suse/reboot.service b/units/suse/reboot.service
index 1ccaceb..c3526b3 100644
--- a/units/suse/reboot.service
+++ b/units/suse/reboot.service
@@ -15,5 +15,6 @@ Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.a
[Service]
Type=finish
ValidNoProcess=yes
-ExecStart=/etc/init.d/reboot start
+Environment=COLD_BOOT=1
+ExecStart=/etc/init.d/reboot
StandardInput=tty
More information about the systemd-commits
mailing list