summaryrefslogtreecommitdiff
path: root/slackware-bootstrap/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'slackware-bootstrap/bootstrap')
-rw-r--r--slackware-bootstrap/bootstrap17
1 files changed, 17 insertions, 0 deletions
diff --git a/slackware-bootstrap/bootstrap b/slackware-bootstrap/bootstrap
new file mode 100644
index 0000000..9960bc0
--- /dev/null
+++ b/slackware-bootstrap/bootstrap
@@ -0,0 +1,17 @@
+#!/bin/bash
+basedir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
+username="user"
+
+while getopts u:a:f: flag
+do
+ case "${flag}" in
+ u) username=${OPTARG};;
+ esac
+done
+
+echo "working dir: $basedir"
+
+sh $basedir/user
+sh $basedir/sudo
+sh $basedir/slackpkg
+sh $basedir/slpkg