summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsetup-box8
1 files changed, 7 insertions, 1 deletions
diff --git a/setup-box b/setup-box
index 74bdd5e..b4663d8 100755
--- a/setup-box
+++ b/setup-box
@@ -33,6 +33,7 @@ $(basename $0) $VERSION - Setup a variety Environments
Usage: $(basename $0) option [args]
Options:
+ -b Setup Alpine Linux
-d Select a desktop environment:
mate
openbox
@@ -318,8 +319,10 @@ main () {
search_files
# If there is any argument... let's work
- while getopts "d:s:g:u:hGSvV" opt ; do
+ while getopts "bd:s:g:u:hGSvV" opt ; do
case $opt in
+ b)
+ setup_alpine="1";;
d)
create_user="1"
search_desktop "$OPTARG";;
@@ -346,6 +349,9 @@ main () {
done
shift `expr $OPTIND - 1`
+ if [ "$setup_alpine" == "1" ]; then
+ /sbin/setup-alpine
+ fi
# Packages to be installed (including services)
optimize_pack "$final_pack"