mirror of
https://github.com/darksaid98/ubuntu-server-setup.git
synced 2026-12-02 14:38:58 +00:00
Initial Commit
This commit is contained in:
commit
003357b848
5 files changed
+154
No files matched your search
@@ -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}
|
||||
Reference in new issue
Block a user