projects
/
grml-debootstrap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Automatically reboot after 10 seconds of inactivity after succesfully finishing autom...
[grml-debootstrap.git]
/
grml-debootstrap
diff --git
a/grml-debootstrap
b/grml-debootstrap
index
055843a
..
b3fc9da
100755
(executable)
--- a/
grml-debootstrap
+++ b/
grml-debootstrap
@@
-1005,8
+1005,12
@@
fi
# end dialog of autoinstallation {{{
if [ -n "$AUTOINSTALL" ] ; then
# 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
else
einfo "Finished execution of ${PN}. Enjoy your Debian system." ; eend 0
fi