lazy/init_root.sh
2024-10-17 08:56:55 +08:00

15 lines
306 B
Bash
Executable File

#!/usr/bin/env bash
scriptdir=$(dirname $(realpath $0))
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root."
exit 1
fi
# ============================================================
. $scriptdir/configure_priv.sh $@
# ============================================================