summaryrefslogtreecommitdiffstats
path: root/abs/core/supplemental-web
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-26 22:04:55 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-26 22:04:55 (GMT)
commit51e0b638f0d58e4e0507425b8512809208fbbaf8 (patch)
treeca357ea72d7851fe28471ea344d1acfcd8d79721 /abs/core/supplemental-web
parent3a56a447fd5912114eab0e87cf550d7af8f2524a (diff)
downloadlinhes_pkgbuild-51e0b638f0d58e4e0507425b8512809208fbbaf8.zip
linhes_pkgbuild-51e0b638f0d58e4e0507425b8512809208fbbaf8.tar.gz
linhes_pkgbuild-51e0b638f0d58e4e0507425b8512809208fbbaf8.tar.bz2
LinHES-config: move backend_contrl to LinHES-config pkg. Doesn't belong here but it's sort of a one off.
This was done because backend_control is needed by systems that may not have supplemental-web installed. Like FE only systems. Removed backend-control from supplemental-web.
Diffstat (limited to 'abs/core/supplemental-web')
-rw-r--r--abs/core/supplemental-web/PKGBUILD9
-rw-r--r--abs/core/supplemental-web/backend_control.sh28
2 files changed, 4 insertions, 33 deletions
diff --git a/abs/core/supplemental-web/PKGBUILD b/abs/core/supplemental-web/PKGBUILD
index 24cb893..c9671de 100644
--- a/abs/core/supplemental-web/PKGBUILD
+++ b/abs/core/supplemental-web/PKGBUILD
@@ -1,11 +1,11 @@
pkgname=supplemental-web
pkgver=1.0
-pkgrel=18
+pkgrel=19
arch=('i686' 'x86_64')
MVDIR=$startdir/pkg/usr/MythVantage
install=supplemental-web.install
backup=('extra.cfg.txt')
-source=(lighttpd-supplement.conf extra.cfg.txt wakeonlan.sh backend_control.sh)
+source=(lighttpd-supplement.conf extra.cfg.txt wakeonlan.sh )
depends=('lighttpd' 'php' 'fcgi' 'python2' 'xymonserver' 'certmaster' 'func' 'python_aosd' 'LinHES-system>=2-50')
@@ -18,7 +18,7 @@ build() {
install -m755 -D lighttpd-supplement.conf $MVDIR/etc/lighttpd-supplement.conf
install -m755 -D wakeonlan.sh $MVDIR/bin/wakeonlan.sh
- install -m755 -D backend_control.sh $MVDIR/bin/backend_control.sh
+# install -m755 -D backend_control.sh $MVDIR/bin/backend_control.sh
mkdir -p $startdir/pkg/data/srv/httpd/htdocs/
cp -rp $startdir/contents/* $startdir/pkg/data/srv/httpd/htdocs
chmod -R 755 $startdir/pkg/data/srv/httpd/htdocs
@@ -34,5 +34,4 @@ build() {
md5sums=('30aa4235aff78c77d544f930f3d92b62'
'3d8c7b430c1319d706ca420825918d2a'
- '81cdb6ee6804fa36366c6e259a80e7b4'
- '928d183aa7b44049b797864c27a6b675')
+ '81cdb6ee6804fa36366c6e259a80e7b4')
diff --git a/abs/core/supplemental-web/backend_control.sh b/abs/core/supplemental-web/backend_control.sh
deleted file mode 100644
index ab58bac..0000000
--- a/abs/core/supplemental-web/backend_control.sh
+++ /dev/null
@@ -1,28 +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/MythVantage/bin/backend_control.sh stop $dbhost
- sleep 2
- /usr/MythVantage/bin/backend_control.sh start $dbhost
- ;;
- clearcache)
- MESSAGE2=`/usr/bin/curl http://$dbhost:1337/beclear.cgi 2>/dev/null`
-esac
-