summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/MythVantage-system/backend_control.sh
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-10-23 18:17:40 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-10-23 18:19:39 (GMT)
commitadbcf19958300e9b6598990184c8815b945ba0ee (patch)
treef4283c850ac0ac202c17e78a637ee7ca8147621b /abs/mv-core/MythVantage-system/backend_control.sh
parent61a68250df10d29b624650948484898334ff22d0 (diff)
downloadlinhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.zip
linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.gz
linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.bz2
Removed old core and extra from repo. Renamed -testing to core/extra. This will setup the base for the testing branch.
Diffstat (limited to 'abs/mv-core/MythVantage-system/backend_control.sh')
-rwxr-xr-xabs/mv-core/MythVantage-system/backend_control.sh34
1 files changed, 0 insertions, 34 deletions
diff --git a/abs/mv-core/MythVantage-system/backend_control.sh b/abs/mv-core/MythVantage-system/backend_control.sh
deleted file mode 100755
index 53b973b..0000000
--- a/abs/mv-core/MythVantage-system/backend_control.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/bash
-#. /etc/systemconfig
-#echo $@ > /tmp/parms
-#start Slavebackend: fusion 192.168.1.120
-COMMAND=$1
-BETYPE=$2
-eval LAST=\$$#
-dbhost=`echo $LAST`
-
-
-MESSAGE=""
-case $COMMAND in
- stop) MESSAGE=`/usr/bin/curl http://$dbhost:1337/bestop.cgi 2>/dev/null`
- ;;
-
- start )
- MESSAGE=`/usr/bin/curl http://$dbhost:1337/bestart.cgi 2>/dev/null`
- ;;
-
- restart)
- /usr/bin/backend_control.sh stop $dbhost
- sleep 3
- /usr/bin/backend_control.sh start $dbhost
-# /tmp/backend_control.sh start $dbhost
- ;;
- clearcache)
- MESSAGE2=`/usr/bin/curl http://$dbhost:1337/beclear.cgi 2>/dev/null`
-esac
-exit 0
-if [ ! "x$MESSAGE" = x ]
-then
- xsay -t 3 "$MESSAGE"
-fi
-