+for config_file in "/etc/installerconfig" "/bsdinstall_config/installerconfig";
+do
+ if [ ! -f ${config_file} ]; then
+ continue
+ fi
if [ "$1" != "primary" ]; then
bsddialog --backtitle "${OSNAME} Installer" --title "Installing" --msgbox "${OSNAME} is being installed from a script; please use the primary console." 0 0
. "$0"
- elif bsdinstall script /etc/installerconfig; then
bsddialog --backtitle "${OSNAME} Installer" --title "Welcome" --extra-button --extra-label "Shell" --ok-label "Install" --cancel-label "Live System" --yesno "Welcome to ${OSNAME}! Would you like to begin an installation or use the live system?" 0 0