Skip to content

Commit 39ddd21

Browse files
authored
References #2474 and #2475 poweroff instead of halt on oem shutdown
1 parent e8ee7bf commit 39ddd21

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dracut/modules.d/59kiwi-dump-reboot/kiwi-dump-reboot-system.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function boot_installed_system {
3030
ask_and_shutdown "${ask_shutdown_text}"
3131
fi
3232
if [ "${kiwi_oemshutdown}" = "true" ];then
33-
systemctl halt
33+
systemctl poweroff
3434
fi
3535

3636
# if rd.kiwi.install.pass.bootparam is given, pass on most

dracut/modules.d/59kiwi-lib/kiwi-dialog-lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ function ask_and_shutdown {
182182
if ! run_dialog --yesno "\"${text_message}\"" 7 80; then
183183
die "${text_message}"
184184
else
185-
systemctl halt
185+
systemctl poweroff
186186
fi
187187
}
188188

0 commit comments

Comments
 (0)