reset option
This commit is contained in:
parent
9188a52cbf
commit
d20c032518
|
@ -67,6 +67,13 @@ if [[ $command_options == "menuconfig-onion" ]]; then
|
|||
command_options="menuconfig"
|
||||
fi
|
||||
|
||||
if [ ! $CONFIGURATION_FILE ]; then
|
||||
CONFIGURATION_FILE=$HOME/${PROJECT_NAME}.cfg
|
||||
fi
|
||||
if [ ! $COMPLETION_FILE ]; then
|
||||
COMPLETION_FILE=$HOME/${PROJECT_NAME}-completed.txt
|
||||
fi
|
||||
|
||||
if [[ $command_options == "menuconfig" ]]; then
|
||||
interactive_configuration
|
||||
else
|
||||
|
@ -214,6 +221,15 @@ else
|
|||
shift
|
||||
DEBIAN_REPO=$1
|
||||
;;
|
||||
# clear the config file
|
||||
--reset)
|
||||
if [ -f $CONFIGURATION_FILE ]; then
|
||||
rm $CONFIGURATION_FILE
|
||||
fi
|
||||
if [ -f $COMPLETION_FILE ]; then
|
||||
rm $COMPLETION_FILE
|
||||
fi
|
||||
;;
|
||||
# minimal install
|
||||
--minimal)
|
||||
shift
|
||||
|
|
Loading…
Reference in New Issue