X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=grml-debootstrap;h=b3fc9da9d6ec3b0a4d92132b2a99f5eb695786bd;hp=055843a465bf4577e58fa8b20e5287ab0a9a7015;hb=57a2d9c32c007161bdf3dbfc32c67dee98eac974;hpb=45913e62e4f5378eb6f3f89b88e1c0e70470455c 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