Make reboot forcible to avoid weird issues
This commit is contained in:
parent
fb4f0fa213
commit
1ec7444c36
|
@ -1136,7 +1136,8 @@ seed_postinst() {
|
||||||
|
|
||||||
echo "Rebooting in 10 seconds."
|
echo "Rebooting in 10 seconds."
|
||||||
sleep 10
|
sleep 10
|
||||||
reboot
|
sync
|
||||||
|
reboot -f
|
||||||
}
|
}
|
||||||
|
|
||||||
interactive_postinst() {
|
interactive_postinst() {
|
||||||
|
@ -1162,7 +1163,8 @@ interactive_postinst() {
|
||||||
echo
|
echo
|
||||||
read
|
read
|
||||||
|
|
||||||
reboot
|
sync
|
||||||
|
reboot -f
|
||||||
}
|
}
|
||||||
|
|
||||||
case ${install_option} in
|
case ${install_option} in
|
||||||
|
|
Loading…
Reference in New Issue