mirror of
https://github.com/darksaid98/ubuntu-server-setup.git
synced 2026-12-01 22:22:31 +00:00
18 lines
397 B
Bash
18 lines
397 B
Bash
#!/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} |