mirror of
https://github.com/guezoloic/serverconfig.git
synced 2026-01-25 12:34:24 +00:00
13 lines
225 B
Bash
13 lines
225 B
Bash
#!/bin/bash
|
|
|
|
source "./scripts/common.sh"
|
|
|
|
if [[ $EUID -ne 0 ]]; then
|
|
echo "the script needs to be as root."
|
|
exit 1
|
|
fi
|
|
|
|
# if [ ! -d "$ENV_DIR" ]; then
|
|
# echo "$ENV_DIR is missing..., "
|
|
# mkdir -p $ENV_DIR
|
|
# fi |