X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=grml-debootstrap;h=b3fc9da9d6ec3b0a4d92132b2a99f5eb695786bd;hp=055843a465bf4577e58fa8b20e5287ab0a9a7015;hb=840f5b81bb6a0749a8f5360355f199d9655e9a1a;hpb=95778741daf175619a7a0097b2fea1ac16bd005f diff --git a/grml-debootstrap b/grml-debootstrap index 055843a..b3fc9da 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -1005,8 +1005,12 @@ fi # end dialog of autoinstallation {{{ if [ -n "$AUTOINSTALL" ] ; then - dialog --title "$PN" --msgbox \ - "Finished execution of ${PN}. Enjoy your Debian system." 0 0 + if dialog --title "${PN}" --pause "Finished execution of ${PN}. +Automatically rebooting in 10 seconds. + +Choose Cancel to skip rebooting." 10 60 10 ; then + noeject noprompt reboot + fi else einfo "Finished execution of ${PN}. Enjoy your Debian system." ; eend 0 fi