summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-system/switch_web.sh
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2013-10-29 21:52:44 (GMT)
committerBritney Fransen <brfransen@gmail.com>2013-10-29 21:52:44 (GMT)
commit0b5ac212468b7ab376d3e08cef4b79d839891959 (patch)
tree88455f377506a23d2820d6a3bd7b6878222d392d /abs/core/LinHES-system/switch_web.sh
parentf51fa2f8156f99937da9f6e9f5b63950198919f6 (diff)
downloadlinhes_pkgbuild-0b5ac212468b7ab376d3e08cef4b79d839891959.zip
linhes_pkgbuild-0b5ac212468b7ab376d3e08cef4b79d839891959.tar.gz
linhes_pkgbuild-0b5ac212468b7ab376d3e08cef4b79d839891959.tar.bz2
LinHES-system: remove switch_web.sh. supplemental-web is default
Diffstat (limited to 'abs/core/LinHES-system/switch_web.sh')
-rw-r--r--abs/core/LinHES-system/switch_web.sh29
1 files changed, 0 insertions, 29 deletions
diff --git a/abs/core/LinHES-system/switch_web.sh b/abs/core/LinHES-system/switch_web.sh
deleted file mode 100644
index bf57764..0000000
--- a/abs/core/LinHES-system/switch_web.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/bash
-#This script is used to switch the default homepage between supplementalweb and
-#the standard local webpage
-. /etc/systemconfig
-DATADIR=/data/srv/httpd/htdocs
-
-function rmindex {
- if [ -L $DATADIR/index.html ]
- then
- rm -f $DATADIR/index.html
- fi
-}
-
-if [ $SystemType = Master_backend -o $SystemType = Standalone ]
-then
- if [ x$1 = xsupplemental ]
- then
- rmindex
- ln -s $DATADIR/alt_index.html $DATADIR/index.html
- else
- rmindex
- ln -s $DATADIR/index.htm $DATADIR/index.html
- fi
-else
- echo "This service is only available for StandAlone or Master_backend LinHES systems"
-
-fi
-
-