quick_jibri_installer.sh: fix jaas & acme integration #90

Merged
Ark74 merged 42 commits from unstable into master 2022-10-24 04:52:24 +00:00
1 changed files with 7 additions and 0 deletions
Showing only changes of commit 7d162f8ade - Show all commits

View File

@ -18,6 +18,13 @@ while [ $secs -gt 0 ]; do
done
}
# Check if user is root
if [ $(id -u) = 0 ]; then
echo "Please don't run with root or sudo privileges!
> We'll request them when necessary."
exit 1
fi
TMP_DIR="$(mktemp -d)"
KERNEL_LOG="$TMP_DIR/kernel_log"
GRUB_FILE="/etc/default/grub"