summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/MythVantage-system/load-modules-mythvantage.sh
diff options
context:
space:
mode:
Diffstat (limited to 'abs/mv-core/MythVantage-system/load-modules-mythvantage.sh')
-rwxr-xr-xabs/mv-core/MythVantage-system/load-modules-mythvantage.sh32
1 files changed, 0 insertions, 32 deletions
diff --git a/abs/mv-core/MythVantage-system/load-modules-mythvantage.sh b/abs/mv-core/MythVantage-system/load-modules-mythvantage.sh
deleted file mode 100755
index 8382a29..0000000
--- a/abs/mv-core/MythVantage-system/load-modules-mythvantage.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/bash
-#/usr/bin/load-modules-mythvantage.sh UNLOAD LCD
-. /etc/systemconfig
-
-case $1 in
-UNLOAD|unload )
- MODULELIST=`grep /etc/modules.mythvantage $2`
- for i in $MODULELIST
- do
- /sbin/rmmod $i
- done
-
- ;;
-
- *) echo "- Loading MythVantage-modules"
- #try to load the cx88 modules
- if [ ! x$SystemType = xFrontend_only ]
- then
- /sbin/modprobe cx88-dvb 2>/dev/null
- fi
-
- if [ -f /etc/modules.mythvantage ]
- then
- while read line
- do
- module=`echo $line |cut -d# -f1`
- /sbin/modprobe $module
-
- done < /etc/modules.mythvantage
- fi
-esac
-