Merge branch 'master' of github.com:ccrisan/motioneyeos

This commit is contained in:
Calin Crisan 2016-02-20 18:08:02 +02:00
commit 49687459e1
2 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@
preferred master = no preferred master = no
domain master = no domain master = no
local master = no local master = no
os level = 0
[sdcard] [sdcard]
comment = SD Card Output Directory comment = SD Card Output Directory

View File

@ -16,7 +16,7 @@ if [ -z "$1" ]; then
usage usage
fi fi
test "root" != "$USER" && exec sudo $0 "$@" if [[ $(id -u) -ne 0 ]]; then echo "Please run as root"; exit 1; fi
function msg() { function msg() {
echo ":: $1" echo ":: $1"