Skip to content
Snippets Groups Projects
Commit d20c0325 authored by Bob Mottram's avatar Bob Mottram
Browse files

reset option

parent 9188a52c
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment