case "$MODE" in
    commandline)
        add_option "jobs" "`eval_gettext "Set the number of parallel build processes"`" "advanced" "true"
        add_option "mirror" "`eval_gettext "Set extra mirror locations (space-separated)"`" "advanced" "true"
        add_option "locale" "`eval_gettext "set the default locale"`" "advanced" "true"
        add_option "packages" "`eval_gettext "list of extra packages to install as part of the initial installation."`" "advanced" "true"
        ;;
    configure)
        if [ -n "$option_locale_value" ]; then
            LOCALE="$option_locale_value"
        fi

        if [ -n "$option_packages_value" ]; then
            PACKAGES="$option_packages_value"
        fi

        if [ -n "$option_mirror_value" ]; then
            MIRRORS="$option_mirror_value"
        fi

        RCS_WHITELIST="bootmisc fsck root hwclock consolefont hostname \
                       keymaps localmount ltsp-client-setup modules mtab \
                       net.lo procfs rmnologin sysctl termencoding urandom"
        RC2_WHITELIST="nbd-client splash local ltsp-client syslog-ng"
        OVERRIDE_EXPORTS="true"

        if [ -n "$option_jobs_value" ]; then
            JOBS="$option_jobs_value"
        else
            JOBS=2
        fi
        # TODO: other MAKEOPTS?
        MAKEOPTS="-j${JOBS}"
        ;;
esac
