From 0b5ac212468b7ab376d3e08cef4b79d839891959 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Tue, 29 Oct 2013 16:52:44 -0500
Subject: LinHES-system: remove switch_web.sh. supplemental-web is default

---
 abs/core/LinHES-system/PKGBUILD      |  5 ++---
 abs/core/LinHES-system/switch_web.sh | 29 -----------------------------
 2 files changed, 2 insertions(+), 32 deletions(-)
 delete mode 100644 abs/core/LinHES-system/switch_web.sh

diff --git a/abs/core/LinHES-system/PKGBUILD b/abs/core/LinHES-system/PKGBUILD
index 71c7ae1..c8d791e 100755
--- a/abs/core/LinHES-system/PKGBUILD
+++ b/abs/core/LinHES-system/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=LinHES-system
 pkgver=8.0
-pkgrel=29
+pkgrel=30
 arch=('i686' 'x86_64')
 install=system.install
 pkgdesc="Everything that makes LinHES an automated system"
@@ -18,7 +18,7 @@ binfiles="LinHES-start optimize_mythdb.py myth_mtc.py myth_mtc.sh
  lh_system_backup lh_system_backup_job lh_system_restore_job
  lh_system_host_update lh_system_all_host_update
  add_storage.py diskspace.sh cacheclean lh_backend_control.sh
- switch_web.sh create_media_dirs.sh msg_client.py msg_daemon.py
+ create_media_dirs.sh msg_client.py msg_daemon.py
  gen_is_xml.py gen_lib_xml.py gen_light_include.py gen_game_xml.py
  misc_recent_recordings.pl misc_status_config.py misc_status_info.sh
  misc_upcoming_recordings.pl misc_which_recorder.pl
@@ -98,7 +98,6 @@ md5sums=('5ee78704cab0e88ec58d1aab821fc1aa'
          '2c005d95312018bef80092136f80f254'
          '6519d209e151cdc39ae7e1091d189c3e'
          '8f474e019d5fcb775497aca355d61b0b'
-         '4a3cd8f9b33b2b86fdba47a8f1fa2859'
          '16f079dab35dde6efd55bf6cf4e2fb2f'
          '3e60b17892e5b8214d47dcfddf5215a4'
          '57ec994cc3964a10c00580e89ebcae35'
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
-
-
-- 
cgit v0.12