mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-17 05:40:54 +00:00
units: SUSE - set COLD_BOOT to skip own boot.d/ handling on shutdown
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user