updated motioneye to latest version

This commit is contained in:
Calin Crisan 2015-12-27 11:18:08 +02:00
parent f6ca722644
commit 9392e3fd57
4 changed files with 7 additions and 7 deletions

View File

@ -167,13 +167,13 @@ start() {
fi fi
if [ -n "$static_gw" ]; then 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 ip route add default via $static_gw
test $? == 0 && msg_done || msg_fail test $? == 0 && msg_done || msg_fail
fi fi
if [ -n "$static_dns" ]; then 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 echo "nameserver $static_dns" > /etc/resolv.conf
test $? == 0 && msg_done || msg_fail test $? == 0 && msg_done || msg_fail
fi fi

View File

@ -3,7 +3,7 @@
gpio=35 gpio=35
check_interval=30 check_interval=30
export=/sys/class/gpio/export 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 test -n "$os_version" || source /etc/init.d/base
@ -13,7 +13,7 @@ configure() {
watch() { watch() {
while true; do while true; do
if [ `cat $read` == "0" ]; then if [ "$(cat $readv)" == "0" ]; then
logger -t brownout -s "low power supply voltage detected" logger -t brownout -s "low power supply voltage detected"
fi fi
sleep $check_interval sleep $check_interval

View File

@ -3,7 +3,7 @@
gpio=35 gpio=35
check_interval=30 check_interval=30
export=/sys/class/gpio/export 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 test -n "$os_version" || source /etc/init.d/base
@ -13,7 +13,7 @@ configure() {
watch() { watch() {
while true; do while true; do
if [ `cat $read` == "0" ]; then if [ "$(cat $readv)" == "0" ]; then
logger -t brownout -s "low power supply voltage detected" logger -t brownout -s "low power supply voltage detected"
fi fi
sleep $check_interval sleep $check_interval

View File

@ -4,7 +4,7 @@
# #
############################################################# #############################################################
MOTIONEYE_VERSION = 022221553bd114c579af4ec91820ce659ea35f74 MOTIONEYE_VERSION = fce758f
MOTIONEYE_SITE = $(call github,ccrisan,motioneye,$(MOTIONEYE_VERSION)) MOTIONEYE_SITE = $(call github,ccrisan,motioneye,$(MOTIONEYE_VERSION))
MOTIONEYE_SOURCE = $(MOTIONEYE_VERSION).tar.gz MOTIONEYE_SOURCE = $(MOTIONEYE_VERSION).tar.gz
MOTIONEYE_LICENSE = GPLv3 MOTIONEYE_LICENSE = GPLv3