-dialog --backtitle "FreeBSD Installer" --title "Welcome" --extra-button --extra-label "Shell" --ok-label "Install" --cancel-label "Live CD" --yesno "Welcome to FreeBSD! Would you like to begin an installation or use the live CD?" 0 0
+bsddialog --backtitle "FreeBSD Installer" --title "Welcome" --extra-button --extra-label "Shell" --ok-label "Install" --cancel-label "Live CD" --yesno "Welcome to FreeBSD! Would you like to begin an installation or use the live CD?" 0 0
case $? in
-$DIALOG_OK) # Install
+$BSDDIALOG_OK) # Install
# If not netbooting, have the installer configure the network
if [ ${dlv:=0} -eq 0 -a ! -f /etc/diskless ]; then
@@ -71,15 +71,15 @@
trap true SIGINT # Ignore cntrl-C here
bsdinstall
if [ $? -eq 0 ]; then
- dialog --backtitle "FreeBSD Installer" --title "Complete" --yes-label "Reboot" --no-label "Live CD" --yesno "Installation of FreeBSD complete! Would you like to reboot into the installed system now?" 0 0 && reboot
+ bsddialog --backtitle "FreeBSD Installer" --title "Complete" --yes-label "Reboot" --no-label "Live CD" --yesno "Installation of FreeBSD complete! Would you like to reboot into the installed system now?" 0 0 && reboot
else
. /etc/rc.local
fi
;;
-$DIALOG_CANCEL) # Live CD
+$BSDDIALOG_CANCEL) # Live CD
exit 0
;;
-$DIALOG_EXTRA) # Shell
+$BSDDIALOG_EXTRA) # Shell
clear
echo "When finished, type 'exit' to return to the installer."