chiark / gitweb /
units: SUSE - set COLD_BOOT to skip own boot.d/ handling on shutdown
authorKay Sievers <kay.sievers@vrfy.org>
Fri, 9 Jul 2010 09:53:39 +0000 (11:53 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Fri, 9 Jul 2010 09:53:39 +0000 (11:53 +0200)
units/suse/halt.service
units/suse/poweroff.service
units/suse/reboot.service

index 54586c4..5f42ac6 100644 (file)
@@ -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
index cb90874..93a9da5 100644 (file)
@@ -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
index 1ccaceb..c3526b3 100644 (file)
@@ -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