X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=grml-debootstrap;h=5b426dc2950dd57de4c904efba740db3d5c54092;hp=055843a465bf4577e58fa8b20e5287ab0a9a7015;hb=f1c990cccb615021fdb8c16922967d115cb086a8;hpb=95778741daf175619a7a0097b2fea1ac16bd005f diff --git a/grml-debootstrap b/grml-debootstrap index 055843a..5b426dc 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -40,7 +40,7 @@ Bootstrap options: -m, --mirror Mirror which should be used for apt-get/aptitude. -i, --iso Mountpoint where a Debian ISO is mounted to, for use instead of fetching packages from a mirror. - -r, --release Release of new Debian system (default: lenny). + -r, --release Release of new Debian system (default: squeeze). -t, --target Target partition (/dev/...) or directory where the system should be installed to. -p, --mntpoint Mountpoint used for mounting the target system, @@ -305,12 +305,13 @@ prompt_for_bootmanager() # ask for Debian release {{{ prompt_for_release() { - [ -n "$RELEASE" ] && DEFAULT_RELEASE="$RELEASE" || DEFAULT_RELEASE='lenny' + [ -n "$RELEASE" ] && DEFAULT_RELEASE="$RELEASE" || DEFAULT_RELEASE='squeeze' RELEASE="$(dialog --stdout --title "${PN}" --default-item $DEFAULT_RELEASE --menu \ "Please enter the Debian release you would like to use for installation:" \ - 0 50 3 \ - lenny Debian/stable \ - squeeze Debian/testing \ + 0 50 4 \ + lenny Debian/old-stable \ + squeeze Debian/stable \ + wheezy Debian/testing \ sid Debian/unstable)" } # }}} @@ -1005,8 +1006,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