mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-19 21:16:37 +07:00
units: SUSE - set COLD_BOOT to skip own boot.d/ handling on shutdown
This commit is contained in:
parent
a45f61d76c
commit
f8e1755297
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user