summaryrefslogtreecommitdiff
path: root/init-recordings-bigbluebutton.sh
diff options
context:
space:
mode:
Diffstat (limited to 'init-recordings-bigbluebutton.sh')
-rwxr-xr-xinit-recordings-bigbluebutton.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/init-recordings-bigbluebutton.sh b/init-recordings-bigbluebutton.sh
index f4fd91f..51d81b2 100755
--- a/init-recordings-bigbluebutton.sh
+++ b/init-recordings-bigbluebutton.sh
@@ -37,6 +37,10 @@ main() {
fi
}
+check_root() {
+ if [ $EUID != 0 ]; then err "You must run this command as root."; fi
+}
+
check_host() {
if [ ! -z "$HOST" ]; then
need_pkg dnsutils apt-transport-https net-tools