- yweb: remove obsolete and non-working code from boxcontrol

This commit is contained in:
svenhoefer
2012-07-25 14:32:08 +02:00
parent 874dd3f3da
commit 7d3f40d290
7 changed files with 3 additions and 55 deletions

View File

@@ -11,18 +11,12 @@
# -----------------------------------------------------------
live_lock()
{
if [ "$boxtype" != "coolstream" ]; then
call_webserver "control/lcd?lock=1&clear=1&rect=10,10,110,50,1,0&xpos=20&ypos=27&size=22&font=2&text=%20%20%20%20yWeb%0A%20%20LiveView&update=1" >/dev/null
fi
call_webserver "control/rc?lock" >/dev/null
call_webserver "control/zapto?stopplayback" >/dev/null
}
# -----------------------------------------------------------
live_unlock()
{
if [ "$boxtype" != "coolstream" ]; then
call_webserver "control/lcd?lock=0" >/dev/null
fi
call_webserver "control/rc?unlock" >/dev/null
call_webserver "control/zapto?startplayback" >/dev/null
}

View File

@@ -613,15 +613,6 @@ case "$1" in
cat /tmp/$2
;;
standby_status)
status=`switch -s|grep "FNC: 0"`
if [ "$status" = "" ]
then
echo "off"
else
echo "on"
fi
;;
mtd_space|var_space)
df | while read fs rest; do
case ${fs:0:3} in