mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
updated motioneye to latest version
This commit is contained in:
parent
f6ca722644
commit
9392e3fd57
@ -167,13 +167,13 @@ start() {
|
||||
fi
|
||||
|
||||
if [ -n "$static_gw" ]; then
|
||||
msg_begin "setting static gateway to $static_gw"
|
||||
msg_begin "Setting static gateway to $static_gw"
|
||||
ip route add default via $static_gw
|
||||
test $? == 0 && msg_done || msg_fail
|
||||
fi
|
||||
|
||||
if [ -n "$static_dns" ]; then
|
||||
msg_begin "setting static DNS server to $static_dns"
|
||||
msg_begin "Setting static DNS server to $static_dns"
|
||||
echo "nameserver $static_dns" > /etc/resolv.conf
|
||||
test $? == 0 && msg_done || msg_fail
|
||||
fi
|
||||
|
@ -3,7 +3,7 @@
|
||||
gpio=35
|
||||
check_interval=30
|
||||
export=/sys/class/gpio/export
|
||||
read=/sys/class/gpio/gpio$gpio/value
|
||||
readv=/sys/class/gpio/gpio$gpio/value
|
||||
|
||||
test -n "$os_version" || source /etc/init.d/base
|
||||
|
||||
@ -13,7 +13,7 @@ configure() {
|
||||
|
||||
watch() {
|
||||
while true; do
|
||||
if [ `cat $read` == "0" ]; then
|
||||
if [ "$(cat $readv)" == "0" ]; then
|
||||
logger -t brownout -s "low power supply voltage detected"
|
||||
fi
|
||||
sleep $check_interval
|
||||
|
@ -3,7 +3,7 @@
|
||||
gpio=35
|
||||
check_interval=30
|
||||
export=/sys/class/gpio/export
|
||||
read=/sys/class/gpio/gpio$gpio/value
|
||||
readv=/sys/class/gpio/gpio$gpio/value
|
||||
|
||||
test -n "$os_version" || source /etc/init.d/base
|
||||
|
||||
@ -13,7 +13,7 @@ configure() {
|
||||
|
||||
watch() {
|
||||
while true; do
|
||||
if [ `cat $read` == "0" ]; then
|
||||
if [ "$(cat $readv)" == "0" ]; then
|
||||
logger -t brownout -s "low power supply voltage detected"
|
||||
fi
|
||||
sleep $check_interval
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
MOTIONEYE_VERSION = 022221553bd114c579af4ec91820ce659ea35f74
|
||||
MOTIONEYE_VERSION = fce758f
|
||||
MOTIONEYE_SITE = $(call github,ccrisan,motioneye,$(MOTIONEYE_VERSION))
|
||||
MOTIONEYE_SOURCE = $(MOTIONEYE_VERSION).tar.gz
|
||||
MOTIONEYE_LICENSE = GPLv3
|
||||
|
Loading…
x
Reference in New Issue
Block a user