mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
Merge branch 'master' of github.com:ccrisan/motioneyeos
This commit is contained in:
commit
49687459e1
@ -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
|
||||||
|
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user