Initial Commit

This commit is contained in:
Jason Hee committed 2016-11-24 00:05:36 +08:00
commit 003357b848
5 files changed
+154

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
#!/bin/bash
function getCurrentDir() {
local current_dir="${BASH_SOURCE%/*}"
if [[ ! -d "${current_dir}" ]]; then current_dir="$PWD"; fi
echo ${current_dir}
}
function includeDependencies() {
source "${current_dir}/setupLibrary.sh"
}
current_dir=$(getCurrentDir)
includeDependencies
echo -n "Enter the new username of the user account:"
read username
addUserAccount ${username}