summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/MythVantage-config
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-config
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-config')
-rw-r--r--abs/mv-core/MythVantage-config/.kdbgrc.mythinstall12
-rwxr-xr-xabs/mv-core/MythVantage-config/MythVantage.sh3
-rwxr-xr-xabs/mv-core/MythVantage-config/PKGBUILD112
-rwxr-xr-xabs/mv-core/MythVantage-config/add_service.sh15
-rwxr-xr-xabs/mv-core/MythVantage-config/autocard.py307
-rwxr-xr-xabs/mv-core/MythVantage-config/bpopup-ui.xml164
-rwxr-xr-xabs/mv-core/MythVantage-config/build_diskless.sh162
-rw-r--r--abs/mv-core/MythVantage-config/builddir1
-rwxr-xr-xabs/mv-core/MythVantage-config/checkout_MythVantage.sh49
-rwxr-xr-xabs/mv-core/MythVantage-config/copy-back.sh8
-rwxr-xr-xabs/mv-core/MythVantage-config/copy-to-mythbase.sh12
-rwxr-xr-xabs/mv-core/MythVantage-config/create_master.sh104
-rwxr-xr-xabs/mv-core/MythVantage-config/file_time_offset.py39
-rwxr-xr-xabs/mv-core/MythVantage-config/install-ui.xml175
-rwxr-xr-xabs/mv-core/MythVantage-config/install_db_chroot.sh51
-rwxr-xr-xabs/mv-core/MythVantage-config/install_functions.sh344
-rwxr-xr-xabs/mv-core/MythVantage-config/install_proxy.sh234
-rw-r--r--abs/mv-core/MythVantage-config/issue1
-rwxr-xr-xabs/mv-core/MythVantage-config/live-install.sh28
-rw-r--r--abs/mv-core/MythVantage-config/live.install57
-rwxr-xr-xabs/mv-core/MythVantage-config/mv_advanced.py384
-rwxr-xr-xabs/mv-core/MythVantage-config/mv_common.py201
-rwxr-xr-xabs/mv-core/MythVantage-config/mv_config.py14
-rwxr-xr-xabs/mv-core/MythVantage-config/mv_hostype.py230
-rwxr-xr-xabs/mv-core/MythVantage-config/mv_install.py1434
-rwxr-xr-xabs/mv-core/MythVantage-config/mv_ir.py330
-rwxr-xr-xabs/mv-core/MythVantage-config/mv_misc.py180
-rwxr-xr-xabs/mv-core/MythVantage-config/mv_network.py507
-rwxr-xr-xabs/mv-core/MythVantage-config/mv_screensaver.py199
-rwxr-xr-xabs/mv-core/MythVantage-config/mv_smolt.py59
-rwxr-xr-xabs/mv-core/MythVantage-config/mv_software.py41
-rwxr-xr-xabs/mv-core/MythVantage-config/mv_webuser.py21
-rw-r--r--abs/mv-core/MythVantage-config/myth_user_call172
-rwxr-xr-xabs/mv-core/MythVantage-config/myth_user_call.py159
-rw-r--r--abs/mv-core/MythVantage-config/mythvantage-release1
-rw-r--r--abs/mv-core/MythVantage-config/networkconfig.sh313
-rwxr-xr-xabs/mv-core/MythVantage-config/remove_service.sh8
-rwxr-xr-xabs/mv-core/MythVantage-config/restore_default_settings.sh362
-rwxr-xr-xabs/mv-core/MythVantage-config/soundconfig.sh254
-rwxr-xr-xabs/mv-core/MythVantage-config/startx29
-rwxr-xr-xabs/mv-core/MythVantage-config/systemconfig.py243
-rwxr-xr-xabs/mv-core/MythVantage-config/systemconfig.sh19
-rw-r--r--abs/mv-core/MythVantage-config/templates/LCD/Shuttle-SG33/LCDd.conf869
-rw-r--r--abs/mv-core/MythVantage-config/templates/LCD/Silverstone/LCDd.conf869
-rw-r--r--abs/mv-core/MythVantage-config/templates/LCD/Silverstone/modules1
-rw-r--r--abs/mv-core/MythVantage-config/templates/LCD/antec_fusion/LCDd.conf869
-rw-r--r--abs/mv-core/MythVantage-config/templates/LCD/antec_fusion/lircd.conf38
-rw-r--r--abs/mv-core/MythVantage-config/templates/LCD/antec_fusion/lircrc15
-rw-r--r--abs/mv-core/MythVantage-config/templates/LCD/antec_fusion/modules1
-rw-r--r--abs/mv-core/MythVantage-config/templates/LCD/xosd/LCDd.conf957
-rw-r--r--abs/mv-core/MythVantage-config/templates/audio/space_battle_A.wavbin3782844 -> 0 bytes
-rwxr-xr-xabs/mv-core/MythVantage-config/templates/cc.orig.sh35
-rwxr-xr-xabs/mv-core/MythVantage-config/templates/cc.sh5
-rwxr-xr-xabs/mv-core/MythVantage-config/templates/cc_vol.sh5
-rwxr-xr-xabs/mv-core/MythVantage-config/templates/change_chan.sh19
-rw-r--r--abs/mv-core/MythVantage-config/templates/cron.template4
-rw-r--r--abs/mv-core/MythVantage-config/templates/etcnet/eth/ipv4address2
-rw-r--r--abs/mv-core/MythVantage-config/templates/etcnet/eth/ipv4route2
-rw-r--r--abs/mv-core/MythVantage-config/templates/etcnet/eth/iwconfig2
-rw-r--r--abs/mv-core/MythVantage-config/templates/etcnet/eth/options7
-rw-r--r--abs/mv-core/MythVantage-config/templates/evrouter/MythVantage-40
-rw-r--r--abs/mv-core/MythVantage-config/templates/evrouter/MythVantage-80
-rw-r--r--abs/mv-core/MythVantage-config/templates/evrouter/MythVantage-Full0
-rw-r--r--abs/mv-core/MythVantage-config/templates/evrouter/MythVantage8-minipac3
-rw-r--r--abs/mv-core/MythVantage-config/templates/evrouter/MythVantage8-uhid3
-rw-r--r--abs/mv-core/MythVantage-config/templates/exports.template8
-rwxr-xr-xabs/mv-core/MythVantage-config/templates/fstab.conf.template16
-rw-r--r--abs/mv-core/MythVantage-config/templates/modules/lirc_i2c.conf2
-rw-r--r--abs/mv-core/MythVantage-config/templates/mysql.service13
-rwxr-xr-xabs/mv-core/MythVantage-config/templates/mysql.txt29
-rwxr-xr-xabs/mv-core/MythVantage-config/templates/ncid.conf.template51
-rw-r--r--abs/mv-core/MythVantage-config/templates/ncidd.conf.template143
-rwxr-xr-xabs/mv-core/MythVantage-config/templates/real_change_chan.sh19
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/ATI_wonder/lircd.ATI.conf357
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/ATI_wonder/lircrc-atiwonder.txt922
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/ATI_wonder/preview.jpgbin63480 -> 0 bytes
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/MX-500-jams/lircd.conf.MX-500-JAMS115
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/MX-500-jams/lircrc832
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/MX-500-jams/preview.jpgbin10473 -> 0 bytes
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/MythVantage-one/lircd.conf115
-rwxr-xr-xabs/mv-core/MythVantage-config/templates/remotes/MythVantage-one/lircrc857
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/MythVantage-one/preview.jpgbin88727 -> 0 bytes
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/RadioShack_15-2116-Jarod_Wilson/lircd-rs.conf87
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/RadioShack_15-2116-Jarod_Wilson/lircrc-rs539
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/RadioShack_15-2116-Jarod_Wilson/preview.jpgbin7504 -> 0 bytes
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/gr8zap/lircd.conf.streamzap69
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/gr8zap/lircrc472
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/gr8zap/preview.jpgbin83195 -> 0 bytes
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/hauppauge/lircd.conf.hauppauge274
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/hauppauge/lircmd.conf.hauppauge33
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/hauppauge/preview.jpgbin45763 -> 0 bytes
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/i2c.id5
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/imon-pad/lircd.conf88
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/imon-pad/lircrc240
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/imon-pad/preview.jpgbin33321 -> 0 bytes
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/mceusb/lircd-mceusb.conf88
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/mceusb/lircrc-mceusb393
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/mceusb/preview.jpgbin12551 -> 0 bytes
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/no_remote/preview.jpgbin3087 -> 0 bytes
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/one-for-juski/lircd.conf.juski59
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/one-for-juski/lircrc394
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/one-for-juski/preview.jpgbin17751 -> 0 bytes
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/receiver_usb.id33
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/snapstream_firefly/lircd.snapstrm.conf127
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/snapstream_firefly/lircrc-snapstrm.txt590
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/snapstream_firefly/preview.jpgbin63750 -> 0 bytes
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/streamzap/lircd.conf.streamzap69
-rwxr-xr-xabs/mv-core/MythVantage-config/templates/remotes/streamzap/lircrc832
-rw-r--r--abs/mv-core/MythVantage-config/templates/remotes/streamzap/preview.jpgbin83195 -> 0 bytes
-rwxr-xr-xabs/mv-core/MythVantage-config/templates/samba/smb.conf.home10
-rwxr-xr-xabs/mv-core/MythVantage-config/templates/samba/smb.conf.media10
-rw-r--r--abs/mv-core/MythVantage-config/templates/samba/smb.conf.template125
-rw-r--r--abs/mv-core/MythVantage-config/templates/settings/default_1/keybindings.txt209
-rw-r--r--abs/mv-core/MythVantage-config/templates/settings/default_1/settings.txt320
-rw-r--r--abs/mv-core/MythVantage-config/templates/settings/default_2/keybindings.txt209
-rw-r--r--abs/mv-core/MythVantage-config/templates/settings/default_2/settings.txt320
-rw-r--r--abs/mv-core/MythVantage-config/templates/sources/mv-core2
-rw-r--r--abs/mv-core/MythVantage-config/templates/sources/mv-core-testing2
-rw-r--r--abs/mv-core/MythVantage-config/templates/sources/mv-extra2
-rw-r--r--abs/mv-core/MythVantage-config/templates/sources/mv-extra-testing2
-rw-r--r--abs/mv-core/MythVantage-config/templates/sources/svc_pkg3
-rwxr-xr-xabs/mv-core/MythVantage-config/templates/transmit/Time_Warner_SA3250/lircd.conf413
-rw-r--r--abs/mv-core/MythVantage-config/templates/xine.config.template754
-rw-r--r--abs/mv-core/MythVantage-config/templates/xorg/96xx_supported.txt175
-rw-r--r--abs/mv-core/MythVantage-config/templates/xorg/modeline.ATSC33
-rw-r--r--abs/mv-core/MythVantage-config/templates/xorg/modeline.DVD9
-rw-r--r--abs/mv-core/MythVantage-config/templates/xorg/modeline.NTSC10
-rw-r--r--abs/mv-core/MythVantage-config/templates/xorg/modeline.VESA163
-rw-r--r--abs/mv-core/MythVantage-config/templates/xorg/modeline.custom1
-rw-r--r--abs/mv-core/MythVantage-config/templates/xorg/xorg.conf.ati98
-rw-r--r--abs/mv-core/MythVantage-config/templates/xorg/xorg.conf.intel152
-rwxr-xr-xabs/mv-core/MythVantage-config/templates/xorg/xorg.conf.nvidia93
-rwxr-xr-xabs/mv-core/MythVantage-config/templates/xorg/xorg.conf.vesa75
-rw-r--r--abs/mv-core/MythVantage-config/templates/xorg/xorg.conf.via80
-rwxr-xr-xabs/mv-core/MythVantage-config/templates/xorg/xorg.conf.vmware75
-rwxr-xr-xabs/mv-core/MythVantage-config/timezip.py232
-rwxr-xr-xabs/mv-core/MythVantage-config/timezone.binbin806343 -> 0 bytes
-rwxr-xr-xabs/mv-core/MythVantage-config/xconfig.sh363
138 files changed, 0 insertions, 22555 deletions
diff --git a/abs/mv-core/MythVantage-config/.kdbgrc.mythinstall b/abs/mv-core/MythVantage-config/.kdbgrc.mythinstall
deleted file mode 100644
index fed082f..0000000
--- a/abs/mv-core/MythVantage-config/.kdbgrc.mythinstall
+++ /dev/null
@@ -1,12 +0,0 @@
-[General]
-DebuggerCmdStr=
-DriverName=GDB
-FileVersion=1
-OptionsSelected=
-ProgramArgs=
-TTYLevel=7
-WorkingDirectory=
-
-[Memory]
-ColumnWidths=80,0
-NumExprs=0
diff --git a/abs/mv-core/MythVantage-config/MythVantage.sh b/abs/mv-core/MythVantage-config/MythVantage.sh
deleted file mode 100755
index 286c908..0000000
--- a/abs/mv-core/MythVantage-config/MythVantage.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-export MV_ROOT=/usr/MythVantage
-export PATH=$PATH:$MV_ROOT/bin
-export TEMPLATES=$MV_ROOT/templates
diff --git a/abs/mv-core/MythVantage-config/PKGBUILD b/abs/mv-core/MythVantage-config/PKGBUILD
deleted file mode 100755
index 18a8467..0000000
--- a/abs/mv-core/MythVantage-config/PKGBUILD
+++ /dev/null
@@ -1,112 +0,0 @@
-pkgname=MythVantage-config
-pkgver=3.2
-pkgrel=171
-pkgdesc="The Gui-installer"
-
-depends=(bc libstatgrab mysql-python expect curl dnsutils parted
- sg3_utils nmbscan system-templates rsync python-parted
- ddcxinfo python-pexpect python-netifaces python-iplib mythinstall)
-
-arch=('i686')
-
-source=(mythinstall.bin
- install-ui.xml
- bpopup-ui.xml
- mythbeselect.bin
- install_proxy.sh
- install_functions.sh
- startx systemconfig.sh
- install_db_chroot.sh
- restore_default_settings.sh
- live-install.sh
- xconfig.sh
- timezip.py
- soundconfig.sh
- mythvantage-release
- issue autocard.py
- MythVantage.sh
- create_master.sh
- build_diskless.sh
- networkconfig.sh
- myth_user_call
- mv_advanced.py
- mv_common.py
- mv_config.py
- mv_ir.py
- mv_misc.py
- mv_network.py
- mv_screensaver.py
- mv_smolt.py
- mv_software.py
- mv_webuser.py
- mv_hostype.py
- systemconfig.py
- myth_user_call.py
- mv_install.py)
-
-install=live.install
-
-build() {
- mkdir -p $startdir/pkg/etc
- mkdir -p $startdir/pkg/usr/share/mythtv/themes/default
- MVDIR=$startdir/pkg/usr/MythVantage
- mkdir $startdir/pkg/etc/profile.d
- install -m 0755 MythVantage.sh $startdir/pkg/etc/profile.d/MythVantage.sh
- mkdir -p $startdir/pkg/root/
-
-
- mkdir -p $MVDIR/bin
- mkdir -p $MVDIR/templates
- mkdir -p $MVDIR/etc
-#copy in all the installer specific stuff
- rsync -r --exclude=.svn ../templates $MVDIR/
- install -m0700 myth_user_call $MVDIR/bin/myth_user_call
- install -m 0755 install_proxy.sh $MVDIR/bin/install_proxy.sh
- install -m 0755 install_functions.sh $MVDIR/bin/install_functions.sh
- install -m 0755 systemconfig.sh $MVDIR/bin/systemconfig.sh
- install -m 0755 xconfig.sh $MVDIR/bin/xconfig.sh
- # install -m 0755 startx $MVDIR/bin/startx
- install -m 0755 live-install.sh $MVDIR/bin/live-install.sh
- install -m 0755 install_db_chroot.sh $MVDIR/bin/install_db_chroot.sh
- install -m 0755 restore_default_settings.sh $MVDIR/bin/restore_default_settings.sh
- install -m 0755 timezip.py $MVDIR/bin/timezip.py
- install -m 0755 autocard.py $MVDIR/bin/autocard.py
- install -m 0755 soundconfig.sh $MVDIR/bin/soundconfig.sh
- install -m 0755 networkconfig.sh $MVDIR/bin/networkconfig.sh
- install -m 0755 create_master.sh $MVDIR/bin/create_master.sh
- install -m 0755 build_diskless.sh $MVDIR/bin/build_diskless.sh
- install -m 0755 timezip.py $MVDIR/bin/timezip.py
- install -m 0755 autocard.py $MVDIR/bin/autocard.py
- install -m 0755 mv_config.py $MVDIR/bin/mv_config.py
- install -m 0755 mv_install.py $MVDIR/bin/mv_install.py
- install -m 0755 mv_advanced.py $MVDIR/bin/
- install -m 0755 mv_common.py $MVDIR/bin/
- install -m 0755 mv_ir.py $MVDIR/bin/
- install -m 0755 mv_misc.py $MVDIR/bin/
- install -m 0755 mv_network.py $MVDIR/bin/
- install -m 0755 mv_screensaver.py $MVDIR/bin/
- install -m 0755 mv_smolt.py $MVDIR/bin/
- install -m 0755 mv_software.py $MVDIR/bin/
- install -m 0755 mv_webuser.py $MVDIR/bin/
- install -m 0755 mv_hostype.py $MVDIR/bin/
- install -m 0755 systemconfig.py $MVDIR/bin/
-
- #copy in the branding stuff
- install -m 0755 mythvantage-release $startdir/pkg/etc/mythvantage-release
-
- install -m 0755 issue $startdir/pkg/etc/issue
-
-# copy over the ui files
- install -m 0755 install-ui.xml $startdir/pkg/usr/share/mythtv/themes/default/
- install -m 0755 bpopup-ui.xml $startdir/pkg/usr/share/mythtv/themes/default/
-#copy in the binaries
- install -g mythtv -m 4750 mythinstall.bin $MVDIR/bin/MythVantage
- cd $MVDIR/bin
- ln -s MythVantage mythvantage
- ln -s MythVantage mythinstall
- cd -
- install -g mythtv -m 4750 mythbeselect.bin $MVDIR/bin/mythbeselect
- install -m 0755 startx $startdir/pkg/root/startx
- install -m 0755 live-install.sh $startdir/pkg/root/live-install.sh
-}
-
diff --git a/abs/mv-core/MythVantage-config/add_service.sh b/abs/mv-core/MythVantage-config/add_service.sh
deleted file mode 100755
index 190d604..0000000
--- a/abs/mv-core/MythVantage-config/add_service.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/bash
-SERVICE_DIR=/var/service
-SCRIPT_DIR=/etc/sv
-if [ -d $SCRIPT_DIR/$1 ]
-then
- if [ -d $SERVICE_DIR/$1 ]
- then
- echo "$1 already there"
- else
- ln -s $SCRIPT_DIR/$1 $SERVICE_DIR/$1
- echo "adding $1"
- fi
-else
- echo "couldn't find $SCRIPT_DIR/$1"
-fi
diff --git a/abs/mv-core/MythVantage-config/autocard.py b/abs/mv-core/MythVantage-config/autocard.py
deleted file mode 100755
index 03eecac..0000000
--- a/abs/mv-core/MythVantage-config/autocard.py
+++ /dev/null
@@ -1,307 +0,0 @@
-#!/usr/bin/python
-# import MySQL module
-#jm
-import MySQLdb
-import sys
-import getopt
-import socket
-import os
-import time
-import string
-import glob
-from string import letters
-from string import digits
-def INSERTNULL_SOURCE(name,xmltvgrabber,userid,freqtable,lineupid,password,useeit):
- cursor = db.cursor()
- cursor.execute("INSERT INTO videosource(name,xmltvgrabber,userid,freqtable,lineupid,password,useeit) VALUES(%s,%s,%s,%s,%s,%s,%s);",(name,xmltvgrabber,userid,freqtable,lineupid,password,useeit))
-
-def INSERTCARD_INTOMYTH(Device,Driver,Cardvendor):
- global currenthostname
- print Device
- print Driver,
- print Cardvendor
- cursor = db.cursor()
- insert = "false"
- if Driver == "ivtv" :
- cardtype="MPEG"
- defaultinput="Tuner 1"
- insert="true"
- if Cardvendor == "pcHDTV HD3000 HDTV":
- insert="false"
- cardtype ="whocares"
-
- #print insert
- if insert == "true" :
- cursor.execute("INSERT INTO capturecard (videodevice,cardtype,defaultinput,hostname) VALUES(%s,%s,%s,%s);",(Device,cardtype,defaultinput,currenthostname))
-
-def INSERTHDR_INTOMYTH(deviceid,tuner_number):
- cardtype='HDHOMERUN'
- defaultinput='MPEG2TS'
- global currenthostname
- print deviceid
- print cardtype
- print defaultinput
- print tuner_number
- cursor = db.cursor()
- #print insert
- cursor.execute("INSERT INTO capturecard (videodevice,cardtype,defaultinput,dbox2_port ,hostname) VALUES(%s,%s,%s,%s,%s);",(deviceid,cardtype,defaultinput,tuner_number,currenthostname))
-
-def INSERTAUTOCARD():
- global cardlist
- global currenthostname
- # create a cursor
- cursor = db.cursor()
-
-
- for i in range( 1 , len(cardlist)):
- insert = "false"
-# print cardlist[i]
- Device=cardlist[i][0]
- Driver=cardlist[i][1]
- Cardvendor=cardlist[i][2]
- Businfo=cardlist[i][3]
- if Driver == "ivtv" :
- insert="true"
- devicestatus="unused"
- if Cardvendor == "pcHDTV HD3000 HDTV":
- insert="false"
- cardtype ="whocares"
- if Driver == "hdr":
- insert="true"
- devicestatus="unused"
-
- if insert == "true" :
- cursor.execute("delete from autocard where uniqid=%s;",(Businfo))
- if Driver=="hdr":
- Cardvendor="HDHOMERUN Tuner 1"
- cursor.execute("INSERT INTO autocard (dev,driver,description,uniqid,devicestatus,hostname) VALUES(%s,%s,%s,%s,%s,%s);",(Device,Driver,Cardvendor,Businfo,devicestatus,currenthostname))
- Cardvendor="HDHOMERUN Tuner 2"
- cursor.execute("INSERT INTO autocard (dev,driver,description,uniqid,devicestatus,hostname) VALUES(%s,%s,%s,%s,%s,%s);",(Device,Driver,Cardvendor,Businfo,devicestatus,currenthostname))
-
- else:
- cursor.execute("INSERT INTO autocard (dev,driver,description,uniqid,devicestatus,hostname) VALUES(%s,%s,%s,%s,%s,%s);",(Device,Driver,Cardvendor,Businfo,devicestatus,currenthostname))
-
-
-
-def PRINTINFO():
- global cardlist
-
- for list in cardlist:
- if list != "_placeholder_":
- print list
- #print "-------------"
-
-def GATHER_HDR():
- global cardlist
- command="/usr/bin/hdhomerun_config --discover"
- results=os.popen(command,'r')
- line=results.readline()
- if line.strip().split()[0] == "no":
- print "HDHOMERUN not detected"
- else:
- print line
- hdrdevice=line.strip().split()[2]
- print hdrdevice
- Driver="hdr"
- Device=hdrdevice
- Cardtype="HDHOMERUN"
- Businfo=hdrdevice
- cardprops = [Device,Driver , Cardtype , Businfo]
- cardlist.append(cardprops)
-
-
-def GATHER_v4l_CARDS():
- global cardlist
- cardlist=["_placeholder_"]
- # print "Looking for v4l cards"
- try:
- filelist = os.listdir('/dev/v4l/')
- except OSError:
- filelist=" "
- #fakelist=['/dev/v4l/video3', 'ivtv', 'WinTV PVR 500 (unit #2)', '0000:04:09.0']
- #cardlist.append(fakelist)
- try:
- filelist = glob.glob("/dev/v4l/video?")
- Driver=""
- Cardtype=""
- Businfo=""
- numcards = 0
- for Device in filelist:
- #print card
- numcards = numcards+1
- cmd = 'v4l2-ctl -D -d' + Device
- for line in os.popen(cmd).readlines():
- #print line
- pos = string.find(line,"Driver name")
- if pos >=0:
- splitline= line.split(':')
- Driver=splitline[1].strip()
- pos = string.find(line,"Card type")
- if pos >=0:
- splitline= line.split(':')
- Cardtype=splitline[1].strip()
-
- pos = string.find(line,"Bus info")
- if pos >=0:
- splitline= line.split(':',1)
- Businfo=splitline[1].strip()
-
- #print Device,Driver , Cardtype , Businfo,numcards
- cardprops = [Device,Driver , Cardtype , Businfo]
- cardlist.append(cardprops)
- except IOError:
- print "no v4l cards found"
- sys.exit(2)
-
-
-def WRITEUDEV_IVTV():
- global insertmyth
- cursor = db.cursor()
- #add ivtv,cid lookup loop through until empty.
- cursor.execute("select distinct(uniqid) from autocard where driver='ivtv' and devicestatus='will-add'")
- cidrows = cursor.fetchall()
- for row in cidrows:
- cid=row[0]
- cursor.execute("select dev,driver,description,devicestatus,hostname from autocard where uniqid=%s limit 1;",(cid))
- result = cursor.fetchone()
- description=result[2]
- driver='DRIVERS==\"ivtv\"'
- ATTRNAME='ATTR{name}=="ivtv? encoder MPG"'
- KERNELS='KERNELS==\"'
- KERNELS+=cid
- KERNELS+="\""
- #filter out non digit or chars
- keep=letters.join(digits)
- description=filter(lambda c: c in keep, description)
- devnode="ivtv/"
- #devnode+=description + "_"
- udevcid=cid.partition(":")
- devnode+=udevcid[2]
- devnode+="_video"
- UDEV_RULE=driver +', '+ATTRNAME+', '+ KERNELS +', ' + 'NAME=\"' + devnode + '"'
- print "Here is the udev rule"
- print UDEV_RULE
- filename='/etc/udev/rules.d/11-ivtv-'+cid+'.rules'
- file = open(filename,'w')
- file.write(UDEV_RULE)
- if ( insertmyth == "true"):
- devnode="/dev/"+devnode
- INSERTCARD_INTOMYTH(devnode,"ivtv",description)
- cursor.execute("update autocard set devicestatus='done' where uniqid=%s;",(cid))
-#now insert HDR
- cursor.execute("select distinct(uniqid),description from autocard where driver='hdr' and devicestatus='will-add'")
- cidrows = cursor.fetchall()
- for row in cidrows:
- if ( insertmyth == "true"):
- deviceid=row[0]
- #cardtype="HDHOMRUN"
- #defaultinput="MPEG2TS"
- dbox2_port=row[1]
- tuner_number=dbox2_port.rpartition(' ')[2]
- INSERTHDR_INTOMYTH(deviceid,tuner_number)
- cursor.execute("update autocard set devicestatus='done' where uniqid=%s and description=%s;",(deviceid,dbox2_port))
-
-
-
-def CLEARAUTOCARD():
- cursor = db.cursor()
- cursor.execute("delete from autocard")
-
-def RELOADUDEV():
- print "relaoding udev rules"
- os.system('udevcontrol reload_rules')
- os.system('rmmod ivtv')
- os.system('udevtrigger')
-
-
-def usage():
- print " -h help"
- print " -g gather and print out the found cards"
- print " -w write out the udev rules"
- print " -i insert cards into myth that are marked will-add(only used with -w)"
- print " -r reload udev rules"
- print " -c clear the autocard db"
-
-def main(argv):
- global db
- global cardlist
- global currenthostname
- currenthostname=""
- writeudev="false"
- global insertmyth
- insertmyth ="false"
-
- db = MySQLdb.connect(host="localhost", user="mythtv", passwd="mythtv", db="mythconverg")
- try:
- cursor = db.cursor()
- cursor.execute("describe autocard;")
- except MySQLdb.Error, e:
- cursor.execute("create table autocard(dev varchar(50),driver varchar(50),description varchar(50),uniqid varchar(50), devicestatus varchar(50),hostname varchar(50));")
- print "table created"
-
- if ( currenthostname == "" ):
- currenthostname = socket.gethostname()
-
-
- try:
- opts, args = getopt.getopt(argv, "hgwircd", ["help", "gathercards", "writeudev" ,"insert" , "reloadudev" , "clearautocard"] )
- except getopt.GetoptError:
- sys.exit(2)
- for opt, arg in opts:
- if opt in ("-h", "--help"):
- usage()
- sys.exit()
- elif opt in ( "-g" , "--gathercards"):
- GATHER_v4l_CARDS()
- GATHER_HDR()
- INSERTAUTOCARD()
- PRINTINFO()
- elif opt in ("-w", "--writeudev"):
- writeudev="true"
- elif opt in ("-i", "--insert"):
- insertmyth="true"
- elif opt in ( "-r" , "--reloadudev"):
- RELOADUDEV()
- elif opt in ( "-c" , "--clearautocard"):
- CLEARAUTOCARD()
- elif opt in ( "-d" ):
- INSERTCARD_INTOMYTH("file:/myth/video/TripThe1939.mpeg","ivtv","Dummy tuner")
- INSERTNULL_SOURCE("dummy","/bin/true","","default","NULL","NULL","0")
-
- if ( writeudev == "true"):
- WRITEUDEV_IVTV()
-
-
-
-
-
-
-if __name__ == "__main__":
- main(sys.argv[1:])
-
-
-
-
-
-#mysql> create table autocard(dev varchar(50),driver varchar(50),description varchar(50),uniqid varchar(50), devicestatus varchar(50),hostname varchar(50));
-#Query OK, 0 rows affected (0.14 sec)
-
-#mysql> describe autocard;
-#+--------------+-------------+------+-----+---------+-------+
-#| Field | Type | Null | Key | Default | Extra |
-#+--------------+-------------+------+-----+---------+-------+
-#| dev | varchar(50) | YES | | NULL | |
-#| driver | varchar(50) | YES | | NULL | |
-#| description | varchar(50) | YES | | NULL | |
-#| uniqid | varchar(50) | YES | | NULL | |
-#| devicestatus | varchar(50) | YES | | NULL | |
-#| hostname | varchar(50) | YES | | NULL | |
-#+--------------+-------------+------+-----+---------+-------+
-
-
-
-
-
-
-
-
diff --git a/abs/mv-core/MythVantage-config/bpopup-ui.xml b/abs/mv-core/MythVantage-config/bpopup-ui.xml
deleted file mode 100755
index df0598b..0000000
--- a/abs/mv-core/MythVantage-config/bpopup-ui.xml
+++ /dev/null
@@ -1,164 +0,0 @@
-<!--
-
- This is a myth style theme file for mythwelcome
-
- (c) 2005 by a whole bunch of people associated with MythTV
-
--->
-<mythuitheme>
-
- <window name="welcome_screen">
-
- <!--
-
- First, define all the fonts we need on this screen
-
- -->
- <font name="title" face="Arial">
- <color>#ffff00</color>
- <dropcolor>#000000</dropcolor>
- <size>24</size>
- <shadow>3,3</shadow>
- <bold>yes</bold>
- </font>
-
- <font name="time" face="Arial">
- <color>#9999cc</color>
- <size>18</size>
- <bold>yes</bold>
- </font>
-
- <font name="label" face="Arial">
- <color>#ffff00</color>
- <dropcolor>#000000</dropcolor>
- <size>18</size>
- <shadow>3,3</shadow>
- <bold>yes</bold>
- </font>
-
- <font name="info" face="Arial">
- <color>#ffffff</color>
- <size>18</size>
- <bold>yes</bold>
- </font>
-
- <font name="biginfo" face="Arial">
- <color>#ffffff</color>
- <size>50</size>
- <bold>yes</bold>
- </font>
- <font name="warning" face="Arial">
- <color>#ff0000</color>
- <dropcolor>#000000</dropcolor>
- <size>16</size>
- <shadow>2,2</shadow>
- <bold>yes</bold>
- </font>
-
- <font name="buttons" face="Arial">
- <color>#ffff00</color>
- <size>14</size>
- <bold>yes</bold>
- </font>
-
- <container name="main_display">
- <area>0,0,800,600</area>
-
- <textarea name="title" draworder="0" align="center">
- <multiline>no</multiline>
- <font>title</font>
- <area>50,40,700,40</area>
- <value></value>
- </textarea>
-
- <!--
- time
- -->
- <textarea name="time_text" draworder="0" align="right">
- <multiline>no</multiline>
- <font>time</font>
- <area>660,520,110,30</area>
- <value></value>
- </textarea>
-
- <textarea name="date_text" draworder="0" align="center">
- <multiline>no</multiline>
- <font>time</font>
- <area>0,60,800,70</area>
- <value></value>
- </textarea>
-
- <!--
- current myth status
- -->
-
- <textarea name="status_text" draworder="1" align="center">
- <multiline>yes</multiline>
- <font>info</font>
- <area>20,70,760,60</area>
- <value>MythTV is idle and will shutdown shortly.</value>
- </textarea>
-
- <!--
- current recordings status
- -->
-
- <textarea name="recording_label" draworder="1" align="center">
- <font>label</font>
- <area>20,110,760,30</area>
- <!--<value>Percent Complete </value>-->
- <value></value>
- </textarea>
-
- <textarea name="recording_text" draworder="1" align="hcenter">
- <multiline>yes</multiline>
- <font>biginfo</font>
- <area>20,110,760,150</area>
- <value></value>
- </textarea>
-
- <!--
- next scheduled recording status
- -->
-
- <textarea name="scheduled_label" draworder="1" align="center">
- <font>label</font>
- <area>20,320,760,30</area>
- <value></value>
- </textarea>
-
- <textarea name="scheduled_text" draworder="1" align="hcenter">
- <multiline>yes</multiline>
- <font>biginfo</font>
- <area>20,400,760,120</area>
- <value></value>
- </textarea>
-
- <!--
- scheduled recordings conflict warning
- -->
-
- <textarea name="conflicts_text" draworder="1" align="center">
- <font>warning</font>
- <area>20,490,760,30</area>
- <value>WARNING: There are conflicting scheduled recordings!</value>
- </textarea>
-
- <!--
- start frontend button
-
- <textbutton name="startfrontend_button" draworder="1">
- <position>81,535</position>
- <font>buttons</font>
- <image function="on" filename="mw_text_button_on.png"></image>
- <image function="off" filename="mw_text_button_off.png"></image>
- <image function="pushed" filename="mw_text_button_pushed.png"></image>
- </textbutton>
-
- -->
-
- </container>
-
- </window>
-
-</mythuitheme>
diff --git a/abs/mv-core/MythVantage-config/build_diskless.sh b/abs/mv-core/MythVantage-config/build_diskless.sh
deleted file mode 100755
index c6cce57..0000000
--- a/abs/mv-core/MythVantage-config/build_diskless.sh
+++ /dev/null
@@ -1,162 +0,0 @@
-#!/bin/bash
-#CD=/mnt/cd
-. /etc/profile
-. /etc/systemconfig
-current_hostname=`hostname`
-echo $@ > /tmp/diskless_build.call
-TFTP=/data/srv/tftp
-CD=/data/srv/tftp/live
-DESTCD=/data/srv/tftp/CD
-BASE=/data/srv/tftp/masterbuild
-
-MODULES=$DESTCD/MythVantage/base/
-#only supports eth0 at this point
-myip=`ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}'|head -n1`
-SRCFILES=$BASE/.livesys/medium
-
-function log () {
-echo $1
-}
-
-function check_xvfb () {
-export DISPLAY=127.0.0.1:25
- Xvfb -ac :25 &
-
-}
-
-
-function create_base_image() {
-echo $SRCFILES
-if [ -f $SRCFILES/system.sqf ]
-then
- mkdir $HOST_IMG_DIR
- cd $SRCFILES
- echo "Creating image..." > $BASE/tmp/.install_state
- echo "Transferring system"
- unsquashfs -i -f -d \/$HOST_IMG_DIR $DESTCD/system.sqf
-
- for i in sys proc dev tmp
- do
- mkdir /$HOST_IMG_DIR/$i
- done
-
- chmod 777 /$HOST_IMG_DIR/tmp
- mknod /$HOST_IMG_DIR/dev/null c 1 3
- mknod /$HOST_IMG_DIR/dev/null c 1 5
- mknod /$HOST_IMG_DIR/dev/console c 5 1
- chmod +s /$HOST_IMG_DIR/usr/bin/Xorg
- chmod +s /$HOST_IMG_DIR/usr/bin/crontab
- chmod +s /$HOST_IMG_DIR/usr/bin/sudo
- chmod +s /$HOST_IMG_DIR/bin/mount
- echo "configuring boot" > $BASE/tmp/.install_state
- sed -ie 's/^MODULES=.*$/MODULES="nfs"/g' $HOST_IMG_DIR/etc/mkinitcpio.conf
- sed -ie 's/^HOOKS=.*$/HOOKS="base net udev autodetect pata scsi sata filesystems"/g' $HOST_IMG_DIR/etc/mkinitcpio.conf
- #chroot $DEST mkinitcpio -p kernel26
- #copy fstab from masterbuild
- cp -f $BASE/etc/fstab /$HOST_IMG_DIR/etc/fstab
- echo "Done: installing data" > $BASE/tmp/.install_state
- return 0
-else
- echo "Error: no modules" > $BASE/tmp/.install_state
- log "couldn't find modules to install"
- return 1
-fi
-}
-
-function configure_image () {
- echo "Configuring system" > $BASE/tmp/.install_state
- cp -f $BASE/etc/systemconfig $HOST_IMG_DIR/etc/systemconfig
- chown root:mythtv $HOST_IMG_DIR/etc/systemconfig
- chmod 775 "$HOST_IMG_DIR" /etc/systemconfig
- cp /etc/mtab $HOST_IMG_DIR/etc/mtab
- mount --bind /dev $HOST_IMG_DIR/dev
-# mount --bind /dev/pts $HOST_IMG_DIR/dev/pts
- mount --bind /proc $HOST_IMG_DIR/proc
- mount --bind /sys $HOST_IMG_DIR/sys
-
- chroot "$HOST_IMG_DIR" $MV_ROOT/bin/systemconfig.sh misc,hostype,network,this_is_install,NETINSTALL
-#copy syssettings template to here.
- SE=$BASE$TEMPLATES/settings/syssettings
- mkdir -p $HOST_IMG_DIR/$TEMPLATES/settings/syssettings
- cp -rp $SE/* ${HOST_IMG_DIR}/$TEMPLATES/settings/syssettings
- chown root:mythtv $HOST_IMG_DIR/etc/systemconfig
- chown -R mythtv:mythtv $HOST_IMG_DIR/$TEMPLATES/settings/syssettings
- chmod -R 775 $HOST_IMG_DIR/$TEMPLATES/settings/syssettings
-#update remotedb with this host settings
- OLDDISPLAY=$DISPLAY
- check_xvfb
- echo "Running MythVantage to restore settings"
- DISPLAY=$DISPLAY HOME=/root chroot $HOST_IMG_DIR $MV_ROOT/bin/MythVantage -t restore,default_1
- chroot $HOST_IMG_DIR $MV_ROOT/bin/restore_default_settings.sh -c restore -t syssettings
- if [ ! $? = 0 ]
- then
- touch $mountpoint/tmp/.dbsysfailed
- chmod 777 $mountpoint/tmp/.dbsysfailed
- else
- #Run second time
- chroot "$HOST_IMG_DIR" $MV_ROOT/bin/systemconfig.sh misc,hostype,network,this_is_install,NETINSTALL
- chroot "$HOST_IMG_DIR" $MV_ROOT/bin/restore_default_settings.sh -c ACCESSCONTROL
- fi
-chroot "$HOST_IMG_DIR" $MV_ROOT/bin/systemconfig.sh advanced,this_is_install,NETINSTALL
-cp -f $BASE/etc/X11/xorg.conf $HOST_IMG_DIR/etc/X11/xorg.conf
-echo "Done" > $BASE/tmp/.install_state
-DISPLAY=$OLDDISPLAY
-#umount $HOST_IMG_DIR/dev/pts
-umount $HOST_IMG_DIR/dev
-#umount $HOST_IMG_DIR/dev/pts
-#umount $HOST_IMG_DIR/dev
-umount $HOST_IMG_DIR/proc
-umount $HOST_IMG_DIR/sys
-#umount $HOST_IMG_DIR/sys
-
-#cp /tmp/mythvantage_install.log $HOST_IMG_DIR/var/log/
-}
-
-function create_tftp_boot () {
-
- CFGFILE=$TFTP/pxelinux.cfg/01-$2
- echo "DEFAULT mythfe" > $CFGFILE
- echo "LABEL mythfe" >> $CFGFILE
- echo "kernel masterbuild/boot/vmlinuz26" >> $CFGFILE
- echo "append vga=normal root=/dev/nfs rw netboot nfsroot=$myip:/data/srv/tftp/$1 ip=dhcp init=/sbin/runit initrd=masterbuild/boot/kernel26.img" >> $CFGFILE
- echo "TIMEOUT 2" >> $CFGFILE
-}
-
-function create_nfs_export () {
-grep -q "/data/srv/tftp/$1" /etc/exports
-status=$?
-if [ ! $status = 0 ]
-then
- echo "adding $1 to nfs exports"
- echo "/data/srv/tftp/$1 *(rw,no_root_squash,anonuid=1000,anongid=1000) " >> /etc/exports
- exportfs -arv
-fi
-
-}
-
-#-------------------------------------------------------------------------------MAIN PROGRAM ---------------------------------------------------------------------
-if [ x$1 = x -o x$2 = x ]
-then
- echo "usage: hostname macaddress"
- echo "example: Love 00-0C-29-E6-8A-A9"
- exit 1
-fi
-
-image_name=$1
-mac_address=`echo $2| tr "[:upper:]" "[:lower:]"`
-
-echo "using image_name of $image_name"
-echo "using mac_address of $mac_address"
-
-HOST_IMG_DIR=$TFTP/$1
-
-create_base_image $image_name
-configure_image
-hostname $current_hostname
-umount $HOST_IMG_DIR/dev
-create_tftp_boot $image_name $mac_address
-create_nfs_export $image_name
-
-echo "Finshed!"
-#create_dhcp_entry $mac_address
-
diff --git a/abs/mv-core/MythVantage-config/builddir b/abs/mv-core/MythVantage-config/builddir
deleted file mode 100644
index 7f0bd78..0000000
--- a/abs/mv-core/MythVantage-config/builddir
+++ /dev/null
@@ -1 +0,0 @@
-cd ../../multimedia/mythsvn/mythtv/mythtv-svn/src/mythtv/programs/mythinstall
diff --git a/abs/mv-core/MythVantage-config/checkout_MythVantage.sh b/abs/mv-core/MythVantage-config/checkout_MythVantage.sh
deleted file mode 100755
index 9fbab15..0000000
--- a/abs/mv-core/MythVantage-config/checkout_MythVantage.sh
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/bin/bash
-MYDIR=`pwd`
-MYTHPATH="\/data\/LinHES-PKGBUILD\/abs\/core-testing\/mythtv\/stable\/mythtv\/src\/mythtv-0.21"
-MYTHPATH="\/data\/LinHES-PKGBUILD\/abs\/mv-core\/myth\/stable\/mythtv-release-fixes\/src\/mythtv"
-
-function setup_links {
-rm mythinstall.bin
-rm mythbeselect.bin
-ln -s $MYDIR/src/MythVantage-app/mythinstall/mythinstall ./mythinstall.bin
-ln -s $MYDIR/src/MythVantage-app/mythbeselect/mythbeselect ./mythbeselect.bin
-}
-
-function dl_repo {
-mkdir src
-cd src
-if [ ! -d MythVantage-app ]
-then
- git clone http://mythvantage.com/MythVantage-app.git/
- cd MythVantage-app
- git checkout --track -b LinHES origin/LinHES
- cd $MYDIR
- setup_links
- cd -
-else
- echo "updating exisiting tree"
- cd MythVantage-app
- git pull
- git checkout master
- git merge
- cd -
-fi
-
-cd MythVantage-app
-git checkout master
-#git checkout origin/LinHES
-
-}
-
-dl_repo
-sed -i "s/^MYTHPATH.*$/MYTHPATH\=\"$MYTHPATH\"/g" $MYDIR/src/MythVantage-app/mythinstall/mythinstall.pro
-sed -i "s/^MYTHPATH.*$/MYTHPATH\=\"$MYTHPATH\"/g" $MYDIR/src/MythVantage-app/mythbeselect/mythberestart.pro
-sed -i "s/\/\/#define __MVAPP__/#define __MVAPP__/g" $MYDIR/src/MythVantage-app/mythinstall/mv_common.h
-sed -i "s/LinHES/mythvantage/g" $MYDIR/src/MythVantage-app/mythinstall/mv_common.h
-
-cd $MYDIR/src/MythVantage-app/mythinstall && qmake
-make || exit 1
-cd $MYDIR/src/MythVantage-app/mythbeselect && qmake
-make ||exit 1
-
diff --git a/abs/mv-core/MythVantage-config/copy-back.sh b/abs/mv-core/MythVantage-config/copy-back.sh
deleted file mode 100755
index 1c92d89..0000000
--- a/abs/mv-core/MythVantage-config/copy-back.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash
-DATADIR="../../../local/multimedia/mythtv/trunk/mythtv-svn/src/mythtv/programs/"
-PRGDIR="../../../../../../../system/live-installer/"
-#cd $DATADIR
-#ln -s $PRGDIR/mythinstall-src mythinstall
-#cd -
-cp -rp $DATADIR/mythinstall/* mythinstall-src/
-cp -rp $DATADIR/mythbeselect/* mythbeselect-src
diff --git a/abs/mv-core/MythVantage-config/copy-to-mythbase.sh b/abs/mv-core/MythVantage-config/copy-to-mythbase.sh
deleted file mode 100755
index a0d2ad0..0000000
--- a/abs/mv-core/MythVantage-config/copy-to-mythbase.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/bash
-#DATADIR="../../multimedia/mythtv/trunk/mythtv-svn/src/mythtv/programs"
-DATADIR="../../multimedia/mythtv/release_fixes/mythtv-release-fixes/src/mythtv/programs"
-mkdir $DATADIR/mythinstall
-mkdir $DATADIR/mythbeselect
-rm mythinstall.bin
-rm mythbeselect.bin
-ln -n `pwd`/mythinstall/* $DATADIR/mythinstall
-ln -n `pwd`/mythbeselect/* $DATADIR/mythbeselect
-
-ln -s $DATADIR/mythbeselect/mythbeselect ./mythbeselect.bin
-ln -s $DATADIR/mythinstall/mythinstall ./mythinstall.bin
diff --git a/abs/mv-core/MythVantage-config/create_master.sh b/abs/mv-core/MythVantage-config/create_master.sh
deleted file mode 100755
index b7b7648..0000000
--- a/abs/mv-core/MythVantage-config/create_master.sh
+++ /dev/null
@@ -1,104 +0,0 @@
-#!/bin/bash
-CD=/media/cdrom
-#CD=/data/srv/tftp/live
-DESTCD=/data/srv/tftp/CD
-DEST=/data/srv/tftp/masterbuild
-#MODULES=$DESTCD/MythVantage/base/
-
-#ONLY SUPPORTS ETH0
-myip=`ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}'|head -n1`
-if [ x$myip = x ]
-then
- echo "couldn't find a ipaddress to use for NFS server"
-fi
-
-
-mkdir -p $DESTCD
-mkdir -p $DEST
-
-mount $CD
-status=0
-if [ -f $CD/system.sqf ]
-then
- status=0
-else
- status=1
- echo "couldn't find system.sqf"
- exit 1
-fi
-
-if [ x$status = x0 ]
-then
- echo "copying to disk"
- cp -rvp $CD/*.sqf $DESTCD
- cp -rvp $CD/overlay.ovl $DESTCD
- echo "creating master copy at $DESTCD"
- unsquashfs -f -d /$DEST $DESTCD/system.sqf
- cd $DEST
- lzop -d < $DESTCD/overlay.ovl |tar -xf -
- cp -rp overlay/etc/* etc/
- cd -
-
- for i in sys proc dev tmp
- do
- mkdir $DEST/$i
- done
- chmod 777 /$DEST/tmp
- mknod $DEST/dev/null c 1 3
- mknod $DEST/dev/null c 1 5
- mknod $DEST/dev/console c 5 1
- chmod +s $DEST/usr/bin/Xorg
- chmod +s $DEST/usr/bin/crontab
- chmod +s $DEST/usr/bin/sudo
- chmod +s $DEST/bin/mount
-fi
-
-if [ ! -f $DEST/etc/fstab.bak ]
-then
- cp $DEST/etc/fstab $DEST/etc/fstab.bak
-fi
-
-tac $DEST/etc/fstab.bak|tail +4|tac > $DEST/etc/fstab
-echo "$myip:/data/srv/tftp/masterbuild / nfs" >> $DEST/etc/fstab
-
-grep -q "/data/srv/tftp/masterbuild" /etc/exports
-status=$?
-if [ ! $status = 0 ]
-then
- echo "adding masterbuild to nfs exports"
- echo "/data/srv/tftp/masterbuild *(rw,no_root_squash,anonuid=1000,anongid=1000)" >> /etc/exports
- exportfs -arv
-fi
-
-echo "configuring the kernel"
-sed -ie 's/^MODULES=.*$/MODULES="nfs"/g' $DEST/etc/mkinitcpio.conf
-sed -ie 's/^HOOKS=.*$/HOOKS="base net udev autodetect pata scsi sata filesystems"/g' $DEST/etc/mkinitcpio.conf
-chroot $DEST mkinitcpio -p kernel26
-
-#change rc.local for masterbuild
-cd $DEST/etc
-patch <<EOF
---- rc.local.orig 2008-09-27 09:17:42.000000000 -0500
-+++ rc.local 2008-09-27 09:21:47.000000000 -0500
-@@ -2,6 +2,9 @@
- . /etc/profile
- . ${MV_ROOT}/bin/install_functions.sh
- #install initial database
-+rm -f /etc/sysconfig
-+mysql -c "drop database mythconverg"
-+pacman -R --noconfirm mythdb-initial 2>/dev/null
- pacman -S --noconfirm mythdb-initial 2>/dev/null
-
- init_network
-
-EOF
-
-cd -
-
-
-
-echo "copy in modules for net install"
-#copy in the modules/.livesys/medium/system.sqf
-mkdir -p $DEST/.livesys/medium
-cp $DESTCD/* $DEST/.livesys/medium/
-
diff --git a/abs/mv-core/MythVantage-config/file_time_offset.py b/abs/mv-core/MythVantage-config/file_time_offset.py
deleted file mode 100755
index f2973d0..0000000
--- a/abs/mv-core/MythVantage-config/file_time_offset.py
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/usr/bin/python
-
-
-import time
-import os
-import glob
-import getopt
-import sys
-def main(argv):
- filecount=0
-# root = "/tmp"
-# offset = 4
- now = int(time.time())
-
-
- try:
- opts, args = getopt.getopt(argv, "hs:d:")
- except getopt.GetoptError:
- sys.exit(2)
- for opt, arg in opts:
- if opt in ("-h", "--help"):
- print "-s seconds -d /testdir"
- print "default if 4 seconds"
- sys.exit()
- elif opt in ( "-s" ):
- offset = int(arg)
- elif opt in ("-d"):
- root = arg
-
- for item in glob.glob(root+"/*"):
- lastmodDate = os.path.getmtime(item)
- tdiff= now-lastmodDate
- #print tdiff, offset
-
- if tdiff > offset:
- filecount+=1
- print filecount
-if __name__ == "__main__":
- main(sys.argv[1:])
diff --git a/abs/mv-core/MythVantage-config/install-ui.xml b/abs/mv-core/MythVantage-config/install-ui.xml
deleted file mode 100755
index 8cebd11..0000000
--- a/abs/mv-core/MythVantage-config/install-ui.xml
+++ /dev/null
@@ -1,175 +0,0 @@
-<!--
-
- This is a myth style theme file for mythwelcome
-
- (c) 2005 by a whole bunch of people associated with MythTV
-
--->
-<mythuitheme>
-
- <window name="welcome_screen">
-
- <!--
-
- First, define all the fonts we need on this screen
-
- -->
- <font name="title" face="Arial">
- <color>#ffff00</color>
- <dropcolor>#000000</dropcolor>
- <size>24</size>
- <shadow>3,3</shadow>
- <bold>yes</bold>
- </font>
-
- <font name="time" face="Arial">
- <color>#9999cc</color>
- <size>18</size>
- <bold>yes</bold>
- </font>
-
- <font name="label" face="Arial">
- <color>#ffff00</color>
- <dropcolor>#000000</dropcolor>
- <size>18</size>
- <shadow>3,3</shadow>
- <bold>yes</bold>
- </font>
-
- <font name="info" face="Arial">
- <color>#ffffff</color>
- <size>18</size>
- <bold>yes</bold>
- </font>
-
- <font name="biginfo" face="Arial">
- <color>#ffffff</color>
- <size>50</size>
- <bold>yes</bold>
- </font>
- <font name="warning" face="Arial">
- <color>#ff0000</color>
- <dropcolor>#000000</dropcolor>
- <size>16</size>
- <shadow>2,2</shadow>
- <bold>yes</bold>
- </font>
-
- <font name="buttons" face="Arial">
- <color>#ffff00</color>
- <size>14</size>
- <bold>yes</bold>
- </font>
- <font name="tinyinfo" face="Arial">
- <color>#9999cc</color>
- <size>12</size>
- <bold>no</bold>
- </font>
-
- <container name="main_display">
- <area>0,0,800,600</area>
-
- <textarea name="title" draworder="0" align="center">
- <multiline>no</multiline>
- <font>title</font>
- <area>50,40,700,40</area>
- <value>Welcome to MythVantage! </value>
- </textarea>
-
- <!--
- time
- -->
- <textarea name="time_text" draworder="0" align="right">
- <multiline>no</multiline>
- <font>time</font>
- <area>660,520,110,30</area>
- <value></value>
- </textarea>
-
- <textarea name="date_text" draworder="0" align="hcenter">
- <multiline>yes</multiline>
- <font>time</font>
- <area>20,75,740,100</area>
- <value></value>
- </textarea>
-
- <!--
- current myth status
- -->
-
- <textarea name="status_text" draworder="1" align="center">
- <multiline>yes</multiline>
- <font>info</font>
- <area>20,100,760,60</area>
- <value>MythTV is idle and will shutdown shortly.</value>
- </textarea>
-
- <!--
- current recordings status
- -->
-
- <textarea name="recording_label" draworder="1" align="center">
- <font>label</font>
- <area>20,140,760,30</area>
- <!--<value>Percent Complete </value>-->
- <value></value>
- </textarea>
-
- <textarea name="recording_text" draworder="1" align="hcenter">
- <multiline>yes</multiline>
- <font>biginfo</font>
- <area>20,140,760,150</area>
- <value></value>
- </textarea>
-
- <!--
- next scheduled recording status
- -->
-
- <textarea name="scheduled_label" draworder="1" align="center">
- <font>label</font>
- <area>20,320,760,30</area>
- <value></value>
- </textarea>
-
- <textarea name="scheduled_text" draworder="1" align="hcenter">
- <multiline>yes</multiline>
- <font>biginfo</font>
- <area>20,400,760,120</area>
- <value></value>
- </textarea>
-
- <textarea name="mythvantage_text" draworder="1" align="right">
- <multiline>no</multiline>
- <font>tinyinfo</font>
- <area>20,560,760,30</area>
- <value></value>
- </textarea>
- <!--
- scheduled recordings conflict warning
- -->
-
- <textarea name="conflicts_text" draworder="1" align="center">
- <font>warning</font>
- <area>20,490,760,30</area>
- <value>WARNING: There are conflicting scheduled recordings!</value>
- </textarea>
-
- <!--
- start frontend button
-
- <textbutton name="startfrontend_button" draworder="1">
- <position>81,535</position>
- <font>buttons</font>
- <image function="on" filename="mw_text_button_on.png"></image>
- <image function="off" filename="mw_text_button_off.png"></image>
- <image function="pushed" filename="mw_text_button_pushed.png"></image>
- </textbutton>
-
- -->
-
- </container>
-
- </window>
-
-</mythuitheme>
diff --git a/abs/mv-core/MythVantage-config/install_db_chroot.sh b/abs/mv-core/MythVantage-config/install_db_chroot.sh
deleted file mode 100755
index 15b6a20..0000000
--- a/abs/mv-core/MythVantage-config/install_db_chroot.sh
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/bin/bash
-. /etc/profile
-. /etc/systemconfig
-#myhost=`cat /etc/hostname`
-myhost=$hostname
-hostname $myhost
-mount -t proc none /proc
-pacman --noconfirm -Sf mysql
-/etc/rc.d/mysqld
-
-status=1
-mysqlstatus=1
-while [ ! $status = 0 ]
-do
- /etc/rc.d/mysqld stop
- sleep 1
- /etc/rc.d/mysqld start
- mysqlstatus=$?
- if [ $mysqlstatus = 0 ]
- then
- mysql -e "show databases;"
- showstatus=$?
- if [ $showstatus = 0 ]
- then
- pacman --noconfirm -R mythdb-initial
- pacman --noconfirm -S mythdb-initial
- $MV_ROOT/bin/restore_default_settings.sh -c load
- DISPLAY=127.0.0.1:0 $MV_ROOT/bin/MythVantage -t restore,default_1
- $MV_ROOT/bin/restore_default_settings.sh -c restore -t syssettings
- $MV_ROOT/bin/systemconfig.sh misc,hostype,this_is_install
- if [ $SystemType = "Master_backend" ]
- then
- $MV_ROOT/bin/restore_default_settings.sh -c BECONFIG -s master -a $dbhost
- fi
- #update database to allow user jobs on this host.
- $MV_ROOT/bin/restore_default_settings.sh -c USERJOBALLOW
- $MV_ROOT/bin/restore_default_settings.sh -c ACCESSCONTROL
- if [ -d /data/srv/mysql/mythconverg ]
- then
- pacman --noconfirm -R webcalendar
- pacman --noconfirm --nodeps -S webcalendar
- status=0
- fi
- fi
- fi
-done
-#/etc/rc.d/mysqld stop
-#umount /proc
-
-
-
diff --git a/abs/mv-core/MythVantage-config/install_functions.sh b/abs/mv-core/MythVantage-config/install_functions.sh
deleted file mode 100755
index 83a2bed..0000000
--- a/abs/mv-core/MythVantage-config/install_functions.sh
+++ /dev/null
@@ -1,344 +0,0 @@
-#!/bin/bash
-. /etc/profile
-
-disk=$2
-mountpoint=new_boot
-
-#-------------------------------------------
-MYTHDBUSER=mythtv
-MYTHTVPASSWD=mythtv
-CMDLINE=$(cat /proc/cmdline)
-hostname=`hostname`
-MYSQLCMD_C="mysql -u$MYTHDBUSER -p$MYTHTVPASSWD mythconverg -B --exec"
-BASE=""
-found_remote=1
-
-function update_db_settings () {
-
- printhl " setting database value $1 to $2 for $hostname"
- $MYSQLCMD_C "delete from settings where value='${1}' and hostname=\"$hostname\";" 2>/dev/null
- $MYSQLCMD_C "REPLACE INTO settings set value='${1}', data='${2}' , hostname=\"$hostname\";" 2>/dev/null
-}
-
-function random_theme () {
-THEMES="basic-blue
-basic-green
-basic-red
-basic-purple
-basic-amber"
-
-theme=($THEMES) # Read into array variable.
-
-num_themes=${#theme[*]} # Count how many elements.
-
-pick=${theme[$((RANDOM%num_themes))]}
-printhl " Selected $pick as the theme"
-update_db_settings Theme "$pick"
-}
-
-function parse_cmdline_2_db(){
- echo $CMDLINE | grep -q displayres
- if [ $? -eq 0 ]
- then
- TEMPVAR=${CMDLINE#*displayres=}
- update_db_settings HostXres $TEMPVAR
- fi
-
-}
-
-
-function bootsplash_setup (){
- echo $CMDLINE | grep -q splash=silent
- if [ $? -eq 0 ]
- then
- update_db_settings Hostbootsplash 1
- else
- update_db_settings Hostbootsplash 0
- fi
-}
-
-
-function setupremote {
- [ -e $BASE/etc/lircd.conf ] && mv -f $BASE/etc/lircd.conf $BASE/etc/lircd.conf.`date +%Y-%m-%d-%H-%M`
- if [ -d $TEMPLATES/remotes/$Remotetype ]
- then
- cd $TEMPLATES/remotes/$Remotetype
- for i in lircd*
- do
- cat $i >> $BASE/etc/lircd.conf
- done
- cp -f lircrc* $BASE/etc/lircrc 2> /dev/null
- [ -e /etc/lircrc ] && chmod 755 /etc/lircrc
- update_db_settings HostRemoteType "$Remotetype"
- #special case for special remote
- printhl "Starting with support for $Remotetype"
- if [ "$Remotetype" == "dvico" ]
- then
- /usr/sbin/lircd -d /dev/usb/hiddev0 --driver=dvico
- elif [ "$Remotetype" == "Dvico-Dual-Digital4-rev2" ]
- then
- /usr/sbin/lircd -d /dev/input/irremote --driver=devinput
- else
- /usr/sbin/lircd -d /dev/lirc0
- fi
- [ -e /root/.mythtv ] || mkdir /root/.mythtv 2>/dev/null
- ln -s /etc/lircrc /root/.mythtv/lircrc 2>/dev/null
- else
- echo "Couldn't open directory $TEMPLATES/remotes/$Remotetype"
- fi
-}
-
-function scan_for_hpg_receiver() {
-printhl " Scanning for Hauppauge receiver"
-for hpgid in `lspci -nm -d4444: |cut -d" " -f6- |tr -d '"'|tr " " :`
-do
- line=`grep $hpgid $TEMPLATES/remotes/i2c.id`
- if [ $? -eq 0 ]
- then
- modprobe lirc_i2c
- FoundReceiverType=`echo "$line"|cut -d"|" -f2`
- Remotetype=`echo "$line"|cut -d"|" -f4`
- statusline=`echo "$line"|cut -d"|" -f2,4`
- #echo "Found $statusline , $Remotetype"
- echo "Found Hauppauge"
- echo "-------------------"
- echo " 1) Hauppauge black"
- echo " 2) Hauppauge silver"
- echo " 3) hauppauge-grey-g3"
- echo ""
- read -p "Which Hauppauge remote (5 sec): " -t 5 ans
- echo
- if [ "$?" != "0" ]; then
- echo
- echo "Using default $Remotetype"
- else
- case $ans in
- 1) Remotetype="hauppauge-black";;
- 2) Remotetype="hauppauge-silver";;
- 3) Remotetype="hauppauge-grey-g3" ;;
- *) echo "Using default $Remotetype";;
- esac
- fi
- update_db_settings HostReceiverType $FoundReceiverType
- found_remote=0
- setupremote
- break
- fi
-done
-}
-
-
-function scan_for_usb_remote () {
-#found_remote=1
-printhl " Scanning for usb receiver/remote"
-while read line
-do
- USBID=`echo "$line"|cut -d"|" -f1`
- lsusb -d "$USBID" > /dev/null 2>/dev/null
- if [ $? -eq 0 ]
- then
- Remotetype=`echo "$line"|cut -d"|" -f2`
- printhl "Found $Remotetype"
- setupremote
- found_remote=0
- break
- fi
-done <$BASE/$TEMPLATES/remotes/receiver_usb.id
-if [ $found_remote -eq 1 ]
-then
- scan_for_hpg_receiver
-fi
-printhl " Scanning for TatIR"
-if lsusb | grep 04d8:0004 > /dev/null 2>/dev/null
-then
- /usr/bin/PyroUsb.py > /dev/null 2>&1 &
-fi
-
-if [ $found_remote -eq 1 ]
-then
-#No remote found_remote
- update_db_settings HostRemoteType "no_remote"
-fi
-
-}
-
-function rest_of_network () {
- #netmask
- echo $CMDLINE | grep -q cnetmask
- if [ $? -eq 0 ]
- then
- TEMPVAR=${CMDLINE#*cnetmask=}
- NETMASK=${TEMPVAR%% *}
- /sbin/ifconfig eth0 $IP netmask $NETMASK
- nm=`/usr/bin/nmconv.py -obits $NETMASK`
- NETMASK="/$nm $NETMASK"
- #echo $NETMASK
- update_db_settings HostNETMASK${MYTHDEFAULT} "$NETMASK"
- else
- printhl " Netmask not found"
- fi
- #gateway
- echo $CMDLINE | grep -q cgateway
- if [ $? -eq 0 ]
- then
- TEMPVAR=${CMDLINE#*cgateway=}
- GATEWAY=${TEMPVAR%% *}
- /sbin/route add default gw $GATEWAY
- update_db_settings HostGW${MYTHDEFAULT} "$GATEWAY"
- else
- printhl " Gateway not found"
- fi
-
- #dns
- echo $CMDLINE | grep -q cdns
- if [ $? -eq 0 ]
- then
- TEMPVAR=${CMDLINE#*cdns=}
- DNS=${TEMPVAR%% *}
- echo "nameserver $DNS" >> /etc/resolv.conf
- update_db_settings HostDNS${MYTHDEFAULT} "$DNS"
- else
- printhl " DNS not found"
- fi
- echo $CMDLINE | grep -q chostname
- if [ $? -eq 0 ]
- then
- TEMPVAR=${CMDLINE#*chostname=}
- MYHOST=${TEMPVAR%% *}
- update_db_settings HostMyhostname "$MYHOST"
- else
- printhl " hostname not found"
- fi
-}
-
-function init_network {
- echo $CMDLINE |grep -q cnetdev
- if [ $? -eq 0 ]
- then
- TEMPVAR=${CMDLINE#*cnetdev=}
- MYTHDEFAULT=${TEMPVAR%% *}
- else
- MYTHDEFAULT="eth0"
- fi
-
- echo $CMDLINE | grep -q ip
- if [ $? -eq 0 ]
- then
- update_db_settings HostDefaulteth0 0
- update_db_settings HostDefault${MYTHDEFAULT} 1
-
- update_db_settings HostActiveonbooteth0 0
- update_db_settings HostActiveonboot${MYTHDEFAULT} 1
- update_db_settings HostNetDevice ${MYTHDEFAULT}
-
- TEMPVAR=${CMDLINE#*cip=}
- IP=${TEMPVAR%% *}
- if [ "$IP" == "dhcp" ]
- then
- /sbin/dhcpcd $MYTHDEFAULT
- update_db_settings HostUseDHCP${MYTHDEFAULT} 0
- else
- /sbin/ifconfig ${MYTHDEFAULT} $IP
- update_db_settings HostUseDHCP${MYTHDEFAULT} 1
- update_db_settings HostIP${MYTHDEFAULT} "$IP"
- rest_of_network
- fi
- fi
-
-
-
-
-}
-
-function dev_up_check(){
- /sbin/ifconfig $1 1>/dev/null 2>/dev/null
- status=$?
- if [ $status -eq 1 ]
- then
- return 0
- else
- devip=`/sbin/ifconfig | grep -C1 $1| grep inet|grep -v inet6 | cut -d: -f2 | awk '{ print $1}'`
- if [ "x$devip" = "x" ]
- then
- return 1
- else
- return 0
- fi
- fi
-}
-
-function request_dhcp(){
- echo $CMDLINE |grep -q cnetdev
- if [ $? -eq 0 ]
- then
- TEMPVAR=${CMDLINE#*cnetdev=}
- MYTHDEFAULT_NET=${TEMPVAR%% *}
- else
- MYTHDEFAULT_NET="eth0"
- fi
- for ndev in eth0 eth1 wlan0 wlan1 ath0
- do
- dev_up_check $ndev
- status=$?
- if [ $status -eq 1 ]
- then
- #interface is down, lets see if dhcp responds
- dhcpcd -Td -t2 $ndev -h "" > /tmp/dhcpinfo.$ndev 2>/dev/null
- #check for hostname here
-
- TEMPVAR=`grep new_ip_address /tmp/dhcpinfo.$ndev |cut -d\= -f2`
- if [ ! x$TEMPVAR = x ]
- then
- update_db_settings HostIP$ndev "$TEMPVAR"
- TEMPVAR=`grep new_subnet_mask /tmp/dhcpinfo.$ndev |cut -d\= -f2`
- nm=`/usr/bin/nmconv.py -obits $TEMPVAR`
- TEMPVAR="/$nm $TEMPVAR"
- update_db_settings HostNETMASK$ndev "$TEMPVAR"
- TEMPVAR=`grep new_routers /tmp/dhcpinfo.$ndev |cut -d\= -f2`
- update_db_settings HostGW$ndev "$TEMPVAR"
- TEMPVAR=`grep new_domain_name_servers /tmp/dhcpinfo.$ndev |cut -d\= -f2| tr -d \"|tr -d \'|cut -d" " -f 1`
- update_db_settings HostDNS$ndev "$TEMPVAR"
- fi
- fi
- done
- TEMPVAR=`grep new_host_name /tmp/dhcpinfo.$MYTHDEFAULT_NET |cut -d\= -f2`
- if [ ! x$TEMPVAR = x ]
- then
- update_db_settings HostMyhostname "$TEMPVAR"
- fi
-
-}
-
-function init_remote {
- echo $CMDLINE | grep -q remoteport
- if [ $? -eq 0 ]
- then
- TEMPVAR=${CMDLINE#*remoteport=}
- REMOTEPORT=${TEMPVAR%% *}
- if [ x"$ReceiverType" = "xSerial" ]
- then
- if [ -e /dev/$REMOTEPORT ]
- then
- /usr/bin/setserial /dev/$REMOTEPORT uart none
- /sbin/modprobe lirc_serial
- update_db_settings HostReceiverType Serial
- update_db_settings HostSerialPortlirc "$REMOTEPORT"
- fi
- fi
-
- fi
-
- echo $CMDLINE | grep -q remote
- if [ $? -eq 0 ]
- then
- TEMPVAR=${CMDLINE#*remote=}
- Remotetype=${TEMPVAR%% *}
- setupremote
- else
- scan_for_usb_remote
- fi
-}
-
-#-----------------------
-
-
diff --git a/abs/mv-core/MythVantage-config/install_proxy.sh b/abs/mv-core/MythVantage-config/install_proxy.sh
deleted file mode 100755
index 71b675b..0000000
--- a/abs/mv-core/MythVantage-config/install_proxy.sh
+++ /dev/null
@@ -1,234 +0,0 @@
-#!/bin/bash
-export TERM=vt100
-MVHOSTNAME=larch5
-. /etc/profile
-TEMP_TEMPLATES=/tmp/templates
-disk=$2
-rootfs=$3
-rootsize=$4
-datafs=$5
-datasize=$6
-swapsize=$7
-mountpoint="/new_boot"
-run=$MV_ROOT/bin/install_functions.sh
-. /etc/systemconfig 2>/dev/null
-. $MV_ROOT/bin/networkconfig.sh
-CMDLINE=$(cat /proc/cmdline)
-BACKUPFILE="/myth/backup/mythconverg.sql.gz"
-
-
-progress () {
- mypercent=`echo "$1" | cut -d. -f1`
- if [ x$mypercent = x ]
- then
- echo "" > /tmp/.install_percent
- else
- echo "${mypercent}% complete" > /tmp/.install_percent
- fi
-}
-
-
-case $1 in
- full_install_it )
- mv_install.py --rootdisk=$disk --rootfs=$rootfs --rootsize=$rootsize --datafs=$datafs --datasize=$datasize --datadisk=$disk --swapsize=$swapsize -c full_install
- rc=$?
- echo "mv_install.py exit code $rc"
- if [ $rc != 0 ]
- then
- echo "mv_install error" >> /tmp/.install_error
- fi
- exit $rc
- ;;
-
- NETBOOT)
- echo "-----------------------------------------------------------------------3-----"
- netboot-full_install
- ;;
-
- find_update)
- mv_install.py --rootdisk=$disk -c find_upgrade
- ;;
-
- upgrade_it)
- mv_install.py --rootdisk=$disk --rootfs=$rootfs -c upgrade
- ;;
-
- disk_model_it)
- model="unknown"
- size="xxx"
- case $2 in
- h* )
- model=`cat /proc/ide/$2/model`
- ;;
- s*) model=`sginfo /dev/$2|grep Product|awk ' { print $2 } '`
- ;;
- esac
- size=`parted /dev/$2 print |grep Disk|awk ' { print $3 } ' `
- echo ""$model" $size " >/tmp/model
- ;;
-
- network_check_it)
- #Should never return from check_network
- case $2 in
- setup_network)
- vnc_check
- install_network_setup
- ;;
-
- check_self)
- myipdefault=`ifconfig | grep -C1 $default_interface| grep -v $default_interface | cut -d: -f2 | awk '{ print $1}'`
- echo "network check myself"
- ifconfig
- ping -c 1 $myipdefault
- if [ ! $? = 0 ]
- then
- exit 3
- #can't ping yourself
- fi
- ;;
- check_gw)
- #check gateway
- echo "network check gateway"
- /sbin/route -n
- mygwdefault=`/sbin/route -n |grep $default_interface|grep UG|awk '{ print $2}'`
- echo "Default gateway seems to be $mygwdefault"
- if [ ! x$mygwdefault = x ]
- then
- sleep 2
- ping -c 5 $mygwdefault
- if [ ! $? = 0 ]
- then
- exit 4
- fi
- fi
- ;;
- check_ns)
- #check nameserver
- echo " network check nameserver"
- mydns=`cat /etc/resolv.conf|grep nameserver|head -1|awk '{ print $2}'`
- ping -c 1 $mydns
- if [ ! $? = 0 ]
- then
- exit 5
- fi
- ;;
- check_names)
- echo "network check resolve names"
- host google.com
- if [ ! $? = 0 ]
- then
- exit 6
- fi
- ;;
- host_names)
- #if host is found, then check to see if it's online
- #if hoip matchs my ip assume it's ok
- echo "network check my hostname $hostname"
- hout=`host $hostname|head -n1`
- status=$?
- hoip=`echo $hout|awk '{print $4}'`
- if [ $hoip = found: ]
- then
- status=1
- fi
-
- if [ $hoip = "out;" ]
- then
- #;; connection timed out; no servers could be reached
- echo "DNS servers not found"
- status=1
- fi
-
- unkownhost=`host unkown.linhes.org |head -n1 `
- unkownhostip=`echo $unkownhost |awk '{print $4}'`
-
- #found host, now grab the ip
- if [ $status = 0 ]
- then
- hoip=`echo $hout|awk '{print $4}'`
- /sbin/ifconfig -a |grep -q $hoip
- if [ $? = 0 ]
- then
- echo "DNS ip matches on of my ips $hoip"
- status=0
- else
- if [ $unkownhostip = $hoip ]
- then
- echo "Bad DNS returning false hits"
- echo "Assuming hostname is OK"
- echo "DNS unknown: $unkownhostip"
- echo " HOSTDNS: $hoip "
- /sbin/ifconfig -a |grep "inet addr"
- else
- echo "IP in DNS but doesn't match mine, hostname is not safe to use"
- echo "DNS:$hoip"
- echo "HOST: "
- /sbin/ifconfig -a |grep "inet addr"
- status=7
- fi
- fi
- else
- echo "Couldn't find hostname in DNS, must be safe to use"
- status=0
- fi
- exit $status
- ;;
-
- esac
- exit 0
- ;;
-
- * )
- if [ -f /tmp/.install_state ]
- then
- state=`cat /tmp/.install_state`
- else
- state=" "
- fi
- if [ x"${state}" = "xConfiguring system" ]
- then
- progress ""
- else
-
- if [ -f /tmp/.startsize.io ]
- then
- . /tmp/.startsize.io
- #finding the drive
- ddrive=`df | grep $mountpoint | head -n1 | awk -F/ ' { print $3 } ' | cut -d" " -f 1|cut -b1,2,3 `
- used=`statgrab -M disk.|grep ${ddrive}.write_bytes|cut -d= -f 2|tr -d " "`
- used=`echo $used-$STARTSIZE|bc`
- #echo $used
- fi
-
- if [ ! x$used = x ]
- then
- . /root/.install_size
- #somehow find if it's an install or update
- if [ -f /tmp/.this_is_upgrade ]
- then
- total=$UPGRADESIZE
- else
- total=$TOTALSIZE
- fi
- percent=`echo "scale=2 ; ($used/$total) * 100 " |bc `
- cond2=$(echo "$percent > 98" |bc )
- if [ $cond2 -eq 1 ]
- then
- percent=98
- fi
- if [ x"${state}" = "xDone" ]
- then
- percent=100
- fi
- cond3=$(echo "$percent < 3" |bc )
- if [ $cond3 -eq 0 ]
- then
- progress $percent
- fi
- fi
- fi
- ;;
-esac
-
-
-
diff --git a/abs/mv-core/MythVantage-config/issue b/abs/mv-core/MythVantage-config/issue
deleted file mode 100644
index 8a38358..0000000
--- a/abs/mv-core/MythVantage-config/issue
+++ /dev/null
@@ -1 +0,0 @@
-MythVantage
diff --git a/abs/mv-core/MythVantage-config/live-install.sh b/abs/mv-core/MythVantage-config/live-install.sh
deleted file mode 100755
index 573bb1f..0000000
--- a/abs/mv-core/MythVantage-config/live-install.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/bash
-#redirect stderr to stdout, then rediret stdout to file
-. /etc/profile
-exec 2>&1
-exec > /tmp/mythvantage_install.log
-. /etc/X11/STBWINDOWMANAGER
-/usr/bin/nvidia-settings -a InitialPixmapPlacement=2
-keylaunch &
-/usr/bin/tilda &
-/usr/X11R6/bin/unclutter -root -idle 0 -jitter 400 -noevents &
-export MALLOC_CHECK_=0
-if [ -f /opt/vmware/bin32/vmware-user-wrapper ]
-then
- /opt/vmware/bin32/vmware-user-wrapper &
-fi
-xhost +
-CMDLINE=$(cat /proc/cmdline)
-echo $CMDLINE |grep -q nfsroot
-NFSROOT=$?
-if [ x$NFSROOT = x1 ]
-then
-
- unbuffer MythVantage &
-else
- NETBOOT=YES MythVantage &
-fi
-
-exec $STBWINDOWMANAGER
diff --git a/abs/mv-core/MythVantage-config/live.install b/abs/mv-core/MythVantage-config/live.install
deleted file mode 100644
index 01fa3ce..0000000
--- a/abs/mv-core/MythVantage-config/live.install
+++ /dev/null
@@ -1,57 +0,0 @@
-# This is a default template for a post-install scriptlet. You can
-# remove any functions you don't need (and this header).
-
-# arg 1: the new package version
-pre_install() {
- rm -f /etc/issue
- rm -f /etc/arch-relase
-}
-
-# arg 1: the new package version
-post_install() {
- if [ ! -f /etc/blacklist.package ]
- then
- echo "List of packages to ignore" > /etc/blacklist.package
- echo "one package per line" >> /etc/blacklist.package
- fi
-
-
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-pre_upgrade() {
- /bin/true
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- . /etc/profile
- ps -ef|grep mysqld|grep -v grep
- status=$?
- echo "status $status"
- if [ $status = 0 ]
- then
- restore_default_settings.sh -c load
- fi
- if [ ! -f /etc/blacklist.package ]
- then
- echo "List of packages to ignore" > /etc/blacklist.package
- echo "one package per line" >> /etc/blacklist.package
- fi
-}
-
-# arg 1: the old package version
-pre_remove() {
- /bin/true
-}
-
-# arg 1: the old package version
-post_remove() {
- /bin/true
-}
-
-op=$1
-shift
-$op $*
diff --git a/abs/mv-core/MythVantage-config/mv_advanced.py b/abs/mv-core/MythVantage-config/mv_advanced.py
deleted file mode 100755
index 4790fcf..0000000
--- a/abs/mv-core/MythVantage-config/mv_advanced.py
+++ /dev/null
@@ -1,384 +0,0 @@
-# -*- coding: utf-8 -*-
-import logging, os, re
-import mv_common
-
-def setup_pacman(create_link):
- if create_link:
- logging.info(" Creating pacman link")
- #LOOK
- #This is not implmented yet, below is the bash code for reference
- #if [ ! x$1 = x ]
- #then
- #ln -s ${BASE}/data/var ${BASE}/data/srv/httpd/htdocs/repo
- #echo "creating the link for the pacman repo mirror"
- #fi
-
- #for i in mv-core mv-core-testing mv-extra mv-extra-testing
- #do
- #echo "[$i]" > ${BASE}/etc/pacman.d/$i
- ##add mirror if needed
- #if [ x$PKG_MIRROR = x1 ]
- #then
- #echo " Server = http://$dbhost/repo/$i " >> ${BASE}/etc/pacman.d/$i
- #fi
- ##add user templates
- #USERTEMPLATES="/data/home/mythtv/templates"
- #if [ -f $USERTEMPLATES/sources/$i ]
- #then
- #echo "Adding user $i"
- #cat $USERTEMPLATES/sources/$i >> ${BASE}/etc/pacman.d/$i
- #fi
- #cat $TEMPLATES/sources/$i >> ${BASE}/etc/pacman.d/$i
- #echo "setting local mirror to $dbhost for $i "
- #done
- else:
- logging.info(" Pacman link will not be created")
- return
-
-def setup_ncid_client(dbhost,templatefile):
- #This always runs
- logging.debug(" Configuring ncid client with server %s",dbhost)
- cmd = '''sed -e "s/^set Host.*$/set Host %s /" %s >/etc/ncid/ncid.conf''' %(dbhost, templatefile)
- return
-
-def setup_ncid_daemon(port,templatefile,Runncidd):
- logging.info(" Configuring callerid daemon")
- if Runncidd == "1":
- logging.debug(" Port: %s",port)
- mv_common.cp_and_log("/etc/ncid/ncidd.conf",templatefile)
- cmd = '''sed -e "s/.*set ttyport.*$/set ttyport = \/dev\/%s /" %s >/etc/ncid/ncidd.conf''' %(port,templatefile)
- mv_common.runcmd(cmd)
- mv_common.pacinstall("ncidd")
- mv_common.add_service("ncidd")
- else:
- logging.debug(" Callerid will not run")
- mv_common.pacremove("ncidd")
- mv_common.remove_service("ncidd")
- return
-
-def setup_splash(Usebootsplash):
- if Usebootsplash == "1":
- logging.info(" Enabling splash")
- cmd = ''' sed -i "s/^default.*0/default 1/g" /boot/grub/menu.lst'''
- mv_common.runcmd(cmd)
- else:
- logging.info(" Disabling splash")
- cmd = ''' sed -i "s/^default.*1/default 0/g" /boot/grub/menu.lst'''
- mv_common.runcmd(cmd)
- return
-def setup_rrd(UseRRD):
- if UseRRD == "1":
- logging.info(" Enabling rrd_stats")
- mv_common.pacinstall("rrd_stats")
- else:
- logging.info(" Disabling rrd_stats")
- mv_common.pacremove("rrd_stats")
-
-
-def setup_hobbit(UseHobbit,SystemType,dbhost):
- if UseHobbit == "1":
- if SystemType == "Standalone" or SystemType == "Master_backend":
- logging.info(" Installing hobbit server")
- mv_common.pacinstall("hobbitserver")
- mv_common.add_service("hobbit")
- else:
- logging.info(" Installing hobbit client")
- mv_common.pacinstall("hobbit-client")
- setup_hobbit_client(dbhost)
- mv_common.add_service("hobbit-client")
-
- else:
- logging.info(" Removing Hobbit")
- mv_common.pacremove("hobbit")
- mv_common.pacremove("hobbit-client")
- mv_common.remove_service("hobbit-client")
- mv_common.remove_service("hobbitserver")
- cmd = "rm -f /data/srv/httpd/htdocs/hobbit/index.html"
- mv_common.runcmd(cmd)
- return
-
-def setup_hobbit_client(dbhost):
- logging.info(" Configuring hobbit client")
- logging.debug(" hobbit server is %s:", dbhost)
- cmd='''sed -i "s/^BBDISP.*$/BBDISP=%s/g" /data/srv/hobbit/client/etc/hobbitclient.cfg ''' %dbhost
- mv_common.runcmd(cmd)
- return
-
-def setup_evrouter(UseEvrouter,EvrouterConfig,template):
- if UseEvrouter == "1":
- logging.info(" Configuring everouter")
- logging.debug(" EvrouterConfig is %s:",EvrouterConfig)
- if EvrouterConfig == "tinker":
- logging.debug(" tinker mode, not changing the config")
- return
- mv_common.pacinstall("evrouter")
- mv_common.pacinstall("Xvfb")
- mv_common.cp_and_log(template+"/evrouter/"+EvrouterConfig,"/etc/evrouter.cfg")
- mv_common.add_service("evrouter")
- mv_common.add_service("Xvfb")
- else:
- logging.info(" Not using evrouter")
- mv_common.pacremove("evrouter")
- mv_common.remove_service("evrouter")
- mv_common.remove_service("Xvfb")
-
- return
-
-def setup_DNSmasq(RunDHCP,ip,gw,nameserver):
- if RunDHCP == "1":
- logging.info(" Configuring dhcp server(dnsmasq)")
- logging.debug(" ip: %s", ip)
- logging.debug(" gw: %s", gw)
- logging.debug(" ns: %s", nameserver)
- mv_common.pacinstall("dnsmasq")
- mv_common.pacinstall("mvpmc")
- mv_common.add_service("dnsmasq")
- logging.debug(" Setting default route to my gw: %s",gw)
- try:
- f = open("/etc/dnsmasq.conf",'r')
- dnsconf = f.readlines()
- f.close()
- except:
- logging.info(" Couldn't open dnsmasq.conf")
- return
- for line in dnsconf:
- outline = line
- if re.match("^dhcp-option=3",line):
- logging.debug(" Setting default route to my gw: %s",gw)
- outline = "dhcp-option=3,%s\n" %gw
- if re.match("^dhcp-option=6",line):
- logging.debug(" Setting dns to my ip: %s",ip)
- outline = "dhcp-option=6,%s\n" %ip
- f.write(outline)
- f.close()
-
- logging.debug(" change nfsroot to my ip:%s",ip)
- cmd = '''sed -i "s/nfsroot=.*:/nfsroot=%s:/g" /data/srv/tftp/pxelinux.cfg/default''' %ip
- mv_common.runcmd(cmd)
-
- logging.debug(" Adding 127.0.0.1 to resolv.conf")
- logging.debug(" other nameserver is %s",nameserver)
- try:
- f = open("/etc/resolv.conf",'r')
- dns = f.readlines()
- f.close()
- except:
- dns=''
- logging.debug(" Couldn't open resolv.conf for reading")
- try:
- f = open("/etc/resolv.conf",'w')
- line="search lan\n"
- f.write(line)
- line="nameserver 127.0.0.1\n"
- f.write(line)
- line="nameserver %s\n" %nameserver
- f.write(line)
- for line in dns:
- f.write(line)
- f.close()
- except:
- logging.debug(" Couldn't open resolv.conf for writing")
-
- logging.debug(" setup dongle.config")
- cmd = ''' sed -i "s/mvpmc -f .*/mvpmc -f \/etc\/helvR10.fon -s %s \& /" /data/srv/tftp/dongle.bin.config ''' %ip
- #COMMAND="%s/mvpmc -f .*/mvpmc -f \/etc\/helvR10.fon -s ${ip} \& /"
- #ex ${BASE}/data/srv/tftp/dongle.bin.config <<EOF
- mv_common.runcmd(cmd)
- else:
- logging.info(" removing dhcp server(dnsmasq)")
- mv_common.pacremove("dnsmasq")
- mv_common.pacremove("mvpmc")
- mv_common.remove_service("dnsmasq")
- return
-
-def setup_mythweb(UseMythWEB):
- if UseMythWEB == "1":
- logging.info(" Activating mythweb")
- mv_common.pacinstall("lighttpd")
- mv_common.pacinstall("mythweb")
- mv_common.add_service("lighttpd")
- else:
- logging.info(" Removing mythweb")
-# mv_common.pacremove("lighttpd")
- mv_common.pacremove("mythweb")
- # mv_common.remove_service("lighttpd")
- return
-
-def setup_samba(systemconfig,data_config):
- mythhome = data_config.MYTHHOME
- if systemconfig["UseSamba"] == "1":
- logging.info(" Activating windows file sharing")
- usersamba=mythhome+"/templates/smb.conf"
- mv_common.pacinstall("samba")
- if not os.path.exists("/etc/samba"):
- logging.debug(" Creating directory /etc/samba")
- try:
- os.makedirs("/etc/samba")
- except:
- pass
-
- if os.path.exists(usersamba):
- logging.debug(" Using user provided config file %s",usersamba)
- cmd = "install -D -m755 %s /etc/samba/smb.conf" %usersamba
- mv_common.runcmd(cmd)
- else:
- Samba_media = systemconfig["Samba_media"]
- Samba_home = systemconfig["Samba_home"]
- if systemconfig["Samba_mediareadonly"] == "1":
- smreadonly = "yes"
- else:
- smreadonly = "no"
-
- if systemconfig["Samba_homereadonly"] == "1":
- shreadonly = "yes"
- else:
- shreadonly = "no"
- domain = systemconfig["Samba_domain"]
- servername = systemconfig["hostname"]
-
- try:
- f = open(systemconfig["TEMPLATES"]+"/samba/smb.conf.template",'r')
- t_smbconf = f.readlines()
- f.close()
- except:
- logging.info(" Couldn't open samba template file")
- return
-
- try:
- f = open("/etc/samba/smb.conf",'w')
- except:
- logging.info(" Couldn't open samba file")
- return
-
- for line in t_smbconf:
- outline = line
- if re.match("^.*workgroup", line):
- logging.debug(" Setting workgroup to %s",domain)
- outline="workgroup = %s\n" %domain
- logging.debug(" %s",outline)
- if re.match("^.* server string",line):
- logging.debug(" Setting server name to %s",servername)
- outline="server string = %s\n" %servername
- logging.debug(" %s",outline)
- f.write(outline)
- outline="include = %s/templates/user.shares \n" %mythhome
- f.write(outline)
- if Samba_media == "1":
- outline="include = /etc/samba/smb.conf.media\n"
- f.write(outline)
- if Samba_home == "1":
- outline="include = /etc/samba/smb.conf.home\n"
- f.write(outline)
- f.close()
- logging.info(" Writing smb.conf.media")
- try:
- f = open("/etc/samba/smb.conf.media","w")
- except:
- logging.info(" Couldn't open smb.conf.media")
- return
- medialines='''
-[%s]
-path = %s
-public = yes
-only guest = yes
-writeable = %s
-printable = no
-force user = mythtv
-force group = mythtv
-create mask = 0755''' %(data_config.SMEDIA,data_config.DATAMOUNT,smreadonly)
- f.write(medialines)
- f.close
- logging.debug(" %s",medialines)
- logging.info(" Writing smb.conf.home")
- try:
- f = open("/etc/samba/smb.conf.home","w")
- except:
- logging.info(" Couldn't open smb.conf.home")
- return
- homelines='''
-[home]
-path = %s
-public = yes
-only guest = yes
-writeable = %s
-printable = no
-force user = mythtv
-force group = mythtv
-create mask = 0755 ''' %(data_config.MYTHHOME,shreadonly)
- f.write(homelines)
- f.close
- logging.debug(" %s",homelines)
-
-
- mv_common.add_service("nmbd")
- mv_common.add_service("smbd")
- else:
- logging.info(" Removing windows file sharing")
- mv_common.remove_service("smbd")
- mv_common.remove_service("nmbd")
- mv_common.pacremove("samba")
- mv_common.pacinstall("smbclient")
- return
-
-def setup_NFSshares(UseNFS,templatefile):
- if UseNFS == "1":
- logging.info(" Activating NFS server")
- mv_common.pacinstall("nfs-utils")
- mv_common.pacinstall("portmap")
- cmd = '''sed -e "s/REPLACEME/*/g" %s >/etc/exports''' %templatefile
- mv_common.add_service("nfsd")
- mv_common.add_service("nfs-utils")
- mv_common.add_service("portmap")
- else:
- logging.info(" Removing NFS server")
- mv_common.remove_service("nfsd")
- return
-
-def setup_dyndns(DDnsEnable):
- if DDnsEnable == "1":
- logging.info(" Installing Dynamic DNS client")
- mv_common.pacinstall("inadyn")
- mv_common.add_service("inadyn")
- else:
- logging.info(" Removing Dynamic DNS client")
- mv_common.pacremove("inadyn")
- mv_common.remove_service("inadyn")
-
-
-def setup_advanced(systemconfig,data_config):
- logging.info("____Start of advanced configuration____")
- create_link = False
- if systemconfig["SystemType"] == "Master_backend":
- create_link = True
- setup_pacman(create_link)
- setup_ncid_client(systemconfig["dbhost"],
- systemconfig["TEMPLATES"]+"/ncid.conf.template")
-
- setup_ncid_daemon(systemconfig["nciddSerialPort"],
- systemconfig["TEMPLATES"]+"/ncidd.conf.template",
- systemconfig["Runncidd"])
-
- setup_splash(systemconfig["Usebootsplash"])
- if data_config.SYSTEMTYPE == "MythVantage":
- setup_hobbit(systemconfig["UseHobbit"],
- systemconfig["SystemType"],
- systemconfig["dbhost"])
- if data_config.SYSTEMTYPE == "LinHES":
- setup_rrd(systemconfig["UseRRD"])
-
- setup_evrouter(systemconfig["UseEvrouter"],
- systemconfig["EvrouterConfig"],
- systemconfig["TEMPLATES"])
-
- setup_DNSmasq(systemconfig["RunDHCP"],
- systemconfig["mythip"],
- systemconfig["mythgw"],
- systemconfig["mythdns"])
-
- setup_mythweb(systemconfig["UseMythWEB"])
- setup_samba(systemconfig,data_config)
- setup_NFSshares(systemconfig["UseNFS"],
- systemconfig["TEMPLATES"]+"/exports.template")
-
- setup_dyndns(systemconfig["DDnsEnable"])
- logging.info("__End of advanced configuration\n")
diff --git a/abs/mv-core/MythVantage-config/mv_common.py b/abs/mv-core/MythVantage-config/mv_common.py
deleted file mode 100755
index a492597..0000000
--- a/abs/mv-core/MythVantage-config/mv_common.py
+++ /dev/null
@@ -1,201 +0,0 @@
-# -*- coding: utf-8 -*-
-import logging, os, time
-import commands
-config_file = "mv_config"
-data_config = __import__(config_file, globals(), locals(), [])
-
-def runcmd(cmd):
- if data_config.NOOPDEBUG=="FALSE":
- pass
- else:
- cmd = "echo "+cmd
- logging.debug(" %s",cmd)
- cmdout = commands.getstatusoutput(cmd)
- logging.debug(" %s",cmdout)
- return cmdout[0]
-
-def runcmd_output(cmd):
- if data_config.NOOPDEBUG=="FALSE":
- pass
- else:
- cmd = "echo "+cmd
- logging.debug(" %s",cmd)
- cmdout = commands.getstatusoutput(cmd)
- logging.debug(" %s",cmdout)
- return cmdout[1]
-
-def services(systemconfig):
- logging.debug("______Start of services______")
- logging.debug("__End services")
-
-def cp_and_log(srcfile,destfile):
- #return
- if not os.path.exists(srcfile):
- logging.info("%s is not present, skipping...",srcfile)
- else:
- cmd = ("rsync -arhp %s %s") %(srcfile,destfile)
- runcmd(cmd)
-
-
-def add_service(daemon):
- logging.info(" Adding service %s",daemon)
- cmd = "add_service.sh %s" %daemon
- runcmd(cmd)
-
-def remove_service(daemon):
- logging.info(" Removing service %s",daemon)
- stop_service(daemon)
- cmd = "remove_service.sh %s" %daemon
- runcmd(cmd)
-
-def start_service(daemon):
- logging.info(" start service %s",daemon)
- cmd = "sv start %s" %daemon
- runcmd(cmd)
-
-def stop_service(daemon):
- logging.info(" stop service %s",daemon)
- cmd = "sv stop %s" %daemon
- runcmd(cmd)
-
-def restart_service(daemon):
- logging.info(" Restarting service %s",daemon)
- if daemon == "lcdd":
- stop_service(daemon)
- logging.debug(" killing all lcdd")
- cmd = "killall -9 LCDd"
- runcmd(cmd)
- time.sleep(2)
- start_service(daemon)
- else:
- cmd = "sv restart %s" %daemon
- runcmd(cmd)
-
-def hup_service(daemon):
- logging.info(" hup service %s",daemon)
- cmd = "sv hup %s" %daemon
- runcmd(cmd)
-
-
-
-def pkg_blacklist_check(pkg):
- cmd = '''grep -q %s /etc/blacklist.package''' %pkg
- rc = runcmd(cmd)
- if rc == 0:
- return True
- else:
- return False
-
-def pkg_installed_check(pkg):
- logging.debug(" Checking if %sis installed",pkg)
- cmd = "pacman -Q %s " %pkg
- rc = runcmd(cmd)
- if rc == 0:
- return True
- else:
- return False
-
-
-def pacinstall(pkg):
- logging.info(" Checking %s for install",pkg)
- #extra pkg check
- if pkg == "xine":
- pacinstall("xine-ui")
- elif pkg == "dvdcss":
- pacinstall("libdvdcss")
- elif pkg == "webmin":
- add_service("webmin")
- elif pkg == "fuppes":
- pacinstall("fuppes-svn")
-
- if not pkg_blacklist_check(pkg):
- if pkg_installed_check(pkg):
- logging.info(" %s is already installed, will not install",pkg)
- else:
- logging.info(" Installing %s",pkg)
- cmd ='''pacman --noconfirm -Sf %s ''' %pkg
- runcmd(cmd)
- else:
- logging.info(" %s is blacklisted, will not install",pkg)
-
-def pacremove(pkg):
- logging.info(" Checking %s for removal",pkg)
- if pkg == "xine":
- pacremove("xine-ui")
- elif pkg == "dvdcss":
- pacremove("libdvdcss")
- elif pkg == "webmin":
- remove_service("webmin")
-
- if not pkg_blacklist_check(pkg):
- if not pkg_installed_check(pkg):
- logging.info(" %s is not installed, will not remove",pkg)
- else:
- logging.info(" Removing %s",pkg)
- cmd ='''pacman --noconfirm -R %s ''' %pkg
- runcmd(cmd)
- else:
- logging.info(" %s is blacklisted, will not remove",pkg)
-
-def getpid(process):
- return commands.getoutput('pidof %s' % process)
-
-def remove_file(filename):
- logging.debug(" Removing %s", filename)
- try:
- os.remove(filename)
- except:
- logging.debug("* Could not remove %s", filename)
-
-
-def restartLCD(RESTART_LCD):
- if RESTART_LCD :
- logging.info(" Restarting lcd server")
- cmd = "killall -9 mythlcdserver"
- runcmd(cmd)
- else:
- logging.debug(" Not restarting MYTHLCD server")
-
-
-def reloadfe(dbhost,RESTART_LCD):
- logging.debug("____Start of reloadfe____")
- if data_config.SYSTEMTYPE == "MythVantage":
- logging.info(" Clearing Backend cache")
- cmd = '''/usr/bin/backend_control.sh clearcache behost %s''' %dbhost
- runcmd(cmd)
-
- restartLCD(RESTART_LCD)
- for pid in getpid("mythfrontend"):
- cmd = ''' kill -s USR1 %s ''' %pid
- #runcmd(cmd)
- logging.info(" Reloading frontend with pid of %s",pid)
-
- logging.debug("__End of reloadfe\n")
-
-
-def restartfe(RESTART_LCD):
- logging.debug("____Start of restartfe____")
- if data_config.SYSTEMTYPE=="LinHES":
- logging.debug(" LinHES seems to be running will not restartfe")
- return
- logging.info(" Restarting frontend")
- restartLCD(RESTART_LCD)
- cmd="killall -9 mythfrontend"
- runcmd(cmd)
- cmd="killall -9 welcome"
- runcmd(cmd)
- logging.debug("__End of restartfe\n")
-
-
-def udev_trigger():
- logging.info(" Triggering udev")
- cmd = "udevadm settle"
- runcmd(cmd)
- cmd = "udevadm trigger"
- runcmd(cmd)
- cmd = "udevadm settle"
- runcmd(cmd)
- cmd = "udevadm trigger"
- runcmd(cmd)
-
-
diff --git a/abs/mv-core/MythVantage-config/mv_config.py b/abs/mv-core/MythVantage-config/mv_config.py
deleted file mode 100755
index 9ce29f1..0000000
--- a/abs/mv-core/MythVantage-config/mv_config.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# -*- coding: utf-8 -*-
-SYSTEMTYPE="MythVantage"
-MVHOSTNAME="mvi"
-MOUNTPOINT="/new_boot"
-DATAMOUNT="/data"
-MYTHHOME="/data/home/mythtv"
-SQUASHFILE="/tmp/.squashlist"
-SQUASHLIST=("bin","boot","etc","home","lib","opt","root","sbin","usr","var","data")
-NOOPDEBUG="FALSE"
-BACKUPFILE="mythconverg.sql.gz"
-BACKUPPATH="/data/backup/"
-TEMP_TEMPLATES="/tmp/templates"
-SMEDIA="media"
-
diff --git a/abs/mv-core/MythVantage-config/mv_hostype.py b/abs/mv-core/MythVantage-config/mv_hostype.py
deleted file mode 100755
index d6ec0ed..0000000
--- a/abs/mv-core/MythVantage-config/mv_hostype.py
+++ /dev/null
@@ -1,230 +0,0 @@
-# -*- coding: utf-8 -*-
-import logging, mv_common
-import os
-
-config_file = "mv_config"
-data_config = __import__(config_file, globals(), locals(), [])
-
-def setup_ntp(usepool,ntpserver):
- if usepool:
- logging.info("Setting ntp server to %s",ntpserver)
- print '''sed -i "s/pool.ntp.org/$dbhost/g" ${BASE}/etc/ntp.conf'''
- else:
- logging.info("Not changing ntp configuration")
-
-def setup_avahi(templates):
- file="/etc/avahi/services/mysql.service"
- if not os.path.exists(file):
- logging.debug(" copying in mysql.service for avahi")
- try:
- os.makedirs("/etc/avahi/services")
- except:
- logging.debug(" Couldn't create /etc/avahi/services")
- mv_common.cp_and_log(templates+"/mysql.service",file)
- cmd="sudo sv restart avahi"
- mv_common.runcmd(cmd)
-
-def remove_avahi_service():
- file="/etc/avahi/services/mysql.service"
- if os.path.exists(file):
- logging.debug(" Removing avahi mysql.service file")
- cmd="rm -rf %s" %file
- mv_common.runcmd(cmd)
- cmd="sudo sv restart avahi"
- mv_common.runcmd(cmd)
-
-def setup_db():
- logging.debug(" Setting up the database")
-
-def setup_mysqlnetwork(EnableNetwork):
- logging.debug(" Setting up mysql network")
- mysqlconf = "/etc/my.cnf"
- cmd = '''grep "#skip-networking" %s ''' %mysqlconf
- status = mv_common.runcmd(cmd)
-
- if EnableNetwork :
- logging.debug(" Enabling mysql networking")
- if status == 0 :
- logging.debug(" Network is already enabled for mysql")
- else:
- cmd = '''sed -ie "s/^skip-networking/#skip-networking/g" %s ''' %mysqlconf
- mv_common.runcmd(cmd)
- mv_common.restart_service("mysqld")
- else:
- logging.debug(" Disabling mysql networking")
- if status == 1 :
- logging.debug(" Network is already disabled for mysql")
- else:
- cmd = '''sed -ie "s/#skip-networking/skip-networking/g" %s ''' %mysqlconf
- mv_common.runcmd(cmd)
- mv_common.restart_service("mysqld")
-
-def setup_mysql_connection(systemconfig):
- logging.info(" Configuring database connection")
- mythip = systemconfig["mythip"]
- systemtype = systemconfig["SystemType"]
- mv_root = systemconfig["MVROOT"]
- mysqltxt = "/usr/share/mythtv/mysql.txt"
- templates = systemconfig["TEMPLATES"]
- mysqltemplate = templates + "/mysql.txt"
- dbhost = systemconfig["dbhost"]
-
- if systemtype == "Master_backend":
- logging.debug(" Setting dbhost to %s in systemconfig", mythip)
- dbhost = mythip
- cmd = '''sed -ei "s/^dbhost=.*$/dbhost=\"%s\"/" /etc/systemconfig ''' %dbhost
- mv_common.runcmd(cmd)
- logging.debug(" Changing dbhost in settings table for master_backend")
- cmd = '''%s/bin/restore_default_settings.sh -c BECONFIG -s master -a %s ''' %(mv_root, dbhost)
- mv_common.runcmd(cmd)
-
- if systemtype == "Slave_backend":
- slavehost = mythip
- logging.debug(" Changing slave in settings: %s", slavehost)
- cmd = '''%s/bin/restore_default_settings.sh -c BECONFIG -s slave -a %s ''' %(mv_root, slavehost)
- mv_common.runcmd(cmd)
-
- if systemtype == "Master_backend":
- logging.debug(" changing mysql.txt file to use localhost")
- cmd = '''sed -e "s/^DBHostName=.*$/DBHostName="localhost"/" %s > %s ''' %(mysqltemplate, mysqltxt)
- mv_common.runcmd(cmd)
- else:
- logging.debug(" changing mysql.txt file to use %s", dbhost)
- cmd = '''sed -e "s/^DBHostName=.*$/DBHostName=%s/" %s > %s ''' %(dbhost, mysqltemplate, mysqltxt)
- mv_common.runcmd(cmd)
-
- delfile = data_config.MYTHHOME + "/.mythtv/mysql.txt"
- mv_common.remove_file(delfile)
- delfile = mv_root + "/bin/mythtv/.mythtv/mysql.txt"
- mv_common.remove_file(delfile)
- filecheck = data_config.MYTHHOME + "/templates/mysql.txt"
- if os.path.exists(filecheck):
- logging.info(" Scrapping all the previous work and using %s for mysql.txt", filecheck)
- mv_common.cp_and_log(filecheck, mysqltxt)
-
-
-
-def setup_func_key():
- if data_config.SYSTEMTYPE == "MythVantage":
- logging.debug(" Grabbing the key for Func")
- cmd="/usr/MythVantage/bin/grabkey.py"
- mv_common.runcmd(cmd)
-
-def setup_func_minion(dbhost):
- logging.info(" Setting up the func minion:")
- logging.debug(" certmaster is %s:",dbhost)
- #cmd='''sed -i "s/^certmaster.*$/certmaster = %s/" /etc/func/minion.conf ''' %dbhost
- #mv_common.runcmd(cmd)
- cmd='''sed -i "s/^certmaster.*$/certmaster = %s/" /etc/certmaster/minion.conf ''' %dbhost
- mv_common.runcmd(cmd)
-
-def setup_syslog(dbhost):
- logging.debug(" Setting syslog to log to %s",dbhost)
- cmd ='''sed -i "s/^destination d_remote.*$/destination d_remote \{tcp\(\"%s\" port\(514\)\) \;\} \;/" /etc/syslog-ng.conf''' %dbhost
- return
-
-def hostypeprint(systemconfig):
- logging.info("______Start of hostype config_____")
- mv_common.services(systemconfig)
- install_list=''
- remove_list=''
- daemon_list=''
- daemon_remove_list=''
- run_mysqlnetwork = False
-
- if systemconfig["SystemType"] == "Standalone":
- logging.info("Stand alone system being configured")
- setup_ntp(False,"null")
- remove_avahi_service()
- EnableNetwork = False
- run_mysqlnetwork = True
- if systemconfig["hostypec"]:
- setup_db()
- install_list=["mysql", "mythdb-initial", "avahi", "portmap", "nfs-utils", "local-website", "myth2ipod", "mythtv-status"]
- daemon_list=["mysql", "mythbackend", "avahi", "portmap", "nfs-utils", "netfs", "lighttpd"]
- if data_config.SYSTEMTYPE == "MythVantage":
- install_list.append('ghosd')
-
- elif systemconfig["SystemType"] == "Master_backend":
- logging.info("Master backend system being configured")
- setup_ntp(False,"null")
- setup_avahi(systemconfig["TEMPLATES"])
- install_list=["mysql", "mythdb-initial", "avahi", "portmap", "nfs-utils", "local-website", "myth2ipod", "mythtv-status"]
- daemon_list=["mysql", "mythbackend", "avahi", "portmap", "nfs-utils", "netfs", "lighttpd"]
- EnableNetwork = True
- run_mysqlnetwork = True
- if data_config.SYSTEMTYPE == "MythVantage":
- install_list.append('func')
- daemon_list.append('func')
- install_list.append('certmaster')
- daemon_list.append('certmaster')
- install_list.append('ghosd')
-
- elif systemconfig["SystemType"] == "Slave_backend":
- logging.info("Slave backend system being configured")
- setup_ntp(True,systemconfig["dbhost"])
- remove_avahi_service()
- if systemconfig["hostypec"]:
- setup_db()
- install_list = ["portmap", "nfs-utils", "local-website", "avahi", "libmysqlclient" ]
- daemon_list = ["mythbackend", "portmap", "nfs-utils", "netfs", "lighttpd", "avahi" ]
- daemon_remove_list=('mysql')
- if data_config.SYSTEMTYPE == "MythVantage":
- install_list.remove("local-website")
- daemon_list.remove("lighttpd")
- install_list.append('func')
- daemon_list.append('funcd')
- remove_list.append("lighttpd")
- install_list.append('ghosd')
-
-
- elif systemconfig["SystemType"] == "Frontend_only":
- logging.info("Frontend only system being configured")
- setup_ntp(True,systemconfig["dbhost"])
- remove_avahi_service()
- install_list=["mysql-clients", "libmysqlclient", "avahi", "portmap", "nfs-utils", "local-website"]
- remove_list=["mysql"]
- daemon_list=["mysql", "mythbackend", "avahi", "portmap", "nfs-utils", "netfs", "lighttpd"]
- daemon_remove_list=("mysql", "mythbackend")
- if data_config.SYSTEMTYPE == "MythVantage":
- install_list.remove("local-website")
- daemon_list.remove("lighttpd")
- install_list.append('func')
- daemon_list.append('funcd')
- remove_list.append("lighttpd")
- install_list.append('ghosd')
-
-
- for pkg in install_list:
- mv_common.pacinstall(pkg)
- for pkg in remove_list:
- mv_common.pacinstall(pkg)
- for daemon in daemon_list:
- mv_common.add_service(daemon)
- for daemon in daemon_remove_list:
- mv_common.remove_service(daemon)
- if systemconfig["RunFrontend"] == "1":
- logging.debug(" Will run the frontend")
- mv_common.add_service("frontend")
- mv_common.add_service("hal")
- if data_config.SYSTEMTYPE == "MythVantage":
- mv_common.add_service("ghosd")
- else:
- logging.debug(" Will NOT run the frontend")
- mv_common.remove_service("frontend")
- mv_common.remove_service("hal")
- if data_config.SYSTEMTYPE == "MythVantage":
- mv_common.remove_service("ghosd")
-
-
- if run_mysqlnetwork:
- setup_mysqlnetwork(EnableNetwork)
- else:
- logging.debug(" Not running setup_mysql_connection")
-
- setup_mysql_connection(systemconfig)
- if data_config.SYSTEMTYPE == "MythVantage":
- setup_func_minion(systemconfig["dbhost"])
- setup_func_key()
- setup_syslog(systemconfig["dbhost"])
- logging.info("__End of hostype config\n")
diff --git a/abs/mv-core/MythVantage-config/mv_install.py b/abs/mv-core/MythVantage-config/mv_install.py
deleted file mode 100755
index 7d72c22..0000000
--- a/abs/mv-core/MythVantage-config/mv_install.py
+++ /dev/null
@@ -1,1434 +0,0 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
-import sys, os, commands, glob, time
-import getopt, re, MySQLdb
-import logging
-try:
- import parted
-except:
- print "module parted not found"
-
-def usage():
- print "help text:"
- print "example usage: --rootdisk=sda --rootfs=ext4 --rootsize=34240 --datafs=ext4 --datasize=3400 --datadisk=sda --swapsize=340 -c full_install"
-
-def clean_upgrade():
- return False
-
-def error_out(errmsg):
- cmd = '''echo %s >> /tmp/.install_error ''' %errmsg
- runcmd(cmd)
- logging.critical("***********************************")
- logging.critical("error: %s",errmsg)
- print "***********************************"
- print "ERROR: mv_install.py: %s" %errmsg
- print "***********************************"
- sys.exit(1)
-
-
-def update_db(value, data):
- db = MySQLdb.connect(host="localhost", user="mythtv", passwd="mythtv", db="mythconverg")
- try:
- cursor = db.cursor()
- cursor.execute("DELETE FROM settings where value=%s and hostname=%s;", (value, data_config.MVHOSTNAME))
- cursor.execute("REPLACE INTO settings set value=%s, data=%s, hostname=%s;", (value, data, data_config.MVHOSTNAME))
- logging.debug("Updated database with %s, %s", data, value)
- except MySQLdb.Error, e:
- logging.debug("Unable to update database with %s, %s", data, value)
-
-
-def progress(pgnum):
- progressline = str(pgnum) + "% complete"
- logging.debug("Progress: %s", pgnum)
- f = open('/tmp/.install_percent', 'w')
- f.write(progressline)
- f.close()
-
-def update_status(status):
- logging.debug("Status: %s", status)
- f = open('/tmp/.install_state', 'w')
- f.write(str(status))
- f.close()
-
-def kill_dhcp_chroot():
- logging.debug("Killing off chroot dhcpcd")
- stddir = os.getcwd()
- piddir = ("%s/var/run/") %data_config.MOUNTPOINT
- try:
- os.chdir(piddir)
- for FILE in glob.glob("dhcpcd-*.pid"):
- f = open(FILE, 'r')
- pid = f.readline()
- f.close()
- cmd = "kill -9 %s" %pid
- runcmd(cmd)
- os.remove(FILE)
- os.chdir(stddir)
- except:
- pass
-
-def statgrab(disk):
- cmd = "statgrab -M disk. |grep %s.write_bytes" % hostoptions["rootdisk"]
- out = commands.getoutput(cmd)
- try:
- prewritebytes = out.split("=")[1].strip()
- except:
- prewritebytes = "1024"
- outline = "STARTSIZE=%s" %prewritebytes
- f = open('/tmp/.startsize.io', 'w')
- f.write(str(outline))
- f.close()
-
-def backup_sql_check():
- logging.debug("Searching for backup file")
- try:
- hostoptions["backupfile"]
- except:
- logging.debug("Backup file var is empty")
- return False
- if os.path.exists(data_config.MOUNTPOINT+hostoptions["backupfile"]):
- logging.debug("Backup file %s is present", data_config.MOUNTPOINT+hostoptions["backupfile"])
- return True
- else:
- logging.debug("Backup file %s is NOT present", data_config.MOUNTPOINT+hostoptions["backupfile"])
- return False
-
-def mdadm_find(PREFIX):
- logging.debug("Searching for mdadm.conf")
- if os.path.exists(PREFIX+"/etc/KnoppMyth-version"):
- mdadmconf = "/etc/mdadm/mdadm.conf"
- else:
- mdadmconf = "/etc/mdadm.conf"
- logging.debug("Using %s for mdadm.conf", mdadmconf)
- return mdadmconf
-
-def mdadm_assemble_all():
- # read mdadm.conf and start the arrays
- #ARRAY /dev/md5 uuid=19464854:03f71b1b:e0df2edd:246cc977
- logging.debug("Starting mdadm support")
- mdadmconf_file = mdadm_find("/tmp")
- cmd = "cdadm --assemble --scan -c /tmp/%s" %mdadmconf_file
- runcmd(cmd)
- mdadm_contents = ''
- try:
- f = open(mdadmconf_file, 'r')
- mdadm_contents = f.readlines()
- f.close()
- except:
- logging.debug(" Couldn't open mdadmconf file")
- for line in mdadm_contents:
- if line.startswith("ARRAY"):
- logging.debug(" Found MD array: %s", line)
- array = line.split()[1]
- logging.info(" assembling array: %s", array)
- cmd = "mdadm --assemble -c /tmp%s %s" %(mdadmconf_file, array)
- runcmd(cmd)
- time.sleep(2)
- cmd = "fsck -p %s" %array
- runcmd
-
-def copy_updates():
- try:
- MVROOT = os.environ["MV_ROOT"]
- except:
- logging.debug("MVROOT was not defined, using the default value")
- MVROOT = "/usr/MythVantage"
- cp_and_log2(MVROOT+"/bin/", data_config.MOUNTPOINT+MVROOT+"/bin", "*.sh")
- cp_and_log2(MVROOT+"/bin/", data_config.MOUNTPOINT+MVROOT+"/bin", "*.py")
-
-def timezone_to_db(timefile):
- logging.info("importing timezone")
- try:
- f = open(timefile)
- timezonecontents = f.readline().strip()
- f.close()
- except:
- logging.debug("Couldn't open /tmp/etc/timezone, will not set the timezone")
- return
- update_db("HostTimeZone", timezonecontents);
- tzsplit = timezonecontents.partition('/')
- print tzsplit
- if tzsplit[2] == '' :
- update_db("HostTimeZoneRegion", tzsplit[0])
- else:
- update_db("HostTimeZoneRegion", tzsplit[0])
- tztemp="HostTimeZoneRegion_%s" % tzsplit[0]
- update_db(tztemp, tzsplit[2])
-
-
-
-def cp_and_log(srcfile, destfile):
- #return
- if not os.path.exists(srcfile):
- logging.info("%s is not present, skipping...", srcfile)
- else:
- cmd = ("rsync -arvp %s %s") %(srcfile, destfile)
- runcmd(cmd)
-
-def cp_and_log2(srcfile, destfile, fileglob):
- #return
- logging.debug("cp_and_log2")
- logging.debug("%s, %s, %s", srcfile, destfile, fileglob)
-
- if not os.path.exists(srcfile):
- logging.info("%s is not present, skipping...", srcfile)
- else:
- if fileglob == '':
- cmd = ("rsync -arvp %s %s") %(srcfile, destfile)
- runcmd(cmd)
- else:
- fileglob = "*"
- cmd = ("rsync -arvp %s/%s %s") %(srcfile, fileglob, destfile)
- runcmd(cmd)
-
-def runcmd(cmd):
- if data_config.NOOPDEBUG == "FALSE":
- pass
- else:
- cmd = "echo "+cmd
- logging.debug(" %s", cmd)
- cmdout = commands.getstatusoutput(cmd)
- logging.debug(" %s", cmdout)
- return cmdout
-
-def mysqldb(cmd, inchroot):
- if cmd == "start":
- mycmd = " /etc/rc.d/mysqld start"
- elif cmd == "stop":
- mycmd = " /etc/rc.d/mysqld stop"
- if inchroot == "chroot":
- mycmd = " chroot /newboot %s" %mycmd
- runcmd(mycmd)
-
-
-def mount_bind_chroot():
- logging.debug("Mounting dev/proc/sysfs for chroot")
- cmd = " mount --bind /dev %s" %data_config.MOUNTPOINT+"/dev"
- runcmd(cmd)
- cmd = " mount --bind /dev/pts %s" %data_config.MOUNTPOINT+"/dev/pts"
- runcmd(cmd)
- cmd = " mount --bind /proc %s" %data_config.MOUNTPOINT+"/proc"
- runcmd(cmd)
- cmd = " mount -t sysfs none %s" %data_config.MOUNTPOINT+"/sys"
- runcmd(cmd)
-
-
-def umount_bind_chroot():
- logging.debug("UnMounting dev/proc/sysfs for chroot")
- cmd = " umount -l %s" %data_config.MOUNTPOINT+"/dev/pts"
- runcmd(cmd)
- cmd = " umount -l %s" %data_config.MOUNTPOINT+"/dev"
- runcmd(cmd)
- cmd = " umount -l %s" %data_config.MOUNTPOINT+"/proc"
- runcmd(cmd)
- cmd = " umount -l %s" %data_config.MOUNTPOINT+"/sys"
- runcmd(cmd)
-
-
-def blank_table(diskdevice):
- logging.debug(" writing new parition table for %s", diskdevice)
- logging.debug("parition table before:")
- cmd = "fdisk -l %s" %diskdevice
- runcmd(cmd)
-
- cmd = "echo w |fdisk %s" %diskdevice
- runcmd(cmd)
-
- logging.debug("parition table after:")
- cmd = "fdisk -l %s" %diskdevice
- runcmd(cmd)
-
-def partitions_removeall(diskdevice, label):
- logging.info("Removing all partitions for %s %s", label, diskdevice)
- try:
- device = parted.getDevice(diskdevice)
- partdisk = parted.Disk(device)
- partdisk.deleteAllPartitions()
- if data_config.NOOPDEBUG == "FALSE":
- partdisk.commit()
- for partition in partdisk.partitions:
- print "type: %s" %partition.type
- except:
- logging.debug(" Error reading parition table, attempting to write a blank one")
- blank_table(diskdevice)
-
-
-def create_partitions(diskdevice, size, ptype, startsector):
- logging.debug("_____Create partitions______")
- if size == "NO":
- logging.info("Size is 0, skipping")
- return "NO"
- partlist = []
- newstart = 0
- totalused = 0
- device = parted.getDevice(diskdevice)
- partdisk = parted.Disk(device)
- for partition in partdisk.partitions:
- if partition.type != parted.PARTITION_FREESPACE:
- partlist.append((partition,
- partition.path,
- partition.getFlag(parted.PARTITION_BOOT),
- partition.geometry.start,
- partition.geometry.end,
- partition.geometry.length,
- partition.type,
- partition.fileSystem))
- for slice in partlist:
- (usedpartition, usedpath, usedbootable, usedstart, usedend, usedlength, usedtype, usedfs) = slice
- #Start the new partition one after the end of last
- newstart = usedend+1
-
- if startsector == 0:
- newstart = 0
- if size == "ALL":
- logging.debug(" Using the rest of the disk %s", (device.length-newstart) )
- try:
- geom = parted.Geometry(device=device, start=newstart, length=(device.length-newstart))
- except:
- logging.info("An error occured, probably invalid parition size")
- return
- else:
- # convert size in MB to a length on the device in sectors
- length = (int(size) * (1024 * 1024)) / device.sectorSize
- logging.debug("Size is %s", length)
- try:
- geom = parted.Geometry(device=device, start=newstart, length=length)
- except:
- logging.info("An error occured, probably invalid parition size")
- error_out("invalid parition size")
-
- #collect device constraint
- constraint = device.getConstraint()
- # new partition
- if ptype == "NORMAL":
- newpart = parted.Partition(disk=partdisk, type=parted.PARTITION_NORMAL, geometry=geom)
- elif ptype == "SWAP":
- newpart = parted.Partition(disk=partdisk, type=parted.PARTITION_NORMAL, geometry=geom)
-
- #add the partition to the disk and commit changes
- partdisk.addPartition(partition=newpart, constraint=constraint)
- if data_config.NOOPDEBUG == "FALSE":
- partdisk.commit()
- logging.info("created partition %s of %dMB and added it to %s" %
- (newpart.getDeviceNodeName(), newpart.getSize(), diskdevice))
- return newpart.getDeviceNodeName()
-
-def set_active_parition(diskdevice):
- """ Set the bootable flag for this partition. """
- logging.debug(" Setting active parition")
- device = parted.getDevice(diskdevice)
- partdisk = parted.Disk(device)
- try:
- for partition in partdisk.partitions:
- partition.setFlag(parted.PARTITION_BOOT)
- partdisk.commit()
- except:
- logging.info(" Couldn't set the active partition")
- logging.info(" Depending on your system this may not matter")
-
-
-def partition_disk():
- global hostoptions
- logging.info("Partitioning")
- logging.debug("____start of partition_disk____")
- rootdisk = hostoptions["rootdisk"]
- datadisk = hostoptions["datadisk"]
- label = "root"
- partitions_removeall("/dev/"+rootdisk, label)
- label = "data"
- partitions_removeall("/dev/"+datadisk, label)
- hostoptions["rootpartition"] = create_partitions("/dev/"+rootdisk, hostoptions["rootsize"], "NORMAL", 0)
- set_active_parition("/dev/"+rootdisk)
- hostoptions["swappartition"] = create_partitions("/dev/"+rootdisk, hostoptions["swapsize"], "SWAP", 1)
- if datadisk != rootdisk:
- hostoptions["datapartition"] = create_partitions("/dev/"+datadisk, hostoptions["datasize"], "NORMAL", 0)
- else:
- hostoptions["datapartition"] = create_partitions("/dev/"+datadisk, hostoptions["datasize"], "NORMAL", 1)
- time.sleep(5)
-
-def fscmd(fstype):
- fscmds = {"reiserfs":"mkreiserfs -q -l ROOT", "xfs": "mkfs -t xfs -f", "ext3": "mkfs.ext3", "jfs":"mkfs.jfs -q", "ext4":"mkfs.ext4", "Do_not_format":"noformat", "no_format":"noformat"}
- try:
- rc = fscmds[fstype]
- except:
- logging.critical(" %s is not a valid fs type, exiting now", fstype)
- error_out("Error mvinstall during format")
- return rc
-
-
-def format_disk(install_type):
- logging.info("______Starting Disk Format______")
- rootfs = fscmd(hostoptions["rootfs"])
- datafs = fscmd(hostoptions["datafs"])
-
- rootdisk = hostoptions["rootdisk"]
- datadisk = hostoptions["datadisk"]
- rootpartition = hostoptions["rootpartition"]
- datapartition = hostoptions["datapartition"]
- if install_type != "upgrade":
- swapsize = hostoptions["swapsize"]
- swappartition = hostoptions["swappartition"]
-
- logging.debug(" Format command for rootfs %s : %s ", rootfs, rootpartition)
- if ( rootfs != "noformat"):
- logging.info("Starting format of %s", rootpartition)
- cmd = " %s /dev/%s" %( rootfs, rootpartition)
- #os.system(cmd)
- runcmd(cmd)
- else:
- logging.info("Will not format root partition: %s", rootpartition)
-
- logging.debug(" Format command for datafs %s : %s ", datafs, datapartition)
- if (datafs != "noformat"):
- logging.info("Starting format of %s", datapartition)
- cmd = " %s /dev/%s" %( datafs, datapartition)
- #os.system(cmd)
- runcmd(cmd)
- else:
- logging.info("Will not format data partition: %s", datapartition)
-
- if install_type == "install":
- if (hostoptions["swapsize"] != "NO"):
- logging.info("Starting format for swap %s", swappartition)
- cmd = " mkswap /dev/%s" % swappartition
- #os.system(cmd)
- runcmd(cmd)
- else:
- logging.debug(" Swap is set to NO, will not run mkswap")
-
- logging.debug("_____End of format______")
-
-
-def mount_it():
- logging.info("______Mounting disk______")
-# Create mount points
- try:
- mountpoint = data_config.MOUNTPOINT
- mp = mountpoint
- logging.info("Creating mountpoints %s", mp)
- os.makedirs(mp)
- except OSError:
- logging.debug(" Could not create %s", mp)
-
-# Mount root
- cmd = "mount /dev/%s %s" %(hostoptions["rootpartition"], mountpoint)
- runcmd(cmd)
- #logging.debug(cmd)
- #cmdout=commands.getoutput(cmd)
- #logging.debug(cmdout)
-# Mount data
-#make mountpoint after mounting /
- try:
- mountpoint = data_config.MOUNTPOINT
- datapoint = data_config.DATAMOUNT
- mp = mountpoint+datapoint
- logging.info("Creating mountpoints %s", mp)
- os.makedirs(mp)
- except OSError:
- logging.debug(" Could not create %s", mp)
-
- cmd = "mount /dev/%s %s" %(hostoptions["datapartition"], mp)
- runcmd(cmd)
- #logging.debug(cmd)
- #cmdout=commands.getoutput(cmd)
- #logging.debug(cmdout)
-
-def unmount_it():
- logging.info("______Unmounting disk______")
- cmd = "umount %s" %(data_config.MOUNTPOINT+data_config.DATAMOUNT)
- runcmd(cmd)
- time.sleep(2)
-
- cmd = "swapoff /dev/%s" %(hostoptions["swappartition"])
- runcmd(cmd)
-
- cmd = "sync"
- runcmd(cmd)
-
- cmd = "umount %s" %(data_config.MOUNTPOINT)
- runcmd(cmd)
- cmd = "sync"
- runcmd(cmd)
-
-
-def create_squashlist():
- logging.debug("Creating squashlist")
- squashfile = data_config.SQUASHFILE
- f = open(squashfile, 'w')
- for i in data_config.SQUASHLIST:
- f.write(i)
- f.write("\n")
- logging.debug(i)
- f.close()
-
-
-def copy_it(install_type):
- logging.info("______Transferring to disk______")
- logging.debug( install_type)
- if ( install_type == "install"):
- logging.info("Transferring system")
- cmd = " unsquashfs -f -d %s /.livesys/medium/system.sqf" %(data_config.MOUNTPOINT)
- runcmd(cmd)
- #logging.debug(cmd)
- #cmdout=commands.getoutput(cmd)
-
- if ( install_type == "upgrade"):
- logging.info("Upgrading system")
- create_squashlist()
- cmd = " unsquashfs -e %s -f -d %s /.livesys/medium/system.sqf" %(data_config.SQUASHFILE, data_config.MOUNTPOINT)
- runcmd(cmd)
- #logging.debug(cmd)
- #cmdout=commands.getoutput(cmd)
-# Create the missing dir
- i = ("sys", "proc", "dev", "tmp", "mnt", "media", "media/cdrom", "media/dvd", "var/log/mythtv")
- mountpoint = data_config.MOUNTPOINT
- for item in i:
- try:
- mp = mountpoint+"/"+item
- logging.info("Creating mountpoints %s", mp)
- os.makedirs(mp)
- except OSError:
- logging.debug(" __Could not create %s", mp)
-# General fixup
- cmd = "chmod 777 %s/tmp" %(data_config.MOUNTPOINT)
- runcmd(cmd)
- cmd = "mknod %s/dev/null c 1 5" %(data_config.MOUNTPOINT)
- runcmd(cmd)
- cmd = "mknod %s/dev/console c 5 1" %(data_config.MOUNTPOINT)
- runcmd(cmd)
- cmd = "chmod +s %s/usr/bin/Xorg" %(data_config.MOUNTPOINT)
- runcmd(cmd)
- cmd = "chmod +s %s/usr/bin/crontab" %(data_config.MOUNTPOINT)
- runcmd(cmd)
- cmd = "chmod +s %s/usr/bin/sudo" %(data_config.MOUNTPOINT)
- runcmd(cmd)
- cmd = "chmod +s %s/bin/mount" %(data_config.MOUNTPOINT)
- runcmd(cmd)
- logging.debug("__End of copy_it__")
-
-def create_fstab(extralines):
- logging.debug("______Creating new fstab file_______")
- logging.info("Creating new fstab file")
- fstabfile = data_config.MOUNTPOINT+"/etc/fstab"
- fstab_list = []
- f = open(fstabfile, 'w')
- line = '''# <file system> <dir> <type> <options> <dump> <pass> \n'''
- fstab_list.append(line)
- line = '''none /dev/pts devpts defaults 0 0 \n'''
- fstab_list.append(line)
- line = '''none /dev/shm tmpfs defaults 0 0\n'''
- fstab_list.append(line)
- line = '''/dev/cdrom /media/cdrom auto ro,user,noauto,unhide 0 0\n'''
- fstab_list.append(line)
- line = '''/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0\n'''
- fstab_list.append(line)
- line = '''UUID=ROOTUID / auto defaults,noatime 0 1\n'''
- fstab_list.append(line)
- line = '''UUID=DATAUID %s auto defaults,noatime 0 1\n''' %(data_config.DATAMOUNT)
- fstab_list.append(line)
- line = '''UUID=SWAPUID swap swap defaults 0 0 \n'''
- fstab_list.append(line)
- for vline in extralines:
- fstab_list.append(vline)
- for outline in fstab_list:
- logging.debug(outline)
- f.write(outline)
- f.close()
-
-def find_uuid(partition):
- logging.info("Finding the UUID for %s...", partition)
- cmd = "blkid -s UUID /dev/%s" %partition
- tmpuuid = runcmd(cmd)[1]
- splituuid = tmpuuid.partition("=")
- uuid = splituuid[2].replace('"', "")
- logging.info("The uuid is %s", uuid)
- return uuid.strip()
-
-def pick_out_vg():
- logging.info("Searching for Volume Groups in old fstab")
- vglines = []
- f = open("/tmp/etc/fstab", 'r')
- oldfscontents = f.readlines()
- for line in oldfscontents:
- if line.startswith("/dev/vg"):
- vglines.append(line)
- templine = line.split()
- mdir = templine[1]
- if not os.path.exists (mdir):
- logging.debug("Creating dir %s for VG mount", mdir)
- os.makedirs (mdir)
-# Might need to os.chown to mythtv:users
- else:
- logging.debug("Directory %s for VG mount already present", mdir)
- return vglines
-
-def fstab_it(install_type):
- logging.info("______Checking fstab______")
- kmvg = []
- fstabfile = data_config.MOUNTPOINT+"/etc/fstab"
-# Check for knoppmyth install, if found create new
- if install_type == "upgrade":
- if os.path.exists("/tmp/etc/KnoppMyth-version"):
- logging.debug(" KnoppMyth-Version found, creating new fstab")
- kmvg = pick_out_vg()
- create_fstab(kmvg)
- elif os.path.exists("/tmp/etc/fstab"):
- logging.debug(" Upgrade and not Knoppmyth, using old fstab")
- cp_and_log("/tmp/etc/fstab", fstabfile)
-# Catch all for creating new fstab
- if not os.path.exists(data_config.MOUNTPOINT+"/etc"):
- os.makedirs(data_config.MOUNTPOINT+"/etc")
- if not os.path.exists(fstabfile):
- create_fstab(kmvg)
-
- logging.info("____UUID check for %s", "swap")
- swapuuid = find_uuid(hostoptions["swappartition"])
-
- logging.info("____UUID check for %s", "data")
- datauuid = find_uuid(hostoptions["datapartition"])
-
- logging.info("____UUID check for %s", "root")
- rootuuid = find_uuid(hostoptions["rootpartition"])
-
- fstabfile = data_config.MOUNTPOINT+"/etc/fstab"
- logging.info("Correcting UUID's in %s", fstabfile)
- f = open(fstabfile, 'r')
- oldfscontents = f.readlines()
- newfstab = []
- f.close()
- for line in oldfscontents:
- if line.startswith("UUID"):
- templine = line.split()
- if ( templine[1] == "/"):
- logging.debug(" Found Root fstab line:")
- logging.debug( templine)
- templine[0] = "UUID=%s" %(rootuuid)
- newline = ''
- for i in templine:
- newline+=i
- newline+=" "
- newline+="\n"
- logging.debug(" New fstab line:")
- logging.debug( newline)
- newfstab.append(newline)
-
- if ( templine[1] == data_config.DATAMOUNT):
- logging.debug(" Found DATA mount")
- logging.debug( templine)
- templine[0] = "UUID=%s" %(datauuid)
- newline = ''
- for i in templine:
- newline+=i
- newline+=" "
- newline+="\n"
- logging.debug(" New fstab line:")
- logging.debug( newline)
- newfstab.append(newline)
-
- if ( templine[1] == "swap"):
- if len(swapuuid) <= 5:
- logging.debug(" swapp uuid is to small")
- else:
- logging.debug(" Found swap partition")
- logging.debug( templine)
- templine[0] = "UUID=%s" %(swapuuid)
- newline = ''
- for i in templine:
- newline+=i
- newline+=" "
- newline+="\n"
- logging.debug(" New fstab line:")
- logging.debug( newline)
- newfstab.append(newline)
- else:
- logging.debug(" Line didn't match, adding to newfstab:")
- logging.debug( line)
- newfstab.append(line)
- logging.info("Writing out newfstab")
- logging.debug("______This is the new fstab_____")
- f = open(fstabfile, 'w')
- for line in newfstab:
- logging.debug(line)
- f.write(line)
- #f.write("\n")
- f.close()
-
-def grub_it():
- logging.info("______Start of grub install______")
- cmd = " grub-install --recheck --no-floppy --root-directory=%s \"(hd0)\" " % data_config.MOUNTPOINT
- logging.info("Running grub-install")
- runcmd(cmd)
- rootuuid = find_uuid(hostoptions["rootpartition"])
- cmd = " mkinitcpio -g %s/boot/kernel26.img" % data_config.MOUNTPOINT
- logging.info("Running mkinitcpio")
- runcmd(cmd)
- logging.info("Adding root uuid to grub menu")
- grubfile = data_config.MOUNTPOINT+"/boot/grub/menu.lst"
- try:
- f = open(grubfile, 'r')
- oldgrub = f.readlines()
- newgrub = []
- f.close()
- for line in oldgrub:
- if line.startswith("kernel"):
- templine = line.split()
- logging.debug(" Found kernel Root grubline:")
- logging.debug( templine)
- templine[2] = "root=/dev/disk/by-uuid/%s" %(rootuuid)
- newline = ''
- for i in templine:
- newline+=i
- newline+=" "
- newline+="\n"
- logging.debug(" New grub menu.lst line:")
- logging.debug( newline)
- newgrub.append(newline)
- else:
- logging.debug("Line didn't match, adding to newgrub:")
- logging.debug( line)
- newgrub.append( line)
- logging.info("Writing out new grub file")
- logging.debug("______This is the new grub_____")
- f = open(grubfile, 'w')
- for line in newgrub:
- logging.debug(line)
- f.write(line)
- f.close()
- except:
- logging.debug("Couldn't open grub file")
-
-def fix_permissions():
- logging.info("Fixing permissions")
- SE = os.environ["TEMPLATES"]+"/settings/syssettings"
- cmd = " chmod -R 755 %s" %(data_config.MOUNTPOINT+SE)
- runcmd(cmd)
- cmd = " chmod 775 %s" %(data_config.MOUNTPOINT+"/etc/systemconfig")
- runcmd(cmd)
- cmd = " chmod 755 %s" %(data_config.MOUNTPOINT+"/root")
- runcmd(cmd)
- cmd = " chown root:mythtv %s" %(data_config.MOUNTPOINT+"/etc/systemconfig")
- runcmd(cmd)
- cmd = " chown -R mythtv:mythtv %s" %(data_config.MOUNTPOINT+SE)
- runcmd(cmd)
- cmd = " chown -R mythtv:mythtv %s" %(data_config.MOUNTPOINT+"/var/log/mythtv")
- runcmd(cmd)
-
-def apply_new_auth():
- logging.info("_____Applying Password updates_______")
- passfile = "/root/myth_user_call.out"
- try:
- MVROOT = os.environ["MV_ROOT"]
- except:
- logging.debug("MVROOT was not defined, using the default value")
- MVROOT = "/usr/MythVantage"
- if data_config.NOOPDEBUG == "FALSE":
- cmdprefix = "chroot " + data_config.MOUNTPOINT + " " + MVROOT+"/bin/myth_user_call -i "
- else:
- cmdprefix = "echo chroot " + data_config.MOUNTPOINT + " " + MVROOT+"/bin/myth_user_call -i "
- try:
- f = open(passfile, 'r')
- passcmds = f.readlines()
- f.close()
- for cmd in passcmds:
- execmd = cmdprefix+cmd
-# Using os.system because runcmd fails
- logging.debug(execmd)
- os.system(execmd)
- except:
- logging.debug("Applying password updates failed, couldn't open %s", passfile)
- logging.debug
-
-def add_to_blacklist(module):
- rcfile = data_config.MOUNTPOINT + "/etc/rc.conf"
- logging.debug(" Attempting to add %s to blacklist", module)
- newline=''
- try:
- f = open(rcfile, 'r')
- conflines = f.readlines()
- f.close()
- except:
- logging.critical(" *Couldn't open %s for reading",rcfile)
- return
-
- try:
- f = open(rcfile, 'w')
- except:
- logging.critical(" *Couldn't open %s for reading",rcfile)
- return
-
- for line in conflines:
- newline = line
- if re.match("MOD_BLACKLIST",line):
- logging.debug(line)
- try:
- lastpar = line.rindex(')')
- logging.debug(" found ) at %s", lastpar)
- newline = line[:lastpar] +" !" + module + " " + line[lastpar:]
- logging.debug(newline)
- except:
- logging.debug("Couldn't find ending )")
- newline = line
- f.write(newline)
- f.close()
-
-
-def add_to_modulelist(module):
- rcfile = data_config.MOUNTPOINT + "/etc/rc.conf"
- logging.debug(" Attempting to add %s to modulelist", module)
- newline=''
- try:
- f = open(rcfile, 'r')
- conflines = f.readlines()
- f.close()
- except:
- logging.critical(" *Couldn't open %s for reading",rcfile)
- return
-
- try:
- f = open(rcfile, 'w')
- except:
- logging.critical(" *Couldn't open %s for reading",rcfile)
- return
-
- for line in conflines:
- newline = line
- if re.match("MODULES=",line):
- logging.debug(line)
- try:
- lastpar = line.rindex(')')
- logging.debug(" found ) at %s", lastpar)
- newline = line[:lastpar] +" " + module + " " + line[lastpar:]
- logging.debug(newline)
- except:
- logging.debug("Couldn't find ending )")
- newline = line
- f.write(newline)
- f.close()
-
-
-
-def special_hardware_check():
- logging.info("_____Applying special boot parameters_______")
- try:
- f = open('/proc/cmdline', 'r')
- bootoptions = f.readlines()
- f.close()
- except:
- logging.critical(" *Couldn't open /proc/cmdline")
- return
- bootoptions = bootoptions[0].split()
- logging.debug(" Boot options: %s", bootoptions)
- for item in bootoptions:
- logging.debug(item)
- if re.match("disablemodules",item) != None :
- logging.debug(" Found disabledmodules")
- modulelist = item.split("=")[1]
- for module in modulelist.split(','):
- add_to_blacklist(module)
-
- if re.match("modules",item) != None :
- logging.debug(" Found modules")
- modulelist = item.split("=")[1]
- for module in modulelist.split(','):
- add_to_modulelist(module)
-
- if re.match("type",item) != None :
- logging.debug(" Found special hardware type")
- try:
- typefile = open(data_config.MOUNTPOINT + "/myth/.special_hardware_type", 'w')
- typelist = item.split("=")[1]
- # there should be only one special hardware type, but this will handle multiples, just in case
- for type in typelist.split(','):
- typefile.write(type)
- typefile.write("\n")
- typefile.close()
- except:
- logging.debug("Couldn't write to file: ", typefile)
- if re.match("no_meth",item) != None :
- cmd = " touch %s%s/.no_meth" %(data_config.MOUNTPOINT, data_config.MYTHHOME)
- runcmd(cmd)
-
-def swapsearch():
-#currently unused!
- partlist = []
- stddir = os.getcwd()
- os.chdir("/sys/block")
- partitionlist = glob.glob("*")
- for item in partitionlist:
- try:
- newitem = item.strip().rpartition(" ")[2]
- if (not newitem == '') and (not newitem.startswith("loop")):
- path = "/dev/"+newitem.strip()
- path = path.strip()
- device = parted.getDevice(path)
- (cylinders, heads, sectors) = device.biosGeometry
- sizeInBytes = device.length * device.sectorSize
- disk = parted.Disk(device)
- for partition in disk.partitions:
- if partition.type == parted.PARTITION_PROTECTED or \
- partition.type == parted.PARTITION_METADATA or \
- partition.type == parted.PARTITION_FREESPACE:
- continue
-
- partlist.append((partition,
- partition.path,
- partition.getFlag(parted.PARTITION_BOOT),
- partition.geometry.start,
- partition.geometry.end,
- partition.geometry.length,
- partition.type,
- partition.fileSystem))
- for slice in partlist:
- (partition, path, bootable, start, end, length, type, fs) = slice
- if partition.getFlag(parted.PARTITION_SWAP) or fs.type == "linux-swap":
- print "found swap"
- print path
- except:
- pass
- os.chdir(stddir)
-
-def sane_settings(file):
- #Remove some settings from file_name
- removeline = ("HOSTrootfstype", "HOSTrootfstype", "HOSTdatafstype", "HOSTOSsize", "HostUseALLdata", "HOSTDATAsize", "HOSTuprootfstype", "HostUseSWAP", "HOSTSWAPsize")
- logging.debug("__Running sane settings")
- try:
- f = open(file, 'r')
- filecontents = f.readlines()
- f.close()
- except:
- logging.debug(" Couldn't find file %s to sane", file)
- try:
- f = open(file, 'w')
- for line in filecontents:
- for item in removeline:
- if line.startsize(line.strip()):
- logging.debug(" Found a line to remove in %s, %s", file, line)
- else:
- f.write(line)
- except:
- logging.debug(" Couldn't open file %s for writing", file)
- logging.debug(" __End sane settings")
-
-def restore_default_settings():
- try:
- MVROOT = os.environ["MV_ROOT"]
- except:
- logging.debug(" MVROOT was not defined, using the default value")
- MVROOT = "/usr/MythVantage"
- logging.info("Saving syssettings")
- cmd = "%s/bin/restore_default_settings.sh -c save -t syssettings -h %s -d localhost" %(MVROOT, data_config.MVHOSTNAME)
- runcmd(cmd)
- SE = os.environ["TEMPLATES"]+"/settings/syssettings/"
- cp_and_log(SE, data_config.MOUNTPOINT+SE)
- cp_and_log("/etc/mtab", data_config.MOUNTPOINT+"/etc/mtab")
- copy_updates()
- fix_permissions()
-
-def full_install(hostoptions):
- logging.info("______Start of full install______")
- try:
- MVROOT = os.environ["MV_ROOT"]
- except:
- logging.debug(" MVROOT was not defined, using the default value")
- MVROOT = "/usr/MythVantage"
-
- try:
- os.remove("/tmp/.this_is_upgrade")
- except OSError:
- logging.debug(" File /tmp/.this_is_upgrade not present, couldn't delete it")
- pass
-# Partition disk
- statusmsg = "Partitioning %s" %( hostoptions["rootdisk"])
- update_status(statusmsg)
- progress(1)
- if data_config.NOOPDEBUG == "FALSE":
- partition_disk()
- else:
- logging.debug(" Debug mode, skipping partitioning step")
-
-# Format disk
- statusmsg = "Preparing %s" %( hostoptions["rootdisk"])
- update_status(statusmsg)
- progress(2)
- format_disk("install")
-
-
-# Mount partitions
- statusmsg = "Mounting %s" %( hostoptions["rootdisk"])
- update_status(statusmsg)
- progress(3)
- mount_it()
-
-# Find number of bytes written to disk before starting copy. This is used
-# to have a somewhat decent progress indication.
- statgrab( hostoptions["rootdisk"])
- msg = "Creating %s" %(systemconfig["hostname"])
- update_status(msg)
-
-# Copy system to disk
- copy_it("install")
-# Remove old fstab so that a new one is created
- fstabfile = data_config.MOUNTPOINT+"/etc/fstab"
- try:
- os.remove(fstabfile)
- except OSError:
- logging.debug(" ERROR: deleting %s", fstabfile)
- fstab_it("full_install")
-# Configure system
- msg = "Configuring system"
- update_status(msg)
- progress(98)
- grub_it()
- special_hardware_check()
-# Configuring the system
- logging.info("______Configuring system________")
- cp_and_log("/etc/systemconfig", data_config.MOUNTPOINT+"/etc/systemconfig")
- cp_and_log("/root/xorg.conf.install", data_config.MOUNTPOINT+"/etc/X11/xorg.conf.install")
- restore_default_settings()
- #try:
- #MVROOT=os.environ["MV_ROOT"]
- #except:
- #logging.debug(" MVROOT was not defined, using the default value")
- #MVROOT="/usr/MythVantage"
- #logging.info("Saving syssettings")
- #cmd="%s/bin/restore_default_settings.sh -c save -t syssettings -h %s -d localhost" %(MVROOT, data_config.MVHOSTNAME)
- #runcmd(cmd)
- #SE=os.environ["TEMPLATES"]+"/settings/syssettings"
- #cp_and_log(SE, data_config.MOUNTPOINT+SE)
- #cp_and_log("/etc/mtab", data_config.MOUNTPOINT+"/etc/mtab")
- #cp_and_log2(MVROOT+"/bin/", data_config.MOUNTPOINT+MVROOT+"/bin/", "*.sh")
- #cp_and_log2(MVROOT+"/bin/", data_config.MOUNTPOINT+MVROOT+"/bin/", "*.py")
- #fix_permissions()
- mount_bind_chroot()
- apply_new_auth()
- umount_bind_chroot()
- if ( systemconfig["SystemType"] == "Master_backend" or systemconfig["SystemType"] == "Standalone" ):
-# This install will need a DB, so install it
- logging.info("______Installing Database in CHROOT________")
- mysqldb("stop", '')
- mount_bind_chroot()
- cmd = " chroot %s %s/bin/install_db_chroot.sh |tee /tmp/chrootdb.out" %(data_config.MOUNTPOINT, MVROOT)
- runcmd(cmd)
- logging.info("Running systemconfig in chroot")
- #cmd = " chroot %s %s/bin/systemconfig.sh misc, hostype, network, advanced, user, this_is_install" %(data_config.MOUNTPOINT, MVROOT)
- cmd = "chroot %s %s/bin/systemconfig.sh all,this_is_install" %(data_config.MOUNTPOINT, MVROOT)
- rc = runcmd(cmd)[0]
- if rc != 0 :
- error_out("Running systemconfig")
-
- mysqldb("stop", "chroot")
- kill_dhcp_chroot()
- logging.info("____End Database in CHROOT____")
- mysqldb("start", '')
- umount_bind_chroot()
- else:
- logging.info("______No database required, continuing configuration________")
- mount_bind_chroot()
- cmd = " chroot %s DISPLAY=127.0.0.1:0 %s/bin/MythVantage -t restore, default 1" %(data_config.MOUNTPOINT, MVROOT)
- runcmd(cmd)
-# Need to check for to touch /tmp/.dbsysfailed
- cmd = " chroot %s %s/bin/restore_default_settings.sh -c restore -t syssettings " %(data_config.MOUNTPOINT, MVROOT)
- runcmd(cmd)
- if ( 'x' == '1' ):
- logging.debug("touching /tmp/.dbsysfailed")
- else:
- #cmd = " chroot %s %s/bin/systemconfig.sh misc, hostype, network, advanced, user, this_is_install" %(data_config.MOUNTPOINT, MVROOT)
- cmd = "chroot %s %s/bin/systemconfig.sh all,this_is_install" %(data_config.MOUNTPOINT, MVROOT)
- rc = runcmd(cmd)[0]
- if rc != 0 :
- error_out("Running systemconfig")
- cmd = "chroot %s %s/bin/restore_default_settings.sh -c ACCESSCONTROL " %(data_config.MOUNTPOINT, MVROOT)
- runcmd(cmd)
- umount_bind_chroot()
- cmd = " touch %s%s/.configure" %(data_config.MOUNTPOINT, data_config.MYTHHOME)
- runcmd(cmd)
- cmd = " chmod 777 %s%s/.configure" %(data_config.MOUNTPOINT, data_config.MYTHHOME)
- runcmd(cmd)
-
- msg = "Done"
- update_status(msg)
- cp_and_log("/tmp/mythvantage_install.log", data_config.MOUNTPOINT+"/var/log/mythvantage_install.log")
- cp_and_log("/tmp/mv_debug.log", data_config.MOUNTPOINT+"/var/log/mv_debug.log")
- unmount_it()
- logging.debug("_____End of full install_____")
-
-def find_upgrade():
- logging.info("_____Start of find_upgrade_____")
- global hostoptions
- #try to mount first partition of disk
- #copy old /etc/systemconfig to live, import settings into db
- #umount drive.
- #check for clean upgrade
- if ( clean_upgrade() ):
- logging.info("Clean upgrade requested, not using old data")
- return
- mount_it()
- oldbackupfile = data_config.MOUNTPOINT+"/root/backup/"+data_config.BACKUPFILE
- newbackupfile = "/tmp/"+data_config.BACKUPFILE
- if os.path.exists(oldbackupfile):
- logging.debug("Setting backup file to %s", newbackupfile)
- hostoptions["backupfile"] = newbackupfile
- cp_and_log(oldbackupfile, newbackupfile)
-
- srcfile = data_config.MOUNTPOINT+"/etc/systemconfig"
- logging.info("Searching for systemconfig file %s", srcfile)
- if os.path.exists(srcfile):
- logging.info("Found systemconfig file %s", srcfile)
- TEMPLATES = os.environ["TEMPLATES"]+"/settings/syssettings"
- cp_and_log2(data_config.MOUNTPOINT+TEMPLATES, data_config.TEMP_TEMPLATES, '')
- sane_settings("/tmp/templates/settings/syssettings/settings.txt")
- cp_and_log2(data_config.TEMP_TEMPLATES, TEMPLATES, '')
- cp_and_log(srcfile, "/etc/systemconfig")
- cp_and_log(data_config.MOUNTPOINT+"/etc/", "/tmp/etc/")
- cp_and_log(data_config.MOUNTPOINT+"/var/lib/alsa/", "/tmp/alsa")
- cp_and_log(data_config.MOUNTPOINT+"/var/lib/oss/", "/tmp/oss")
- cp_and_log("/tmp/etc/mdadm.conf", "/etc/mdadm.conf")
- else:
- logging.info("Could not find systemconfig file %s", srcfile)
- cp_and_log(data_config.MOUNTPOINT+"/etc/", "/tmp/etc/")
- cp_and_log(data_config.MOUNTPOINT+"/var/lib/alsa/", "/tmp/alsa")
- cp_and_log("/tmp/etc/mdadm.conf", "/etc")
- timezone_to_db("/tmp/etc/timezone")
- unmount_it()
- logging.debug("End of find_upgrade")
-
-def upgrade_mount_search():
- #Search for data/myth partition based on contents of fstab
- logging.debug("______Start of upgrade_mount_search_____")
- cmd = "umount %s%s" %(data_config.MOUNTPOINT, data_config.DATAMOUNT)
- runcmd(cmd)
- fstab_list = []
- fstab_data_mount = ''
- try:
- f = open("/tmp/etc/fstab", 'r')
- oldfscontents = f.readlines()
- f.close()
- ## ['UUID=', '/myth', 'auto', 'defaults, noatime', '0', '1']
- #for line in oldfscontents:
- #mountdir=line.split()
- #if mountdir[1] == (data_config.DATAMOUNT):
- #fstablist.append(mountdir)
- except:
- logging.debug(" Couldn't open /tmp/etc/fstab")
- for line in oldfscontents:
- if line.startswith("#"):
- continue
- mountdir=line.split()
- try:
- if mountdir[1] == (data_config.DATAMOUNT):
- fstablist.append(mountdir)
- except:
- continue
- #search fstab for data/myth mountpoint
- for i in fstab_list:
- if i[1] == data_config.DATAMOUNT:
- fstab_data_mount = i[0]
- break
-
- #start software raid support if needed
- for i in fstab_list:
- if i[0].startswith("/dev/md"):
- logging.debug(" starting software raid support")
- mdadm_assemble_all
-
-
- if re.search("UUID", fstab_data_mount):
- fstab_data_uuid = fstab_data_mount.split("=")[1]
- cmd = "blkid -t UUID=%s" %fstab_data_uuid
- retcode = call(cmd, shell=True)
- if retcode != 0:
- logging.debug(" Couldn't find uuid %s, starting md support", fstab_data_uuid)
- mdadm_assemble_all
- #hoping everything is up and running and data/myth will be available for mount
- cmd = "mount -U %s %s" %(fstab_data_uuid, data_config.MOUNTPOINT)
- runcmd(cmd)
- cmd = "blkid -t UUID=%s|cut -d: -f1" %fstab_data_uuid
- logging.debug(cmd)
- datadisk = commands.getoutput(cmd)
- cmd = "basename %s" %datadisk
- datadisk = commands.getoutput(cmd)
- else:
- cmd = "mount %s %s" %(fstab_data_mount, data_config.MOUNTPOINT)
- runcmd(cmd)
- cmd = "basename %s" %fstab_data_mount
- datadisk = commands.getoutput(cmd)
- time.sleep(3)
-# hostoptions["backupfile"]=data_config.BACKUPPATH+data_config.BACKUPFILE
- if not backup_sql_check():
- newbackupfile = "/tmp/"+data_config.BACKUPFILE
- if os.path.exists(newbackupfile):
- logging.debug("Setting backup file to %s", newbackupfile)
- cp_and_log(newbackupfile, data_config.MOUNTPOINT+newbackupfile)
- hostoptions["backupfile"] = newbackupfile
- else:
- logging.info("Couldn't find any database to restore, upgrade will continue with a new database")
-
-
-
-def upgrade(hostoptions):
-
- try:
- MVROOT = os.environ["MV_ROOT"]
- except:
- logging.debug("MVROOT was not defined, using the default value")
- MVROOT = "/usr/MythVantage"
- logging.info("______Start of upgrade______")
- cmd = "touch /tmp/.this_is_upgrade"
- runcmd(cmd)
- if hostoptions["rootfs"] == "Do_not_format":
- logging.info("Will not format root filesystem")
- else:
- statusmsg = "Preparing %s" %( hostoptions["rootdisk"])
- update_status(statusmsg)
- progress(2)
- format_disk("upgrade")
- #sys.exit(2)
- statusmsg = "Mounting %s" %( hostoptions["rootdisk"])
- update_status(statusmsg)
- progress(3)
- mount_it()
- hostoptions["backupfile"] = data_config.BACKUPPATH+data_config.BACKUPFILE
- statgrab( hostoptions["rootdisk"])
- msg = "Upgrading %s" %(systemconfig["hostname"])
- update_status(msg)
- time.sleep(3)
- copy_it("upgrade")
- cmd = "rm -rf %s/etc.old" %data_config.MOUNTPOINT
- runcmd(cmd)
- cmd = "rm -rf %s/alsa.old" %data_config.MOUNTPOINT
- runcmd(cmd)
-
- cp_and_log("/tmp/etc/", data_config.MOUNTPOINT+"/etc.old/")
- cp_and_log("/tmp/alsa/", data_config.MOUNTPOINT+"/alsa.old/")
- cp_and_log("/tmp/oss", data_config.MOUNTPOINT+"/var/lib/oss.old")
-
- srcfile = "%s/etc.old/ssh/" %(data_config.MOUNTPOINT)
- destfile = "%s/etc/ssh/" %(data_config.MOUNTPOINT)
- cp_and_log2(srcfile, destfile, '*.pub')
- cp_and_log2(srcfile, destfile, '*.key')
- cp_and_log2(srcfile, destfile, '*key')
-
- mdfile = mdadm_find("/tmp")
- cp_and_log("/tmp"+mdfile, data_config.MOUNTPOINT+"/etc")
-
- srcfile = "%s/etc.old/asound.conf" %(data_config.MOUNTPOINT)
- destfile = "%s/etc/asound.conf" %(data_config.MOUNTPOINT)
- cp_and_log(srcfile, destfile)
-
- # R5.5 -> R6
- srcfile = "%s/alsa.old/asound.state" %(data_config.MOUNTPOINT)
- destfile = "%s/etc/asound.state" %(data_config.MOUNTPOINT)
- cp_and_log(srcfile, destfile)
- # R6 -> R6
- srcfile = "%s/etc.old/asound.state" %(data_config.MOUNTPOINT)
- destfile = "%s/etc/asound.state" %(data_config.MOUNTPOINT)
- cp_and_log(srcfile, destfile)
-
- srcfile = "%s/etc.old/mplayer/mplayer.conf" %(data_config.MOUNTPOINT)
- destfile = "%s/etc/mplayer/mplayer.conf" %(data_config.MOUNTPOINT)
- cp_and_log(srcfile, destfile)
-
- if not os.path.exists("/tmp/etc/KnoppMyth-version"):
- logging.debug(" standard upgrade, restoring auth files")
- cp_and_log(data_config.MOUNTPOINT+"/etc.old/passwd", data_config.MOUNTPOINT+"/etc/passwd")
- cp_and_log(data_config.MOUNTPOINT+"/etc.old/shadow", data_config.MOUNTPOINT+"/etc/shadow")
- cp_and_log(data_config.MOUNTPOINT+"/etc.old/group", data_config.MOUNTPOINT+"/etc/group")
- msg = "Configuring system"
-
- update_status(msg)
- progress(98)
- logging.info("______Configuring system________")
- cp_and_log("/etc/systemconfig", data_config.MOUNTPOINT+"/etc/systemconfig")
- if not backup_sql_check():
- upgrade_mount_search()
- fstab_it("upgrade")
- time.sleep(1)
- grub_it()
- time.sleep(1)
- #needed to get around a bug with pacman
- special_hardware_check()
- cp_and_log("/root/xorg.conf.install", data_config.MOUNTPOINT+"/etc/X11/xorg.conf.install")
- cp_and_log("/etc/mtab", data_config.MOUNTPOINT+"/etc/mtab")
- if clean_upgrade() or os.path.exists("/tmp/etc/KnoppMyth-version"):
- logging.debug("clean upgrade or knoppmyth upgrade detected, running restore settings")
- restore_default_settings()
- if clean_upgrade():
- file = "%s/%s/.kmupgrade" %(data_config.MOUNTPOINT, data_config.MYTHHOME)
- cmd = "touch %s && chmod 777 %s" %(file, file)
- runcmd(cmd)
- copy_updates()
- fix_permissions()
- mount_bind_chroot()
- logging.info("Running systemconfig in chroot")
- #cmd = " chroot %s %s/bin/systemconfig.sh misc, hostype, network, advanced, user, this_is_install" %(data_config.MOUNTPOINT, MVROOT)
- cmd = "chroot %s %s/bin/systemconfig.sh all,this_is_install" %(data_config.MOUNTPOINT, MVROOT)
- rc = runcmd(cmd)[0]
- if rc != 0 :
- error_out("Running systemconfig")
- mysqldb("stop", "")
- if ( systemconfig["SystemType"] == "Master_backend" or systemconfig["SystemType"] == "Standalone" ):
- if clean_upgrade() or not backup_sql_check():
- logging.info("Installing new database")
- cmd = " chroot %s %s/bin/install_db_chroot.sh |tee /tmp/chrootdb.out" %(data_config.MOUNTPOINT, MVROOT)
- runcmd(cmd)
- else:
- logging.info("Restoring database")
- cmd = " chroot %s %s/bin/restore_km_db_chroot.sh %s|tee /tmp/chrootdb.out" %(data_config.MOUNTPOINT, MVROOT, hostoptions["backupfile"])
- runcmd(cmd)
-
- if os.path.exists("/tmp/etc/KnoppMyth-version"):
- cmd = " chroot %s %s/bin/restore_default_settings.sh -c restore -t hostsettings " %(data_config.MOUNTPOINT, MVROOT)
- runcmd(cmd)
- logging.debug("Correcting permissions because of km->linhes upgrade")
- cmd = " chown -R mythtv:mythtv %s" %(data_config.MOUNTPOINT+data_config.DATAMOUNT)
- runcmd(cmd)
- cmd = " chown -R root:root %s" %(data_config.MOUNTPOINT+data_config.DATAMOUNT+"/backup")
- runcmd(cmd)
- else:
- cmd = " chroot %s %s/bin/restore_default_settings.sh -c restore -t syssettings " %(data_config.MOUNTPOINT, MVROOT)
- runcmd(cmd)
-
- logging.info("Running systemconfig in chroot 2nd time")
- #cmd = " chroot %s %s/bin/systemconfig.sh misc, hostype, network, advanced, user, this_is_install" %(data_config.MOUNTPOINT, MVROOT)
- cmd = "chroot %s %s/bin/systemconfig.sh all,this_is_install" %(data_config.MOUNTPOINT, MVROOT)
- rc = runcmd(cmd)[0]
- if rc != 0 :
- error_out("Running systemconfig")
- #logging.info("Running systemconfig in chroot")
- #cmd = " chroot %s %s/bin/systemconfig.sh advanced" %(data_config.MOUNTPOINT, MVROOT)
- #runcmd(cmd)
- mysqldb("stop", 'chroot')
- apply_new_auth()
- kill_dhcp_chroot()
- umount_bind_chroot()
- cp_and_log("/tmp/mythvantage_install.log", data_config.MOUNTPOINT+"/var/log/mythvantage_install.log")
- cp_and_log("/tmp/mv_debug.log", data_config.MOUNTPOINT+"/var/log/mv_debug.log")
- unmount_it()
- msg = "Done"
- update_status(msg)
- mysqldb("start", '')
-
-
-
-
-def main(argv):
- global hostoptions
- try:
- opts, args = getopt.getopt(argv, 'c:h', ["help", "rootdisk=", "rootfs=", "rootsize=", "datafs=", "datasize=", "datadisk=", "swapsize=", "datapartition=" ] )
- except getopt.GetoptError, why:
- print why
- usage()
- sys.exit(2)
- hostoptions = {"op": 'null'}
- for opt, arg in opts:
- if opt in ("-h", "--help"):
- usage()
- sys.exit(0)
- elif opt in ( "--rootdisk"):
- hostoptions["rootdisk"] = arg
- hostoptions["rootpartition"] = arg+str(1)
- elif opt in ("--rootfs"):
- hostoptions["rootfs"] = arg
- elif opt in ("--rootsize"):
- hostoptions["rootsize"] = arg
- elif opt in ("--datafs"):
- hostoptions["datafs"] = arg
- elif opt in ("--datasize"):
- hostoptions["datasize"] = arg
- elif opt in ("--datadisk"):
- hostoptions["datadisk"] = arg
- elif opt in ("--datapartition"):
- hostoptions["datapartition"] = arg
- elif opt in ("--swapsize"):
- hostoptions["swapsize"] = arg
-
- elif opt in ("-c"):
- validop = ["full_install", "upgrade", "netboot", "find_upgrade"]
- if arg not in validop:
- logging.critical("-c %s is not a valid option", arg)
- sys.exit(2)
- else:
- hostoptions["op"] = arg
- try:
- hostoptions["datadisk"]
- except:
- hostoptions["datadisk"] = hostoptions["rootdisk"]
- hostoptions["datapartition"] = hostoptions["datadisk"]+str(3)
- try:
- hostoptions["datapartition"]
- except:
- hostoptions["datapartition"] = hostoptions["datadisk"]+str(3)
- hostoptions["swappartition"] = hostoptions["rootdisk"] + str(2)
-
-
- if ( hostoptions["op"] == "full_install" ) :
- full_install(hostoptions)
- elif (hostoptions["op"] == "upgrade" ) :
- hostoptions["datafs"] = "no_format"
- find_upgrade()
- upgrade(hostoptions)
- elif (hostoptions["op"] == "find_upgrade" ) :
- find_upgrade()
- return hostoptions
-
-
-#____________________________________________setup the logging______________________________________________________
-LOG_FILENAME = '/tmp/mv_status.log'
-DEBUGLOG = '/tmp/mv_debug.log'
-logging.basicConfig(level=logging.DEBUG,
- format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
- datefmt='%m-%d %H:%M',
- filename=DEBUGLOG,
- filemode='a')
-# define a Handler which writes INFO messages or higher to the sys.stderr
-console = logging.StreamHandler()
-console.setLevel(logging.INFO)
-# set a format which is simpler for console use
-#formatter = logging.Formatter('%(name)-12s: %(levelname)-8s %(message)s')
-formatter = logging.Formatter("%(message)s")
-# tell the handler to use this format
-console.setFormatter(formatter)
-# add the handler to the root logger
-logging.getLogger('').addHandler(console)
-
-#infoformatter = logging.Formatter("%(asctime)s - %(name)s - %(levelname)s - %(message)s")
-infoformatter = logging.Formatter("%(message)s")
-infofile = logging.FileHandler(LOG_FILENAME, 'w')
-infofile.setFormatter(infoformatter)
-infofile.setLevel(logging.INFO)
-logging.getLogger('').addHandler(infofile)
-
-#Read in systemconfig
-global systemconfig
-systemconfig = {}
-file_name = "/etc/systemconfig"
-try:
- config_file = open(file_name)
-except:
- logging.debug("%s could not be opened", file_name)
- config_file = ''
-
-for line in config_file:
- line = line.strip()
- if line and line[0] is not "#" and line[-1] is not "=":
- var, val = line.rsplit("=", 1)
- val = val.strip('"')
- systemconfig[var.strip()] = val.strip()
-
-
-if __name__ == "__main__":
- config_file = "mv_config"
- data_config = __import__(config_file, globals(), locals(), [])
- logging.debug("___________START OF DEBUG_________________________")
- cmdoptions = main(sys.argv[1:])
- logging.debug("______cmd line options______")
- for i in cmdoptions.items():
- logging.debug (i)
- logging.debug("______systemconfig______")
- for i in systemconfig.items():
- logging.debug(i)
- logging.debug("______hostoptions______")
- for i in hostoptions.items():
- logging.debug(i)
- pass
-
diff --git a/abs/mv-core/MythVantage-config/mv_ir.py b/abs/mv-core/MythVantage-config/mv_ir.py
deleted file mode 100755
index bc1ae37..0000000
--- a/abs/mv-core/MythVantage-config/mv_ir.py
+++ /dev/null
@@ -1,330 +0,0 @@
-# -*- coding: utf-8 -*-
-import logging, mv_common
-import os, re , glob
-from time import time, localtime, strftime
-import time
-import pwd
-
-def setup_lirc_links(mythhome):
- logging.debug(" Creating links for lirc")
- try:
- mythuid = pwd.getpwnam('mythtv')[2]
- mythgid = pwd.getpwnam('mythtv')[3]
- except:
- logging.critical("* mythuid not found")
- mythuid = '1000'
- mythgid = '1000'
- if not os.path.exists(mythhome+"/.mythtv"):
- logging.debug(" Creating %s/.mythtv",mythhome)
- try:
- os.mkdir(mythhome+"/.mythtv")
- except:
- logging.debug(" Couldn't create .mythtv ")
- return
- try:
- os.chown(mythhome+"/.mythtv", mythuid, mythgid)
- logging.debug("* Couldn't chown of %s", mythhome)
- except:
- cmd = ''' chown -R mythtv %s/.mythtv''' %mythhome
- mv_common.runcmd(cmd)
- cmd = ''' chgrp -R mythtv %s/.mythtv''' %mythhome
- mv_common.runcmd(cmd)
- pass
-
- if os.path.exists("/etc/lircrc"):
- if not os.path.exists(mythhome+"/.mythtv/lircrc"):
- logging.debug(" Creating symlink for myth lircrc")
- os.symlink("/etc/lircrc",mythhome+"/.mythtv/lircrc")
- else:
- logging.debug(" %s/lircrc already present",mythhome)
-
- if not os.path.exists(mythhome+"/.lircrc"):
- logging.debug(" Creating symlink for lircrc")
- os.symlink("/etc/lircrc",mythhome+"/.lircrc")
- else:
- logging.debug(" %s/.lircrc already present",mythhome)
- else:
- logging.debug(" /etc/lircrc does not exisit, can not link it")
-
-def scrub_modules(filename,module):
- logging.debug(" scrubbing %s from %s",module,filename)
- cmd = '''sed -i -e '/.*#%s/d' %s''' %(module,filename)
- mv_common.runcmd(cmd)
-
-def add_module(filename,module):
- logging.debug(" adding %s to %s",module,filename)
- cmd = ''' echo "%s" >> %s ''' %(module,filename)
- mv_common.runcmd(cmd)
-
-def unload_all_lirc():
- logging.debug(" Unloading all lirc modules")
- cmd = "sv stop lircd"
- mv_common.runcmd(cmd)
- cmd = "killall -9 lircd"
- mv_common.runcmd(cmd)
- cmd = '''modprobe -r $(lsmod |grep ^lirc |awk '{print $1}') '''
- mv_common.runcmd(cmd)
-
-
-
-def include_file( incfile,filename):
- logging.debug(" including %s within %s",filename,incfile)
- try:
- f = open( incfile, 'a')
- except:
- logging.debug(" Couldn't open %s for writing",incfile)
- return
- line = '''include "%s" ''' %filename
- logging.debug(" %s",line)
- f.write(line)
- f.write("\n")
- f.close()
-
-def setup_ir_remote(Remotetype,templates):
- logging.debug(" Setup of remote type %s",Remotetype)
- if Remotetype == "no_remote":
- mv_common.remove_service("lircd")
- elif Remotetype == "tinker":
- pass
- else:
- currenttime = strftime("%b-%d-%Y-%H:%M:%S", localtime())
- cmd = "mv /etc/lircd.conf /etc/lircd.conf-%s" %currenttime
- mv_common.runcmd(cmd)
- cmd = "mv /etc/lircrc /etc/lircrc-%s" %currenttime
- mv_common.runcmd(cmd)
- files = templates + "/remotes/" + Remotetype + "/lircd*"
- logging.debug(" Using %s",files)
- for filename in glob.glob(files):
- # Ignore subfolders
- if os.path.isdir (filename):
- logging.debug(" %s is a dir, skipping",filename)
- continue
- include_file("/etc/lircd.conf",filename)
- files = templates + "/remotes/" + Remotetype + "/lircrc*"
- logging.debug(" Using %s",files)
- for filename in glob.glob(files):
- # Ignore subfolders
- if os.path.isdir (filename):
- logging.debug(" %s is a dir, skipping",filename)
- continue
- include_file("/etc/lircrc",filename)
- cmd = "chmod 755 /etc/lircrc"
- mv_common.runcmd(cmd)
- mv_common.add_service("lircd")
-
-
-def setup_ir_receiver(ReceiverType,TEMPLATES):
- logging.info(" Configuring receiver %s", ReceiverType)
- if ReceiverType == "Serial":
- scrub_modules("/etc/modules.mythvantage","lirc")
- add_module("/etc/modules.mythvantage","lirc_serial #lirc")
- cmd = "load-modules-mythvantage.sh"
- mv_common.runcmd(cmd)
- mv_common.remove_service("igdaemon")
- mv_common.remove_service("tatir")
-
- elif ReceiverType == "Usb-imon":
- scrub_modules("/etc/modules.mythvantage","lirc")
- add_module("/etc/modules.mythvantage","lirc_imon #lirc")
- cmd = "load-modules-mythvantage.sh"
- mv_common.runcmd(cmd)
- mv_common.remove_service("igdaemon")
- mv_common.remove_service("tatir")
-
- elif ReceiverType == "Hauppauge":
- scrub_modules("/etc/modules.mythvantage","lirc")
- add_module("/etc/modules.mythvantage","lirc_i2c #lirc")
- mv_common.cp_and_log(TEMPLATES+"/modules/lirc_i2c.conf" ,
- "/etc/modprobe.d/lirc_i2c.conf")
- cmd = "rmmod lirc_i2c"
- mv_common.runcmd(cmd)
- cmd = "load-modules-mythvantage.sh"
- mv_common.runcmd(cmd)
- mv_common.remove_service("igdaemon")
- mv_common.remove_service("tatir")
- elif ReceiverType == "pvr150":
- scrub_modules("/etc/modules.mythvantage","lirc")
- add_module("/etc/modules.mythvantage","lirc_i2c #lirc")
- mv_common.cp_and_log(TEMPLATES+"/modules/lirc_i2c.conf" ,
- "/etc/modprobe.d/lirc_i2c.conf")
- cmd = "rmmod lirc_i2c"
- mv_common.runcmd(cmd)
- cmd = "load-modules-mythvantage.sh"
- mv_common.runcmd(cmd)
- mv_common.remove_service("igdaemon")
- mv_common.remove_service("tatir")
- elif ReceiverType == "iguanaIR-usb":
- scrub_modules("/etc/modules.mythvantage","lirc")
- mv_common.add_service("igdaemon")
- mv_common.remove_service("tatir")
-
- elif ReceiverType == "tatir":
- scrub_modules("/etc/modules.mythvantage","lirc")
- mv_common.add_service("tatir")
- mv_common.remove_service("igdaemon")
-
- else:
- logging.debug(" didn't match receiver, using genric case")
- scrub_modules("/etc/modules.mythvantage","lirc")
- mv_common.remove_service("igdaemon")
- mv_common.remove_service("tatir")
-
-def setup_blaster_proto(HostBlasterType,Hostnumblaster,TEMPLATES,systemconfig):
- logging.debug(" Start of setup_blaster_proto")
- logging.debug(" HostBlasterType: %s", HostBlasterType)
- logging.debug(" Hostnumblaster: %s" , Hostnumblaster)
- if not HostBlasterType == "pvr150" and not HostBlasterType == "None":
- for i in range(int(Hostnumblaster)):
- try:
- proto = systemconfig["HostTransmitproto_"+str(i+1)]
- logging.debug(" proto: %s",proto)
- except:
- logging.info(" unkown proto for %s",i+1)
- continue
- template=TEMPLATES+"/transmit/%s/lircd.conf" %proto
- if os.path.exists(template):
- logging.debug(" include blaster template: %s",proto)
- include_file("/etc/lircd.conf",template)
- else:
- logging.debug(" template: %s is not present",template)
- logging.info("------NEED TO SETUP CHANGE_CHANNEL------")
-
-
-def setup_blaster_transmiter(HostBlasterType):
- logging.debug(" Start of setup_blaster_transmiter")
- logging.info(" HostBlasterType : %s", HostBlasterType)
-
- if HostBlasterType == "Receiver":
- logging.info(" Blaster is receiver, skipping module config for Blaster")
- return
-
- if HostBlasterType == "no blaster":
- scrub_modules("/etc/modules.mythvantage","blaster")
- elif HostBlasterType == "Serial":
- scrub_modules("/etc/modules.mythvantage","blaster")
- add_module("/etc/modules/.mythvantage","lirc_serial #blaster")
- cmd = "load-modules-mythvantage.sh"
- mv_common.runcmd(cmd)
- elif HostBlasterType == "pvr150":
- scrub_modules("/etc/modules.mythvantage", "blaster")
- scrub_modules("/etc/modules.mythvantage", "lirc")
- add_module("/etc/modules.mythvantage", "lirc_pvr150 #blaster")
- add_module("/etc/modules.mythvantage", "lirc_pvr150 #lirc")
- cmd = "rmmod lirc_i2c"
- mv_common.runcmd(cmd)
- cmd = "load-modules-mythvantage.sh"
- mv_common.runcmd(cmd)
- else:
- scrub_modules("/etc/modules.mythvantage","blaster")
-
-def setup_lcd(LCDtype, TEMPLATES, Remotetype):
- logging.debug("____Start of setup_lcd____")
- logging.debug(" LCDType: %s", LCDtype)
- logging.debug(" Remotetype: %s", Remotetype)
- if LCDtype == "tinker":
- logging.info(" tinker mode detected")
- return
-
- if LCDtype == "no_lcd":
- logging.info(" Disabling LCD support")
- cmd = "sv stop lcdd"
- mv_common.runcmd(cmd)
- #sometimes it doesn't want to die
- cmd = "killall -9 LCDd"
- mv_common.runcmd(cmd)
- cmd = "load-modules-mythvantage.sh UNLOAD LCD"
- mv_common.runcmd(cmd)
- scrub_modules("/etc/modules.mythvantage", "LCD")
- mv_common.remove_service("lcdd")
- else:
- lcdmodule="%s/LCD/%s/modules" %(TEMPLATES,LCDtype)
- if os.path.exists(lcdmodule):
- logging.debug(" Adding module for LCD")
- scrub_modules("/etc/modules.mythvantage", "LCD")
- cmd = "cat %s >> /etc/modules.mythvantage" %lcdmodule
- mv_common.runcmd(cmd)
- if Remotetype != "tinker":
- lcdconf = "%s/LCD/%s/LCDd.conf" %(TEMPLATES,LCDtype)
- lcdlirc = "%s/LCD/%s" %(TEMPLATES,LCDtype)
- mv_common.pacinstall("lcdproc")
- if os.path.exists(lcdconf):
- logging.debug(" Copying in lcdconf template file: %s",lcdconf)
- mv_common.cp_and_log(lcdconf, "/etc/LCDd.conf")
- else:
- logging.debug(" %s is not present, will not copy it")
-
- if os.path.exists(lcdlirc+"/lircrc"):
- logging.debug(" LCD seems to support lirc")
- #setup the lirc aspect of the lcd
- #copied from setup_ir_remote
- files = lcdlirc+"/lircd*"
- logging.debug(" Using %s",files)
- for filename in glob.glob(files):
- # Ignore subfolders
- if os.path.isdir (filename):
- logging.debug(" %s is a dir, skipping",filename)
- continue
- include_file("/etc/lircd.conf",filename)
- files = lcdlirc+"/lircrc*"
- logging.debug(" Using %s",files)
- for filename in glob.glob(files):
- # Ignore subfolders
- if os.path.isdir (filename):
- logging.debug(" %s is a dir, skipping",filename)
- continue
- include_file("/etc/lircrc",filename)
- cmd = "chmod 755 /etc/lircrc"
- mv_common.runcmd(cmd)
-
- mv_common.add_service("lcdd")
- mv_common.restart_service("lcdd")
- logging.debug("__End of setup_lcd")
-
-def setup_ir(systemconfig, data_config):
- rc = False
- logging.info("____Start of IR____")
- if systemconfig["Remotetype"] == "tinker":
- logging.info(" Tinker mode detected")
- else:
- if not systemconfig["HostBlasterType"]:
- HostBlasterType = "unknown"
- Hostnumblaster = "0"
- else:
- HostBlasterType = systemconfig["HostBlasterType"]
- Hostnumblaster = systemconfig["Hostnumblaster"]
-
- if systemconfig["HostBlasterType"] == "pvr150":
- remotetype = "hauppauge-blaster"
- logging.debug(" pvr150 blaster selected, setting remote to hauppauge-blaster")
- else:
- remotetype = systemconfig["Remotetype"]
-
- setup_ir_remote(remotetype,systemconfig["TEMPLATES"])
- setup_lirc_links(data_config.MYTHHOME)
-
- if systemconfig["ReceiverType"]:
- setup_ir_receiver(systemconfig["ReceiverType"],
- systemconfig["TEMPLATES"])
- else:
- setup_ir_receiver("unknown", systemconfig["TEMPLATES"])
- unload_all_lirc()
- setup_blaster_proto(HostBlasterType,
- Hostnumblaster,
- systemconfig["TEMPLATES"],
- systemconfig)
- setup_blaster_transmiter(HostBlasterType)
- cmd = "load-modules-mythvantage.sh"
- mv_common.runcmd(cmd)
- time.sleep(2)
- mv_common.udev_trigger()
- cmd="sv start lircd"
- mv_common.runcmd(cmd)
- rc = [ True , True ]
- if systemconfig["LCDtype"]:
- setup_lcd(systemconfig["LCDtype"],
- systemconfig["TEMPLATES"],
- systemconfig["Remotetype"])
- else:
- logging.debug(" LCD not defined")
- logging.info("__End IR\n")
- return rc \ No newline at end of file
diff --git a/abs/mv-core/MythVantage-config/mv_misc.py b/abs/mv-core/MythVantage-config/mv_misc.py
deleted file mode 100755
index 9ea9c95..0000000
--- a/abs/mv-core/MythVantage-config/mv_misc.py
+++ /dev/null
@@ -1,180 +0,0 @@
-# -*- coding: utf-8 -*-
-import logging, mv_common
-import os, re
-from urllib2 import Request, urlopen, URLError, HTTPError
-
-config_file = "mv_config"
-data_config = __import__(config_file, globals(), locals(), [])
-
-def setup_zip(MVROOT,zipcode):
- logging.debug("____Setting up the zipcode____")
-
- if zipcode:
- cmd="%s/bin/restore_default_settings.sh -c ZIP -c %s" %(MVROOT,zipcode)
- mv_common.runcmd(cmd)
- #Let's also speed things up for those in North America
- cmd="mkdir /usr/bin/perlbin/vendor/tv_grabbers_non_na"
- mv_common.runcmd(cmd)
- cmd="mv /usr/bin/perlbin/vendor/tv_grab_* /usr/bin/perlbin/vendor/tv_grabbers_non_na"
- mv_common.runcmd(cmd)
- cmd="mv /usr/bin/perlbin/vendor/tv_grabbers_non_na/tv_grab_na* /usr/bin/perlbin/vendor/"
- mv_common.runcmd(cmd)
- else:
- logging.debug(" Zipcode is not set")
-
- logging.debug("__End of zipcode\n")
-
-def setup_tz(timezone,TEMPLATES):
- logging.info("____Setting up the timezone____")
-
- if not timezone:
- timezone="unknown"
- logging.info(" Setting timezone to %s",timezone)
- mv_common.remove_file("/etc/localtime")
- #try:
- #logging.debug(" Removing /etc/localtime")
- #os.remove("/etc/localtime")
- #except:
- #logging.debug(" Couldn't remove /etc/localtime")
- #pass
-
- srclink="/usr/share/zoneinfo/%s" %timezone
- logging.debug(" symlinking %s to /etc/localtime",srclink)
- try:
- os.symlink(srclink,"/etc/localtime")
- except:
- logging.critical(" Couldn't make symlink for /etc/localtime")
- cmd = '''sed -e "s/^TIMEZONE=.*$/TIMEZONE=\\"%s\\" /" /etc/rc.conf > $TEMPLATES/rc.conf''' %re.escape(timezone)
- mv_common.runcmd(cmd)
-
- if os.path.exists("/etc/php/php.ini"):
- logging.info(" Changing timezone for php")
- cmd = '''sed -i "s/^.*date.timezone.*$/date.timezone=%s/" ${BASE}/etc/php/php.ini''' %re.escape(timezone)
- mv_common.runcmd(cmd)
-
- mv_common.cp_and_log(TEMPLATES+"/rc.conf","/etc/rc.conf")
- logging.info("__End of timezone\n")
-
-def setup_nfs(systemconfig):
- nfslist=[]
- logging.info("____Start of setup_nfs____")
- scrubnfs(systemconfig["TEMPLATES"])
-
- if systemconfig["HaveCentralNFS"] == "yes":
- logging.debug(" Using a Central NFS server")
- if systemconfig["NFSserver"] == "file:nfsmap":
- #if it's a file check for it, failure results in downloading attempt from MBE
- nfsmap_file=data_config.MYTHHOME+"/templates/nfsmap"
- if not os.path.exists(nfsmap_file):
- logging.debug(" Couldn't find local %s",nfsmap_file)
- logging.info(" Trying to download nfsmap from MBE")
- nfsmap_file = download_nfsmap(systemconfig["dbhost"])
- nfslist = process_nfsmap_file(nfsmap_file)
- # if it's an ip parse ip and download file
- elif re.search(systemconfig["NFSserver"],":nfsmap"):
- ip=systemconfig["NFSserver"].split(":")[0]
- nfsmap_file = download_nfsmap(ip)
- nfslist = process_nfsmap_file(nfsmap_file)
- #else treat it as a single mount point
- else:
- item = (systemconfig["NFSserver"] , systemconfig["NFSmount"])
- nfslist.append(item)
- else:
- #if standalone or slave try to use MBE
- if systemconfig["SystemType"] == "Frontend_only" or systemconfig["SystemType"] == "Slave_Backend":
- item = (systemconfig["dbhost"] , data_config.DATAMOUNT)
- nfslist.append(item)
- setup_nfs_fstab(nfslist)
- logging.info("__End of nfs\n")
-
-def setup_sleep(systemconfig):
- logging.debug("____Setting up sleep____")
- autoshutdown = systemconfig["AutoShutdown"]
- stime1 = systemconfig["Shutdowntime"]
- stime2 = systemconfig["Shutdowntime2"]
- cstime1=''
-
- if autoshutdown == "1" :
- if not stime1 == "-1" :
- cstime1 = stime1
- cshutdown = cstime1
- if not stime2 == "-1" :
- if cstime1 :
- cshutdown = "%s,%s" %(cstime1,stime2)
- else:
- cshutdown = stime2
- logging.debug(" Shutdown time at %s",cshutdown)
- cmd='''sed -e "s/HOUR/%s/g" %s/cron.template | crontab - -u mythtv''' %(cshutdown,systemconfig["TEMPLATES"])
- mv_common.runcmd(cmd)
- else:
- logging.info(" Shutdown not enabled")
- cmd='''sed -e "/00 HOUR.*/d" %s/cron.template | crontab - -u mythtv''' %systemconfig["TEMPLATES"]
- mv_common.runcmd(cmd)
-
- logging.debug("__End of sleep\n")
-
-
-def process_nfsmap_file(mapfile):
- logging.debug(" processing nfsmap file %s",mapfile)
- nfslist = []
- try:
- f = open(mapfile,"r")
- for line in f.readlines():
- if line.startswith("#"):
- continue
- item = line.split()
- if len(item) <= 1 :
- continue
- logging.debug(" %s",item)
- nfslist.append(item)
- except :
- logging.critical("Couldn't read file %s, or some other error",mapfile)
- return nfslist
-
-def scrubnfs(templates):
- logging.info(" Scrubbing nfs")
- mv_common.cp_and_log("/etc/fstab",templates+"/fstab.conf.template")
- #used this sed cmd because it's clean and took me forever to figure out =)
- cmd='''sed '/^#STARTSCRUB.*$/,/^#ENDSCRUB.*$/d' %s/fstab.conf.template > /etc/fstab''' %templates
- mv_common.runcmd(cmd)
-
-def download_nfsmap(ip):
- nfsmap_file="/tmp/nfsmap"
- myurl="http://%s:1337/templates/nfsmap" %ip
- req = Request(myurl)
- try:
- f = urlopen(req)
- logging.info(" downloading %s", myurl)
- local_file = open(nfsmap_file, "w")
- #Write to our local file
- local_file.write(f.read())
- local_file.close()
- #handle errors
- except HTTPError, e:
- logging.info(" File download failed")
- logging.debug(" %s", myurl)
- logging.debug(" HTTP Error: %s", e.code)
- except URLError, e:
- logging.info(" File download failed")
- logging.debug(" %s",myurl)
- logging.debug(" URL Error: %s ", e.reason)
-
- return nfsmap_file
-
-def setup_nfs_fstab(nfslist):
- logging.info(" Adding nfs paths to fstab")
- try:
- f = open('/etc/fstab', 'a')
- line = "#STARTSCRUB --------------anything in this block will be scrubbed\n"
- f.write(line)
- for s, m in nfslist:
- line = "%s %s nfs \n" %(s,m)
- logging.debug(" %s",line)
- f.write(line)
- line = "#ENDSCRUB\n"
- f.write(line)
- f.close()
- except:
- logging.critical(" *Couldn't open /etc/fstab for writing")
- logging.debug(" Done adding nfs paths to fstab")
-
diff --git a/abs/mv-core/MythVantage-config/mv_network.py b/abs/mv-core/MythVantage-config/mv_network.py
deleted file mode 100755
index b80e4cc..0000000
--- a/abs/mv-core/MythVantage-config/mv_network.py
+++ /dev/null
@@ -1,507 +0,0 @@
-# -*- coding: utf-8 -*-
-import sys , os, commands , glob, time, re
-import logging
-import mv_common
-import socket, fcntl, struct, array
-import netifaces, iplib
-global etcnetdir
-etcnetdir = "/etc/net/ifaces"
-
-def setup_MYTH_DHCP(systemconfig):
- default_interface = systemconfig["default_interface"]
- try:
- defaultdhcp = systemconfig["HostUSEDHCP"+default_interface]
- except:
- logging.critical(" *Error occured finding default dhcp")
- defaultdhcp = "0"
- logging.debug(" Using %s as dhcp value for %s", defaultdhcp, default_interface)
- return defaultdhcp
-
-def all_interfaces():
- max_possible = 128 # arbitrary. raise if needed.
- bytes = max_possible * 32
- s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
- names = array.array('B', '\0' * bytes)
- outbytes = struct.unpack('iL', fcntl.ioctl(
- s.fileno(),
- 0x8912, # SIOCGIFCONF
- struct.pack('iL', bytes, names.buffer_info()[0])
- ))[0]
- namestr = names.tostring()
- return [namestr[i:i+32].split('\0', 1)[0] for i in range(0, outbytes, 32)]
-
-def get_ip(ifname):
- logging.debug(" Finding ip address for %s", ifname)
- all_if = all_interfaces()
- logging.debug(" found interfaces:%s", all_if)
- if ifname in all_if :
- logging.debug(" Found %s in all_interfaces", ifname)
- else:
- logging.critical("* Couldn't find %s in list", ifname)
- ifname = all_if[0]
- logging.critical("* Using %s for interface name", ifname)
-
-
- s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
- return socket.inet_ntoa(fcntl.ioctl(
- s.fileno(),
- 0x8915, # SIOCGIFADDR
- struct.pack('256s', ifname[:15])
- )[20:24])
-
-def get_default_route(iface):
- rcroute = "127.0.0.1"
- f = open ('/proc/net/route', 'r')
- for line in f:
- words = string.split (line)
- netiface = words[0]
- route = words[2]
- flags = words[3]
- try:
- if ( netiface == iface ) and ( flags == "0003") :
- route = iplib.IPv4Address(route, notation="hex")
- t = str(route.get_dot())
- s = t.split(".")
- rcroute = s[3] + "." + s[2] + "." + s[1] + "." + s[0]
- break
- except ValueError:
- pass
- return rcroute
-
-def setup_MYTH_IP(systemconfig):
- default_interface = systemconfig["default_interface"]
- #check for dhcp in use
- if setup_MYTH_DHCP(systemconfig) == "0":
- logging.debug(" dhcp is in use, finding dhcp ip")
- defaultip = get_ip(default_interface)
- else:
- try:
- defaultip = systemconfig["Hostip"+default_interface]
- except:
- logging.debug(" Error occured finding the defaultip")
- defaultip = "127.0.0.1"
- logging.debug(" Using %s as default ip", defaultip)
- return defaultip
-
-
-def setup_MYTH_GW(systemconfig):
- default_interface = systemconfig["default_interface"]
- #check for dhcp in use
- if setup_MYTH_DHCP(systemconfig) == "0":
- logging.debug(" dhcp is in use, finding dhcp ip")
- defaultgw = get_default_route(default_interface)
- else:
- try:
- defaultgw = systemconfig["Hostgw"+default_interface]
- except:
- logging.debug(" Error occured finding the defaultgw")
- defaultgw = "127.0.0.1"
- logging.debug(" Using %s as default gw", defaultgw)
- return defaultgw
-
-
-def setup_MTYH_DNS():
- returndns = "127.0.0.1"
- try:
- f = open ('/etc/resolv.conf', 'r')
- for line in f:
- if line.startswith("nameserver"):
- print line
- returndns = line.split()[1]
- break
- except:
- logging.debug(" Couldn't open /etc/resolv.conf for myth_dns")
- logging.debug(" using %s for myth_dns", returndns)
- return returndns
-
-
-
-
-
-def flush(netdev):
- logging.debug(" Flushing %s",netdev)
- cmd = '''ip address flush dev %s''' %netdev
- mv_common.runcmd(cmd)
-
-def kill_dhcp(basedir):
- logging.debug(" _Start of kill_dhcp")
- logging.debug(" Killing off dhcpd")
- stddir = os.getcwd()
- piddir = ("%s/var/run/") %basedir
- try:
- os.chdir(piddir)
- for FILE in glob.glob("dhcpcd-*.pid"):
- f = open(FILE,'r')
- pid = f.readline()
- f.close
- cmd = "kill -9 %s" %pid
- mv_common.runcmd(cmd)
- mv_common.remove_file(FILE)
- os.chdir(stddir)
- except:
- pass
-
-def setup_nameserver(dns):
- logging.info(" Adding %s for DNS", dns)
- cmd = '''grep -q %s /etc/resolv.conf''' %dns
- status = mv_common.runcmd(cmd)
- if not status == 0 :
- cmd = ''' echo "nameserver %s" >> /etc/resolv.conf ''' %dns
- mv_common.runcmd(cmd)
-
-
-
-def setup_hostname(systemconfig):
- logging.debug(" _Start of setup_hostname")
- try:
- hostname = systemconfig["hostname"]
- except:
- logging.critical(" *Hostname could not be set")
- logging.info(" Using default value of me")
- hostname = "me"
- logging.info(" Setting the hostname to %s", hostname)
- cmd = ''' echo %s > /etc/hostname ''' %hostname
- mv_common.runcmd(cmd)
- cmd = "cat /etc/hosts | grep -v 127.0.0.1 | grep -v %s > /tmp/hosts" %hostname
- mv_common.runcmd(cmd)
- if systemconfig["mythdhcp"] == "1" :
- logging.debug(" not using dhcp")
- cmd = ''' echo 127.0.0.1 localhost > /etc/hosts '''
- mv_common.runcmd(cmd)
- cmd = ''' echo %s %s > /etc/hosts ''' %(systemconfig["mythip"], systemconfig["hostname"])
- mv_common.runcmd(cmd)
- else:
- cmd = ''' echo 127.0.0.1 %s localhost > /etc/hosts ''' %systemconfig["hostname"]
- mv_common.runcmd(cmd)
- cmd = '''cat /tmp/hosts >> /etc/hosts '''
- mv_common.runcmd(cmd)
-
-
-def write_wpafile(line,netdev):
- logging.debug(" writing out wpa_supplicant.conf file")
- logging.debug(line)
- wpafile = etcnetdir+"/"+netdev+"/wpa_supplicant.conf"
- try:
- f = open(wpafile,'w')
- f.write(line)
- f.close()
- except:
- logging.debug(" Couldn't write to %s",wpafile)
-
-def setup_wpa(netinfo,netdev):
- logging.info(" %s will use wpa for encryption",netdev)
- line = '''
-#This file was automaticly generated, any changes may be lost
-ctrl_interface=/var/run/wpa_supplicant
-network={
- ssid="%s"
- # Preshared key as an ASCII passphrase
- psk="%s"
- scan_ssid=1
- key_mgmt=WPA-EAP WPA-PSK NONE
- pairwise=CCMP TKIP
- proto=WPA RSN
-}''' %(netinfo["ESSID"],netinfo["KEY"])
- write_wpafile(line,netdev)
-
-def setup_wep(netinfo,netdev):
- logging.info(" %s will use wep for encryption",netdev)
- logging.debug(" When a packet comes along, you must wep it")
- line='''
-#This file was automaticly generated, any changes may be lost
-ctrl_interface=/var/run/wpa_supplicant
-network={
- ssid="%s"
- key_mgmt=NONE
- wep_key0=%s
- wep_tx_keyidx=0
- scan_ssid=1
- auth_alg=SHARED
-}
-''' %(netinfo["ESSID"],netinfo["KEY"])
- write_wpafile(line,netdev)
-
-
-def setup_none(netinfo,netdev):
- logging.info(" %s will not use encryption",netdev)
- line = '''
-#This file was automaticly generated, any changes may be lost
-ctrl_interface=/var/run/wpa_supplicant
-network={
- ssid="%s"
- key_mgmt=NONE
-}
-''' %netinfo["ESSID"]
- write_wpafile(line,netdev)
-
-def setup_interface(netdev,systemconfig):
- logging.debug(" _Start of setup_interface for %s",netdev)
- nettrans = {'Hostip':'ip',
- 'Hostnetmask':'netmask',
- 'HostActive':'isactive',
- 'HostDNS':'dns',
- 'HostUSEDHCP':'UseDHCP',
- 'HostGW':'GW',
- 'HostMTU':'mtu',
- 'HOST_iswireless':"wireless",
- 'HostESSID':'ESSID',
- 'HostKey':'KEY',
- 'HostUseEncryption':'ENCRYPT'}
- netinfo = {}
- #populate the netinfo dict
- for netitem in nettrans:
- if systemconfig[netitem+netdev]:
- netinfo[nettrans[netitem]] = systemconfig[netitem+netdev]
- else:
- netinfo[nettrans[netitem]] = False
- logging.debug(" %s:%s",netitem,netinfo[nettrans[netitem]])
- logging.info(" %s wireless: %s", netdev,netinfo["wireless"])
- try:
- os.makedirs(etcnetdir)
- except:
- logging.debug(" Could not create %s",etcnetdir)
-
- optionfile=etcnetdir+"/"+netdev+"/options"
- if not os.path.exists(optionfile):
- try:
- os.makedirs(etcnetdir+"/"+netdev)
- except:
- pass
- mv_common.cp_and_log(systemconfig["TEMPLATES"]+"/etcnet/eth/options", optionfile)
-
- if netinfo["isactive"] == "1" :
- change_iface_state(netdev,"enabled")
- else:
- change_iface_state(netdev,"disabled")
-
- if netinfo["wireless"] == "1" :
-
- logging.info(" Enabling wireless extensions")
- cmd = ''' sed -i -e 's/^CONFIG_WIRELESS=.*$/CONFIG_WIRLESS=yes/g' %s/%s/options''' %(etcnetdir,netdev)
- mv_common.runcmd(cmd)
- if netinfo["ENCRYPT"] == "WEP":
- setup_wep(netinfo,netdev)
- elif netinfo["ENCRYPT"] == "WPA":
- setup_wpa(netinfo,netdev)
- elif netinfo["ENCRYPT"] == "none":
- setup_none(netinfo,netdev)
-
- else:
- logging.info(" Disabling wireless extensions")
- cmd = '''sed -i -e 's/^CONFIG_WIRLESS=.*$/CONFIG_WIRLESS=no/g' %s/%s/options''' %(etcnetdir, netdev)
- mv_common.runcmd(cmd)
- #try:
- wpafile=etcnetdir+"/"+netdev+"/wpa_supplicant.conf"
- #os.remove(wpafile)
- mv_common.remove_file(wpafile)
- #except:
- #logging.debug(" Couldn't remove %s",wpafile)
-
- if netinfo["UseDHCP"] == "0" :
- logging.info(" Enabling DHCP support")
- cmd = ''' sed -i -e 's/^BOOTPROTO=.*$/BOOTPROTO=dhcp/g' %s/%s/options''' %(etcnetdir, netdev)
- mv_common.runcmd(cmd)
- else:
- logging.info(" Using static ip address of %s",netinfo["ip"])
- cmd = ''' sed -i -e 's/^BOOTPROTO=.*$/BOOTPROTO=static/g' %s/%s/options''' %(etcnetdir, netdev)
- mv_common.runcmd(cmd)
- cmd = '''echo "default via %s" > %s/%s/ipv4route''' %(netinfo["GW"], etcnetdir, netdev)
- mv_common.runcmd(cmd)
- cmd = '''echo "%s%s" > %s/%s/ipv4address ''' %(netinfo["ip"], netinfo["netmask"].split()[0], etcnetdir, netdev)
- mv_common.runcmd(cmd)
- setup_nameserver(netinfo["dns"])
-
- if netinfo["mtu"] :
- logging.info(" Setting mtu to %s", netinfo["mtu"])
- cmd = '''sed -i '/^mtu.*$/d' %s/%s/iplink''' %(etcnetdir,netdev)
- mv_common.runcmd(cmd)
- cmd = ''' echo "mtu %s" >> %s/%s/iplink''' %(netinfo["mtu"], etcnetdir,netdev)
- mv_common.runcmd(cmd)
- else:
- logging.info(" Using default mtu value")
- cmd = '''sed -i '/^mtu.*$/d' %s/%s/iplink''' %(etcnetdir,netdev)
- mv_common.runcmd(cmd)
-
-
-def change_iface_state(netdev, state):
- if state == "enabled":
- logging.info(" Activating %s", netdev)
- cmd = '''sed -i -e 's/^ONBOOT=.*$/ONBOOT=yes/g' %s/%s/options''' %(etcnetdir,netdev)
- mv_common.runcmd(cmd)
- cmd = '''sed -i -e 's/^DISABLED=.*$/DISABLED=no/g' %s/%s/options ''' %(etcnetdir,netdev)
- mv_common.runcmd(cmd)
- else:
- logging.info(" Disabling %s", netdev)
- cmd = '''sed -i -e 's/^ONBOOT=.*$/ONBOOT=no/g' %s/%s/options''' %(etcnetdir,netdev)
- mv_common.runcmd(cmd)
- cmd = '''sed -i -e 's/^DISABLED=.*$/DISABLED=yes/g' %s/%s/options ''' %(etcnetdir,netdev)
- mv_common.runcmd(cmd)
- cmd = "/sbin/ifconfig %s down" %netdev
- mv_common.runcmd(cmd)
- cmd = "ip address flush %s" %netdev
- mv_common.runcmd(cmd)
-
-def devcheck(netdev):
- cmd = ''' /sbin/ifconfig %s''' %netdev
- rc = mv_common.runcmd(cmd)
- if rc == 0 :
- return True
- else:
- return False
-
-def udev_rules(netdev):
- filename = "/etc/udev/rules.d/net.rules"
- if devcheck(netdev):
- logging.info(" Finding macaddress for %s",netdev)
- try:
- macaddress = netifaces.ifaddresses(netdev)[netifaces.AF_LINK][0]['addr']
- logging.debug(" Macaddress: %s",macaddress)
- except:
- logging.debug(" Couldn't find mac address for %s",netdev)
- return
- try:
- f = open(filename,'a')
- except:
- logging.debug(" Couldn't open %s for writing", filename)
- return
- if netdev.startswith('eth'):
- line = '''KERNEL=="eth*", SYSFS{address}=="%s", NAME="%s"''' % ( macaddress , netdev)
- elif netdev.startswith('wlan'):
- line = '''KERNEL=="wlan*", SYSFS{address}=="%s", NAME="%s"'''% ( macaddress , netdev)
- elif netdev.startswith('ath'):
- line = '''KERNEL=="ath*", SYSFS{address}=="%s", NAME="%s"''' % ( macaddress , netdev)
- logging.debug(" adding to net.rules ")
- logging.debug(" %s",line)
- f.write(line)
- f.write("\n")
- f.close()
-
-def find_active(systemconfig,this_is_install):
- interfacelist=('eth0', 'eth1', 'wlan0', 'wlan1', 'ath0')
- logging.debug(" _Start of find_active")
-
- if systemconfig["mythdhcp"] == "1":
- mv_common.remove_file("/etc/resolv.conf")
- cmd = ''' echo search lan > /etc/resolv.conf '''
- mv_common.runcmd(cmd)
- cmd = ''' echo nameserver 127.0.0.1 >> /etc/resolv.conf '''
- mv_common.runcmd(cmd)
-
- for netdev in interfacelist:
- if this_is_install:
- udev_rules(netdev)
- currentnet = "HostActive" + netdev
- try:
- systemconfig[currentnet]
- except:
- logging.debug(" %s is not defined",currentnet)
- change_iface_state(netdev, "disabled")
- continue
- if systemconfig[currentnet] == "1" :
- #check if device is present
- if devcheck(netdev) :
- setup_interface(netdev,systemconfig)
- else:
- logging.debug(" Interface %s not found in config", netdev)
- #change_iface_state(netdev, "disabled")
- else:
- change_iface_state(netdev, "disabled")
-
-def vnc_netboot_check():
- logging.debug(" Start of VNC/NETBOOT check")
- vnc = False
- netboot = False
- try:
- f = open('/proc/cmdline', 'r')
- bootoptions = f.readlines()
- f.close()
- except:
- logging.critical(" *Couldn't open /proc/cmdline")
- logging.debug(" Assuming it's ok to fiddle with the network")
- return True
- bootoptions = bootoptions[0]
- if re.match("vnc",bootoptions) != None :
- logging.debug(" Found VNC option")
- vnc = True
- if re.match("nfsroot",bootoptions) != None :
- logging.debug(" Found netboot option")
- netboot = True
-
- return (vnc or netboot)
-
-def start_network():
- if not vnc_netboot_check():
- logging.info(" Restarting network")
- cmd ="/etc/net/scripts/network.init reload"
- mv_common.runcmd(cmd)
- cmd ="/etc/net/scripts/network.init restart"
- mv_common.runcmd(cmd)
- else:
- logging.info(" Will not restart network due to netboot/vnc")
-
-
-def stop_network():
- if not vnc_netboot_check():
- logging.info(" Stopping network")
- cmd ="/etc/net/scripts/network.init stop"
- mv_common.runcmd(cmd)
- kill_dhcp("")
- interfacelist=('eth0', 'eth1', 'wlan0', 'wlan1', 'ath0')
- for i in interfacelist:
- flush(i)
- else:
- logging.info(" Will not stop network due to netboot/vnc")
- pass
-
-def hostname_change_check(systemconfig):
- restartfe = False
- logging.debug(" _Start of hostname_change_check")
- oldhostname = socket.gethostname()
- #oldhostname = "crap"
- newhostname = systemconfig["hostname"]
- mv_root = systemconfig["MVROOT"]
- logging.debug(" Old hostname: %s", oldhostname)
- logging.debug(" New hostname: %s", newhostname)
- if oldhostname != newhostname :
- logging.info(" Changing hostname in database to match new hostname")
- cmd ="%s/bin/restore_default_settings.sh -cuhostname -o -h%s" %(mv_root, oldhostname)
- mv_common.runcmd(cmd)
- logging.info(" Changing hostname to %s", newhostname)
- cmd = "hostname %s" %newhostname
- mv_common.runcmd(cmd)
- if systemconfig["SystemType"] != "Frontend_only" :
- logging.info(" Restarting backend")
- mv_common.stop_service("mythbackend")
- mv_common.start_service("mythbackend")
- restartfe = True
- else:
- logging.debug(" old and new hostnames matched, leaving things along")
- logging.debug(" __End of hostname_change_check")
- return restartfe
-
-
-
-def setup_network (systemconfig,this_is_install):
- logging.info("____Start of network____")
- logging.info(" Setting up the network")
- restartfe = hostname_change_check(systemconfig)
- setup_hostname(systemconfig)
- find_active(systemconfig,this_is_install)
- start_network()
- logging.info("__End of network\n")
- return restartfe
-
-
-
-##this is used by the install process to start the network
-def install_network_setup(systemconfig):
- logging.info("____Start of network_install____")
- logging.info(" Setting up the network")
- #setup_MYTH_vars
- setup_hostname(systemconfig)
- stop_network()
- find_active(systemconfig)
- start_network()
- logging.info("__End of network install \n")
-
-
diff --git a/abs/mv-core/MythVantage-config/mv_screensaver.py b/abs/mv-core/MythVantage-config/mv_screensaver.py
deleted file mode 100755
index 2da970c..0000000
--- a/abs/mv-core/MythVantage-config/mv_screensaver.py
+++ /dev/null
@@ -1,199 +0,0 @@
-# -*- coding: utf-8 -*-
-import logging, mv_common
-import re
-import os
-
-
-def mplayer_saver_check (cmd,templatefile):
- logging.debug(" Checking for heartbeat command in mplayer.conf")
- mplayerconf = "/etc/mplayer/mplayer.conf"
- if not os.path.exists(mplayerconf):
- logging.debug(" copying in mplayer template file")
- mv_common.cp_and_log(templatefile, mplayerconf)
-
- try:
- f = open(mplayerconf, 'r')
- mplayerconf_contents = f.readlines()
- f.close()
- except:
- logging.debug(" Couldn't open %s for reading",mplayerconf)
- mplayerconf_contents = "#\n"
-
- try:
- f = open(mplayerconf, 'w')
- except:
- logging.debug(" Couldn't open %s for writing",mplayerconf)
- return
-
- for line in mplayerconf_contents:
- if re.match("^.*stop-xscreensaver",line):
- continue
- elif re.match("^.*heartbeat-cmd",line):
- continue
- else:
- f.write(line)
-
- f.write("stop-xscreensaver = 0\n")
- line='''heartbeat-cmd="%s"\n''' %cmd
- f.write(line)
- f.close()
-
-
-def killxscreensaver():
- logging.info(" Stopping xscreensaver")
- cmd="xscreensaver-command --exit "
- mv_common.runcmd(cmd)
- cmd="killall xscreensaver "
- mv_common.runcmd(cmd)
-
-def killgscreensaver():
- logging.info(" Stopping gnome-screensaver")
- cmd="gnome-screensaver-command --exit "
- mv_common.runcmd(cmd)
- cmd="killall gnome-screensaver "
- mv_common.runcmd(cmd)
-
-
-def setup_x_screensaver(idle,theme,screenconfigfile,templatefile):
- logging.info(" Configuring X screensaver")
- killgscreensaver()
- logging.debug(" Why can't xscreensaver have a nice configuration !")
-
- if not os.path.exists(screenconfigfile):
- logging.debug(" copying in new template file")
- mv_common.cp_and_log(templatefile,screenconfigfile)
-
- try:
- f = open(screenconfigfile, 'r')
- screenconfigcontents=f.readlines()
- f.close()
- except:
- logging.info("Couldn't open %s for reading",screenconfigfile)
- return
- try:
- f = open(screenconfigfile, 'w')
- except:
- logging.info("Couldn't open %s for writing",screenconfigfile)
- return
-
- startline=0
- foundline=0
-
- for k, line in enumerate(screenconfigcontents):
- if re.match("programs:",line):
- startline = k
- if re.search(theme,line):
- foundline = k
- themenumber=foundline-startline-2
-
- for line in screenconfigcontents:
- if re.match("selected.*$",line):
- continue
-
- if re.match("timeout",line):
- logging.info(" Setting idletime to %s",idle)
- outline = "timeout: 0:%s:00 \n" %idle
- f.write(outline)
- elif re.match("mode",line):
- if theme == "Random":
- logging.info(" Setting theme to %s", "Random")
- outline = "mode: random \n"
- f.write(outline)
- outline = "selected: -1 \n"
- f.write(outline)
- continue
-
- elif theme == "Blank":
- logging.info(" Setting theme to %s", "blank")
- outline = "mode: blank \n"
- f.write(outline)
- outline = "selected: -1 \n"
- f.write(outline)
- continue
-
- else:
- logging.info(" Setting theme to %s", theme)
- outline = "mode: one\n"
- f.write(outline)
- logging.debug(" Theme number is %s",themenumber)
- outline = "selected: %s\n" %themenumber
- f.write(outline)
- continue
-
- else:
- outline = line
- f.write(outline)
- f.close()
- logging.debug("__End of xscreensaver")
-
-def setup_gnome_screensaver(theme,idletime):
- logging.info(" Configuring gnome screensaver")
-
- logging.info(" Disabling lock screen")
- cmd='''gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type bool --set /apps/gnome-screensaver/lock_enabled false'''
- mv_common.runcmd(cmd)
-
- logging.info(" Setting idletime to %s",idletime)
- cmd='''gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type int -s "/apps/gnome-screensaver/idle_delay" %s''' %idletime
- mv_common.runcmd(cmd)
-
- logging.info(" Setting mode to single")
- cmd='''gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string -s "/apps/gnome-screensaver/mode" single'''
- mv_common.runcmd(cmd)
-
- if theme == "Random":
- logging.info(" setting theme to random")
- cmd='''gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string -s "/apps/gnome-screensaver/mode" random'''
- mv_common.runcmd(cmd)
-
- elif theme == "Blank":
- logging.info(" setting theme to blank")
- cmd='''gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string -s "/apps/gnome-screensaver/themes" blank'''
- mv_common.runcmd(cmd)
-
- else:
- logging.info(" setting theme to %s",theme)
- cmd='''gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --set --type list --list-type=string /apps/gnome-screensaver/themes [screensavers-%s]''' %theme
- mv_common.runcmd(cmd)
-
- killxscreensaver()
- logging.info("__End gnome screensaver")
-
-
-
-
-def setup_screensaver (systemconfig,data_config):
- logging.info("____Start of screensaver configuration____")
- screensavertype = systemconfig["Screensavertype"]
- theme = systemconfig["Screensavertheme"]
- idletime = systemconfig["Screensaveridle"]
- configfile = data_config.MYTHHOME+"/.xscreensaver"
- templatefile = systemconfig["TEMPLATES"]+"/xscreensaver.template"
- mtemplate = systemconfig["TEMPLATES"]+"/mplayer.conf.template"
-
- if screensavertype == "xscreensaver":
- mv_common.pacinstall("xscreensaver")
- mv_common.pacremove("gnome-screensaver")
- setup_x_screensaver(idletime, theme, configfile, templatefile)
- mplayer_saver_check("/usr/bin/xscreensaver-command -deactivate &",mtemplate)
-
- elif screensavertype == "gscreensaver":
- mv_common.pacinstall("xscreensaver")
- mv_common.pacinstall("gnome-screensaver")
- setup_gnome_screensaver(theme,idletime)
- mplayer_saver_check("/usr/bin/gnome-screensaver-command -p &",mtemplate)
-
- elif screensavertype == "none":
- mv_common.pacremove("xscreensaver")
- mv_common.pacremove("gnome-screensaver")
- killgscreensaver()
- killxscreensaver()
-
- elif screensavertype == "tinker" :
- logging.debug(" screensaver tinker mode detected")
- else:
- logging.debug(" Unknown screensaver")
- logging.info("__End of screensaver\n")
-
-
-
diff --git a/abs/mv-core/MythVantage-config/mv_smolt.py b/abs/mv-core/MythVantage-config/mv_smolt.py
deleted file mode 100755
index 5fd3722..0000000
--- a/abs/mv-core/MythVantage-config/mv_smolt.py
+++ /dev/null
@@ -1,59 +0,0 @@
-# -*- coding: utf-8 -*-
-import logging
-import mv_common
-
-def read_release(stype):
- if stype == "LinHES":
- rfile = "/etc/LinHES-release"
- else:
- rfile = "/etc/MythVantage-release"
-
- try:
- f= open(rfile,'r')
- releasename = f.readlines()[0]
- f.close()
- except:
- logging.debug(" Couldn't open %s",rfile)
- releasename = "unknown"
-
- return releasename
-
-
-def setup_smolt_type(SystemType,Remotetype,RunFrontend,mythhome,stype):
- logging.debug("____Start of setup_smolt_type____")
- releasename = read_release(stype)
-
- if SystemType == "Standalone":
- smoltsystem = 6
- MVRELEASE="%s (Standalone)" %releasename
- elif SystemType == "Master_backend":
- if RunFrontend == "1":
- smoltsystem = 2
- MVRELEASE="%s (MBE with Frontend)" %releasename
- else:
- smoltsystem=1
- MVRELEASE="%s (MBE)" %releasename
- elif SystemType == "Slave_backend":
- if RunFrontend == "1" :
- smoltsystem = 4
- MVRELEASE="%s (SLAVE with Frontend)" %releasename
- else:
- smoltsystem = 5
- MVRELEASE="%s (SLAVE)" %releasename
- elif SystemType == "Frontend_only":
- smoltsystem = 3
- MVRELEASE="%s ( Frontend only)" %releasename
-
- logging.debug(" smolt type is %s : %s", MVRELEASE,smoltsystem)
- smoltfile = mythhome+"/.mythtv/smolt.info"
- cmd = ''' echo "%s" > /etc/os_myth_release ''' %MVRELEASE
- mv_common.runcmd(cmd)
-
- cmd = '''echo "systemtype=%s" > %s''' %(smoltsystem,smoltfile)
- mv_common.runcmd(cmd)
-
- cmd = '''echo "remote=%s" >> %s ''' %(Remotetype,smoltfile)
- mv_common.runcmd(cmd)
-
- logging.debug("__End of setup_smolt_type")
-
diff --git a/abs/mv-core/MythVantage-config/mv_software.py b/abs/mv-core/MythVantage-config/mv_software.py
deleted file mode 100755
index e5b96b2..0000000
--- a/abs/mv-core/MythVantage-config/mv_software.py
+++ /dev/null
@@ -1,41 +0,0 @@
-# -*- coding: utf-8 -*-
-import logging, mv_common
-import os, re
-
-def setup_software(systemconfig, data_config):
- logging.info("____Start of Software install____")
- default_disabled = ("mythphone", "mytharchive", "mythbrowser", "mythnews",
- "mythgame", "mythflix", "mythweather",
- "mythappletrailers", "mythstream", "mythvodka")
-
- default_installed=("mythcontrols", "mythgallery", "mythmovies",
- "mythmusic", "mythsmolt", "mythvideo")
- other_pkg=("miro", "xe", "romdb", "xine", "dvdcss", "webmin" , "fuppes")
-
- for pkg in default_disabled:
- try:
- if systemconfig[pkg] == "1":
- mv_common.pacinstall(pkg)
- else:
- mv_common.pacremove(pkg)
- except:
- logging.debug(" ERROR-- %s is not defined", pkg)
-
- for pkg in default_installed:
- try:
- if systemconfig[pkg] == "0":
- mv_common.pacremove(pkg)
- else:
- mv_common.pacinstall(pkg)
- except:
- logging.debug(" ERROR-- %s is not defined", pkg)
-
- for pkg in other_pkg:
- try:
- if systemconfig[pkg] == "1":
- mv_common.pacinstall(pkg)
- elif systemconfig[pkg] == "0":
- mv_common.pacremove(pkg)
- except:
- logging.debug(" ERROR-- %s is not defined", pkg)
- logging.info("__End Software\n ") \ No newline at end of file
diff --git a/abs/mv-core/MythVantage-config/mv_webuser.py b/abs/mv-core/MythVantage-config/mv_webuser.py
deleted file mode 100755
index a8517a8..0000000
--- a/abs/mv-core/MythVantage-config/mv_webuser.py
+++ /dev/null
@@ -1,21 +0,0 @@
-# -*- coding: utf-8 -*-
-import logging, mv_common
-#import os
-
-def setup_web_auth(UseMythWEB_auth):
- logging.info("____Start of setup_web_auth____")
- if UseMythWEB_auth == str(1):
- #enable auth
- logging.info(" Enabling authorization for mythweb")
- cmd='''sed -i "s/^.*include.*auth-inc.conf.*$/include \\"\/etc\/lighttpd\/auth-inc.conf\\"/g" /etc/lighttpd/lighttpd.conf'''
- mv_common.runcmd(cmd)
- else:
- #disable auth
- logging.info(" Disabling authorization for mythweb")
- cmd='''sed -i "s/^.*include.*auth-inc.conf.*$/#include \\"\/etc\/lighttpd\/auth-inc.conf\\"/g" /etc/lighttpd/lighttpd.conf'''
- mv_common.runcmd(cmd)
- logging.debug("Restarting lighttpd")
- cmd="sudo sv restart lighttpd"
- mv_common.runcmd(cmd)
- logging.info("__End of webauth\n")
-
diff --git a/abs/mv-core/MythVantage-config/myth_user_call b/abs/mv-core/MythVantage-config/myth_user_call
deleted file mode 100644
index 0479895..0000000
--- a/abs/mv-core/MythVantage-config/myth_user_call
+++ /dev/null
@@ -1,172 +0,0 @@
-#!/bin/bash
-#Wrapper script to manage USERNAME accounts + web security
-# myth_USERNAME_all -c add -u USERNAME
-# myth_USERNAME_all -c delete -u USERNAME
-# myth_USERNAME_all -c pass -u USERNAME -p pass
-# myth_USERNAME_all -c web -u USERNAME -p pass
-
-INIT_CHECK=TRUE
-FULL_CALL="$@"
-function CHROOT_CHECK {
- INIT=`ps -p 1 -o comm=`
- if [ x$INIT = xrunit ]
- then
- CHROOT_NEEDED=FALSE
- else
- CHROOT_NEEDED=TRUE
- fi
-}
-
-function store_commands () {
- echo "$FULL_CALL" >> /root/myth_user_call.out
- chmod 600 /root/myth_user_call.out
-}
-
-
-function add_user() {
- if [ $CHROOT_NEEDED = TRUE ]
- then
- echo "calling myth_call_user in chroot to add user"
- store_commands
- else
- echo "adding user $USERNAME"
- useradd -m -s /bin/bash $USERNAME -G audio,video,optical,storage,users
- fi
-
-}
-
-
-function del_user() {
- if [ $CHROOT_NEEDED = TRUE ]
- then
- echo "calling myth_call_user in chroot to delete user"
- store_commands
- else
- echo "removing user $USERNAME"
- userdel $USERNAME
- fi
-
-}
-
-
-function pass_change() {
- if [ $CHROOT_NEEDED = TRUE ]
- then
- echo "calling myth_call_user in chroot to change password"
- store_commands
- else
- echo "changing password for $USERNAME"
- echo $USERNAME:$PASSWORD | chpasswd
- fi
-
-}
-
-
-function web_security {
-
- grep -q ${USERNAME}: /etc/lighttpd/lighttpd.user
- if [ $? = 0 ]
- then
- #delete user
- sed -i "/${USERNAME}\:/d" /etc/lighttpd/lighttpd.user
- fi
- echo "${USERNAME}:${PASSWORD}" >> /etc/lighttpd/lighttpd.user
-
-}
-
-function ARG_ERR() {
- if [ x$OPTARG = "x" ]
- then
- echo "$SWITCH NEEDS AND ARG"
- exit 11
- fi
-}
-
-
-function print_help {
-
- echo "Valid options are:"
- echo " -c (add|delete|pass|web)"
- echo " -u USERNAMEname"
- echo " -p password"
- exit 1
-}
-
-if [ $# -eq 0 ]
-then
- print_help
-fi
-
-declare -r OPTSTRING="c:u:p:i"
-while getopts "$OPTSTRING" SWITCH
-do
- case $SWITCH in
-
- c) ARG_ERR
- OPERATION=$OPTARG
- ;;
- u) ARG_ERR
- USERNAME=$OPTARG
- ;;
- p) ARG_ERR
- PASSWORD=$OPTARG
- ;;
- i) INIT_CHECK=FALSE
-
- esac
-done
-
-if [ $INIT_CHECK = TRUE ]
-then
- CHROOT_CHECK
-else
- CHROOT_NEEDED=FALSE
-fi
-
-case $OPERATION in
- add)
- if [ x$USERNAME = x ]
- then
- print_help
- fi
- add_user
- ;;
- delete)
- if [ x$USERNAME = x ]
- then
- print_help
- fi
- del_user
- ;;
- pass)
- if [ x$USERNAME = x ]
- then
- print_help
- fi
-
- if [ x$PASSWORD = x ]
- then
- print_help
- fi
- pass_change
- ;;
-
- web)
- if [ x$USERNAME = x ]
- then
- print_help
- fi
-
-
- if [ x$PASSWORD = x ]
- then
- print_help
- fi
- echo "adding webUSERNAME $USERNAME with pass $PASSWORD"
- web_security
- ;;
- *) print_help
- ;;
-esac
-
-
diff --git a/abs/mv-core/MythVantage-config/myth_user_call.py b/abs/mv-core/MythVantage-config/myth_user_call.py
deleted file mode 100755
index 63915a4..0000000
--- a/abs/mv-core/MythVantage-config/myth_user_call.py
+++ /dev/null
@@ -1,159 +0,0 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
-#Wrapper script to manage USERNAME accounts + web security
-# myth_USERNAME_all -c add -u USERNAME
-# myth_USERNAME_all -c delete -u USERNAME
-# myth_USERNAME_all -c pass -u USERNAME -p pass
-# myth_USERNAME_all -c web -u USERNAME -p pass
-
-import pexpect, sys, time
-import os, re, getopt
-import mv_common
-
-
-
-
-def chroot_check():
- if not INIT_CHECK :
- return False
- cmd = '''ps -p 1 -o comm='''
- init = mv_common.runcmd_output(cmd).strip()
- if init == "runit":
- return False
- else:
- return True
-
-
-def store_commands(full_call):
- file_name = "/root/myth_user_call.out"
- try:
- f = open(file_name,'a')
- except:
- print "%s could not be opened" % file_name
- sys.exit(1)
- f.write(full_call)
- f.write("\n")
- f.close()
- try:
- os.chmod(600,file_name)
- except:
- pass
-
-
-def add_user(username,full_call):
- if chroot_check() :
- print "calling myth_call_user in chroot to add user"
- store_commands(full_call)
- else:
- print "Adding user %s" %username
- cmd = '''useradd -m -s /bin/bash %s -G audio,video,optical,storage,users''' %username
- mv_common.runcmd(cmd)
- cmd = ''' usermod -a -G mythtv %s ''' %username
-
-
-def del_user(username,full_call):
- if chroot_check() :
- print "calling myth_call_user in chroot to del user"
- store_commands(full_call)
- else:
- print "Removing user %s" %username
- cmd = '''userdel %s ''' %username
- mv_common.runcmd(cmd)
-
-
-def pass_change(username,password,full_call) :
- if chroot_check() :
- print "calling myth_call_user in chroot to change password"
- store_commands(full_call)
- else:
- print "changing password for %s" %username
- passwd = pexpect.spawn("/usr/bin/passwd %s" % username)
-
- for repeat in (1, 2):
- passwd.expect("password: ")
- passwd.sendline(password)
- time.sleep(0.1)
-
-def web_security(username,password) :
- file_name = "/etc/lighttpd/lighttpd.user"
- file_contents = ''
- if os.path.exists(file_name):
- try:
- f = open(file_name,'r')
- file_contents = f.readlines()
- except:
- print " couldn't read %s" % file_name
- try:
- f = open(file_name,'w')
- except:
- print "%s could not be opened for writing" % file_name
- return
-
- for line in file_contents:
- if not re.search(username, line):
- f.write(line)
- line = "%s:%s" %(username, password)
- f.write(line)
- f.write("\n")
- f.close()
-
-
-def usage ():
- print "Valid options are:"
- print " -c (add|delete|pass|web)"
- print " -u USERNAME"
- print " -p password"
- sys.exit(0)
-
-def main(argv):
- global INIT_CHECK
- full_call = ""
- INIT_CHECK = True
- try:
- opts, args = getopt.getopt(argv, 'c:u:p:ih' )
- except getopt.GetoptError, why:
- print why
- usage()
- print "exception happened"
- sys.exit(2)
-
- for opt, arg in opts:
- if opt in ("-h", "--help"):
- usage()
- sys.exit(0)
- elif opt in ("-c") :
- module = arg
- full_call += ''' -c %s ''' %re.escape(arg)
- elif opt in ("-u") :
- username = arg
- full_call += ''' -u %s ''' %re.escape(arg)
- elif opt in ("-p") :
- password = arg
- full_call += ''' -p %s ''' %re.escape(arg)
- elif opt in ("-i") :
- INIT_CHECK = False
- full_call += ''' -i '''
- try:
- username
- except:
- usage()
-
- if module == "add":
- add_user(username,full_call)
- elif module == "delete":
- del_user(username,full_call)
- elif module == "pass":
- try:
- password
- except:
- print "needs a password"
- usage()
- pass_change(username,password,full_call)
- elif module == "web":
- web_security(username,password)
- else:
- usage()
-
-if __name__ == "__main__":
- main(sys.argv[1:])
-
diff --git a/abs/mv-core/MythVantage-config/mythvantage-release b/abs/mv-core/MythVantage-config/mythvantage-release
deleted file mode 100644
index 0ffe69d..0000000
--- a/abs/mv-core/MythVantage-config/mythvantage-release
+++ /dev/null
@@ -1 +0,0 @@
-MythVantage 1.6 Bust a move
diff --git a/abs/mv-core/MythVantage-config/networkconfig.sh b/abs/mv-core/MythVantage-config/networkconfig.sh
deleted file mode 100644
index 5611265..0000000
--- a/abs/mv-core/MythVantage-config/networkconfig.sh
+++ /dev/null
@@ -1,313 +0,0 @@
-#!/bin/bash
-#. /etc/profile
-#. /etc/systemconfig
-#BASE=/tmp
-ETCNETDIR=$BASE/etc/net/ifaces
-
-
-
-function kill_dhcp ()
-{
-for i in ${BASE}/etc/dhcpc/dhcpcd-*.pid
-do
- if [ -f ${i} ]
- then
- pid=`cat ${i}`
- kill -9 $pid
- rm -f ${i}
- fi
- if [ x$1 = xflush ]
- then
- for ifdev in eth0 wlan0 eth1 wlan1
- do
- echo ${i} |grep $ifdev
- status=$?
- if [ $status = 1 ]
- then
- ip address flush $ifdev
- fi
- done
- fi
-
-done
-
-}
-
-function setup_nameserver(){
-grep -q $1 ${BASE}/etc/resolv.conf
-status=$?
-if [ ! $status = 0 ]
-then
- echo "nameserver $1" >> ${BASE}/etc/resolv.conf
-fi
-
-}
-
-function change_iface_state () {
- if [ x$2 = xenabled ]
- then
- echo "setting $1 to active"
- sed -i -e 's/^ONBOOT=.*$/ONBOOT=yes/g' $ETCNETDIR/$1/options
- sed -i -e 's/^DISABLED=.*$/DISABLED=no/g' $ETCNETDIR/$1/options
- else
- echo "setting $1 to inactive"
- if [ -e $ETCNETDIR/$1/options ]
- then
- sed -i -e 's/^ONBOOT=.*$/ONBOOT=no/g' $ETCNETDIR/$1/options
- sed -i -e 's/^DISABLED=.*$/DISABLED=yes/g' $ETCNETDIR/$1/options
- fi
- /sbin/ifconfig $1 down
- ip address flush $1
- fi
-
-}
-
-function setup_interfaces() {
- local IS_WIRELESS
- local ip
- local netmask
- local isactive
- local dns
- local UseDHCP
- local GW
- local ESSID
- local KEY
- local ENCRYPT
- local TEMPNET
- IS_WIRELESS=false
-
- #local ip
- TEMPNET="Hostip"$1
- echo $TEMPNET
- eval ip=\$${TEMPNET}
-
- TEMPNET=Hostnetmask$1
- eval netmask=\$${TEMPNET}
- netmask=`echo "$netmask" | cut -d " " -f1`
-
- TEMPNET=HostActive$1
- eval isactive=\$${TEMPNET}
-
- TEMPNET=HostDNS$1
- eval dns=\$${TEMPNET}
-
- TEMPNET="HostUSEDHCP"$1
- eval UseDHCP=\$${TEMPNET}
-
- TEMPNET=HostGW$1
- eval GW=\$${TEMPNET}
-
- TEMPNET=HOST_iswireless$1
- eval wireless=\$${TEMPNET}
-
-
-
-
- if [ x$wireless = x1 ]
- then
- IS_WIRELESS=TRUE
- TEMPNET=HostESSID$1
- eval ESSID=\$${TEMPNET}
-
- TEMPNET="HostKey"$1
- eval KEY=\$${TEMPNET}
-
- TEMPNET=HostUseEncryption$1
- eval ENCRYPT=\$${TEMPNET}
- fi
-
-
- echo "Setup $1 in progress, wireless: $IS_WIRELESS"
-
- if [ ! -d $ETCNETDIR/$1 ]
- then
- mkdir -p $ETCNETDIR/$1
- fi
-
- if [ ! -f $ETCNETDIR/$1/options ]
- then
- cp -f $TEMPLATES/etcnet/eth/options $ETCNETDIR/$1/options
- fi
-
- if [ x$isactive = x1 ]
- then
- change_iface_state $1 enabled
- #echo "setting $1 to active"
- #sed -i -e 's/^ONBOOT=.*$/ONBOOT=yes/g' $ETCNETDIR/$1/options
- #sed -i -e 's/^DISABLED=.*$/DISABLED=no/g' $ETCNETDIR/$1/options
- else
- change_iface_state $1 disabled
- #echo "setting $1 to inactive"
- #sed -i -e 's/^ONBOOT=.*$/ONBOOT=no/g' $ETCNETDIR/$1/options
- #sed -i -e 's/^DISABLED=.*$/DISABLED=yes/g' $ETCNETDIR/$1/options
- fi
-
- if [ x$IS_WIRELESS = xTRUE ]
- then
- echo "setting $1 wireless"
- sed -i -e 's/^CONFIG_WIRELESS=.*$/CONFIG_WIRLESS=yes/g' $ETCNETDIR/$1/options
- #set the key and essid
- echo "essid $ESSID" > $ETCNETDIR/$1/iwconfig
- if [ x$ENCRYPT = x1 ]
- then
- echo "key $KEY" >> $ETCNETDIR/$1/iwconfig
- fi
-
- else
- echo "disabling wireless"
- sed -i -e 's/^CONFIG_WIRLESS=.*$/CONFIG_WIRLESS=no/g' $ETCNETDIR/$1/options
- fi
-
-
-
-
- if [ x$UseDHCP = x0 ]
- then
- echo using dhcp
- sed -i -e 's/^BOOTPROTO=.*$/BOOTPROTO=dhcp/g' $ETCNETDIR/$1/options
-
- else
- echo "using static ip"
- sed -i -e 's/^BOOTPROTO=.*$/BOOTPROTO=static/g' $ETCNETDIR/$1/options
- echo "default via $GW" > $ETCNETDIR/$1/ipv4route
- echo "$ip$netmask" > $ETCNETDIR/$1/ipv4address
- setup_nameserver $dns
- fi
-}
-
-
-function find_active () {
-#HostActiveeth1="1"
-rm -f ${BASE}/etc/resolv.conf
-if [ x$MYTHDHCP = x1 ]
- then
- #add 127.0.0.1 to /etc/resolv.conf
- echo "search lan" > ${BASE}/etc/resolv.conf
- echo "nameserver 127.0.0.1" >> ${BASE}/etc/resolv.conf
- fi
-
-for i in eth0 eth1 wlan0 wlan1
-do
- CURRENTIF="HostActive"$i
- eval IFSTATE=\$${CURRENTIF}
- echo $IFSTATE "---"
- echo $i
- if [ x$IFSTATE = x1 ]
- then
- setup_interfaces $i
- else
- change_iface_state $i disabled
- fi
-done
-
-}
-
-function setup_hostname {
-#set the hostname
-if [ ! x$hostname = x ]
-then
- echo $hostname > ${BASE}/etc/hostname
- cat $BASE/etc/hosts |grep -v 127.0.0.1|grep -v $hostname > /tmp/hosts
- #cat $BASE/etc/hosts |grep -v 127.0.0.1|grep -v $hostname | grep -v $ip > /tmp/hosts
-
- if [ x$MYTHDHCP = x1 ]
- then
- echo "127.0.0.1 localhost " > ${BASE}/etc/hosts
- echo "$MYTHIP $hostname " >> ${BASE}/etc/hosts
- else
- echo "127.0.0.1 $hostname localhost " > ${BASE}/etc/hosts
- fi
- cat /tmp/hosts >> ${BASE}/etc/hosts
-fi
-
-kill_dhcp
-}
-
-function vnc_check() {
- CMDLINE=$(cat /proc/cmdline)
- echo $CMDLINE |grep -q vnc
- USEVNC=$?
- echo $CMDLINE |grep -q nfsroot
- NETBOOT=$?
- echo $USEVNC
- if [ ! x$USEVNC = x0 ]
- then
- echo "not using vnc"
- if [ ! x$NETBOOT = x0 ]
- then
- echo "not using netboot"
- else
- echo "using netboot"
- USEVNC=0
- fi
-
- else
- echo " using vnc"
- fi
-}
-
-function setup_MYTH_vars {
- TEMPMYTH="Hostip"$default_interface
- #echo $TEMPMYTH
- eval MYTHIP=\$${TEMPMYTH}
-
- TEMPMYTH="HostUSEDHCP"$default_interface
- eval MYTHDHCP=\$${TEMPMYTH}
-
-
-
-}
-
-
-
-
-function start_network {
-if [ ! $USEVNC = 0 ]
-then
- /etc/net/scripts/network.init reload
- /etc/net/scripts/network.init restart
-else
- echo "VNC/NETBOOT in use, will NOT restart network"
-fi
-
-}
-
-function setup_network {
- setup_MYTH_vars
- setup_hostname
- find_active
-}
-
-
-function stop_network {
-if [ ! $USEVNC = 0 ]
-then
- echo "stopping the network"
- kill_dhcp flush
- ip address flush dev eth0 2>&1 >/dev/null
- ip address flush dev eth1 2>&1 >/dev/null
- ip address flush dev wlan0 2>&1 >/dev/null
- ip address flush dev wlan1 2>&1 >/dev/null
-else
- echo "VNC/NETBOOT in use, will NOT restart network"
-fi
-
-}
-
-
-#this is used by the install process to start the network
-function install_network_setup {
- setup_MYTH_vars
- setup_hostname
- stop_network
- find_active
- start_network
-
-}
-
-
-
-
-
-
-
diff --git a/abs/mv-core/MythVantage-config/remove_service.sh b/abs/mv-core/MythVantage-config/remove_service.sh
deleted file mode 100755
index 6cc4b4f..0000000
--- a/abs/mv-core/MythVantage-config/remove_service.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/bash
-SERVICE_DIR=/var/service
-SCRIPT_DIR=/etc/sv
-if [ -e $SERVICE_DIR/$1 ]
-then
- echo "removing"
- rm $SERVICE_DIR/$1
-fi
diff --git a/abs/mv-core/MythVantage-config/restore_default_settings.sh b/abs/mv-core/MythVantage-config/restore_default_settings.sh
deleted file mode 100755
index dcf5e23..0000000
--- a/abs/mv-core/MythVantage-config/restore_default_settings.sh
+++ /dev/null
@@ -1,362 +0,0 @@
-#!/bin/bash
-. /etc/profile
-. /etc/systemconfig
-shopt -s -o nounset
-echo $@ >> /tmp/restore.out
-#TEMPLATES="/usr/share/templates/settings"
-TEMPLATES="$TEMPLATES/settings"
-TABLES="settings keybindings"
-MYTHDBUSER=mythtv
-MYTHTVPASSWD=mythtv
-declare -r OPTSTRING="c:e:t:d:h:s:a:z:Ho"
-Thistemplate=""
-declare -i OVERRIDE=0
-declare -i EVERYTHING=0
-
-
-function CMD_DEFINE () {
- #add override check
- if [ x$Thistemplate = xsyssettings -a $OVERRIDE -eq 1 ]
- then
- MYSQLCMD="mysql --local-infile -s -u$MYTHDBUSER -p$MYTHTVPASSWD -h$ovdbhost mythconverg -B --exec"
- MYSQLCMD_C="mysql -u$MYTHDBUSER -p$MYTHTVPASSWD -h$ovdbhost mythconverg -B --exec"
- MYSQLCMD_UPDATE_HOST="UPDATE settings set data='$oldhostname' where value='HostMyhostname' and hostname=\"$hostname\";"
- else
- MYSQLCMD="mysql --local-infile -s -u$MYTHDBUSER -p$MYTHTVPASSWD -h$dbhost mythconverg -B --exec"
- MYSQLCMD_C="mysql -u$MYTHDBUSER -p$MYTHTVPASSWD -h$dbhost mythconverg -B --exec"
- MYSQLCMD_UPDATE_HOST="select hostname from settings;"
- fi
-}
-
-function SQL_DEFINE () {
- thostname=`echo ${hostname}|tr -C [:alpha:] _`
- echo "Using $thostname for temp table postfix"
-
- #$1 is the table name
- if [ $1 = "settings" ]
- then
- ALTERSQL="Alter table temp_${1}_${thostname} add unique ( value )"
- else
- ALTERSQL=";"
- fi
-
- CREATESQL="create table temp_${1}_${thostname} like $1;"
- COPY_TMP_SQL="replace into temp_${1}_${thostname} (select * from $1 where hostname=\"$hostname\");"
- INSERTSQL="LOAD DATA local INFILE '/tmp/$1.txt' REPLACE INTO TABLE temp_${1}_${thostname} FIELDS TERMINATED BY '\t';"
- #INSERTSQL="LOAD DATA local INFILE '$TEMPLATES/$Thistemplate/$1.txt' REPLACE INTO TABLE temp_${1}_${hostname} FIELDS TERMINATED BY '\t';"
- DROPSQL="delete from $1 where hostname=\"$hostname\";"
- COPY_BCK_SQL="replace into $1 (select * from temp_${1}_${thostname} where hostname=\"$hostname\");"
- DROP_TABLE="Drop table temp_${1}_${thostname}"
-}
-
-function ARG_ERR() {
- if [ x$OPTARG = "x" ]
- then
- echo "$SWITCH NEEDS AND ARG"
- exit 11
- fi
-}
-
-function ALSADEVICE () {
-#ALSA:hw:1,4
- if [ x$Audiotype = xALSA ]
- then
- SoundDevice=ALSA:$SoundDevice
- MixerDevice="ALSA:default"
- else
- MixerDevice="/dev/mixer"
- fi
-
-}
-
-
-
-if [ $# -eq 0 ]
-then
- echo "Valid options are:"
- echo " -c (save|restore|load|uhostname|BECONFIG|ZIP|ACCESSCONTROL)"
- echo " -t (syssettings|hostsettings)"
- echo " -d databasename"
- echo " -h hostname"
- echo " -s systemtype (master|slave|standalone|frontendonly)"
- echo " -a ipaddress"
- echo " -z zipcode"
- echo " -o override (only used upgrade installs)"
- exit 1
-fi
-
-
-
-
-while getopts "$OPTSTRING" SWITCH
-do
- case $SWITCH in
- # \?) echo "unkown option"
- # exit 11 ;;
- c) echo "$SWITCH" "$OPTARG"
- ARG_ERR
- OPERATION=$OPTARG
- ;;
- t) echo "$SWITCH" "$OPTARG"
- ARG_ERR
- Thistemplate=$OPTARG
-
- if [ x$Thistemplate = x"syssettings" ]
- then
- echo "template is syssettings"
- loadhost=false
- elif [ x$Thistemplate = x"hostsettings" ]
- then
- echo "template is hostsettings"
- Thistemplate=syssettings
- loadhost=true
- else
- echo "invalid template name"
- exit 1
- fi
- ;;
- d) echo "$SWITCH" "$OPTARG"
- ARG_ERR
- if [ $OVERRIDE = 1 ]
- then
- ovdbhost=$OPTARG
- else
- dbhost=$OPTARG
- fi
- ;;
- h) echo "$SWITCH" "$OPTARG"
- ARG_ERR
- if [ $OVERRIDE = 1 ]
- then
- oldhostname=$hostname
- hostname=$OPTARG
- else
- hostname=$OPTARG
- fi
-
- ;;
- s) echo "$SWITCH" "$OPTARG"
- ARG_ERR
- SYSTEMTYPE=$OPTARG
- ;;
- a) echo "$SWITCH" "$OPTARG"
- ARG_ERR
- IP_ADDRESS=$OPTARG
- ;;
- z) echo "$SWITCH" "$OPTARG"
- ARG_ERR
- ZIPCODE=$OPTARG
- ;;
- o) OVERRIDE=1
- ;;
-
- esac
-done
-
-echo $OVERRIDE
-
-#setup the Mysql commands
-CMD_DEFINE
-
-$MYSQLCMD_C "show tables" > /dev/null
-status=$?
-if [ $status = 1 ]
-then
- echo "$@ failed"
- echo "$@ failed" >> /tmp/restore.out
- exit 1
-fi
-
-
-
-
-
-
-
-case $OPERATION in
-
- restore)
- #used to restore settings from syssettings
- if [ -d $TEMPLATES/$Thistemplate ]
- then
- cd $TEMPLATES/$Thistemplate
- if [ $loadhost = false ]
- then
- for i in $TABLES
- do
- SQL_DEFINE $i
- sed -e "s/REPLACEME/$hostname/g" $i.txt > /tmp/$i.txt
- #echo $MYSQLCMD "$SELECTSQL"
- echo $i
- $MYSQLCMD "$CREATESQL"
- $MYSQLCMD "$ALTERSQL"
- $MYSQLCMD "$COPY_TMP_SQL"
- $MYSQLCMD "$INSERTSQL"
- $MYSQLCMD "$DROPSQL"
- $MYSQLCMD "$COPY_BCK_SQL "
- $MYSQLCMD "$DROP_TABLE "
- #rm /tmp/$i.txt
- done
- fi
- if [ $loadhost = true ]
- then
- #only load the settings table with values HOST
- i=settings
- SQL_DEFINE $i
- sed -e "s/REPLACEME/$hostname/g" $i.txt > /tmp/$i.txt
- echo $i
- $MYSQLCMD "$CREATESQL"
- $MYSQLCMD "$ALTERSQL"
- $MYSQLCMD "$INSERTSQL"
- $MYSQLCMD "$COPY_TMP_SQL"
- $MYSQLCMD "$DROPSQL"
- $MYSQLCMD "$COPY_BCK_SQL"
- $MYSQLCMD "$DROP_TABLE "
- fi
- else
- echo "couldn't find $TEMPLATES/$Thistemplate"
- fi
- ;;
-
- save)
-
- if [ ! -d $TEMPLATES/$Thistemplate ]
- then
- mkdir -p $TEMPLATES/$Thistemplate
- fi
-
- cd $TEMPLATES/$Thistemplate
- for i in $TABLES
- do
- EXTRACLAUSE=""
- case $i in
- settings)
- EXTRACLAUSE="and not (value like \"BackendServerIP\") and not (value like \"locale\") order by value"
- SQL="select value,data,'REPLACEME' as hostname from $i where hostname=\"$hostname\" "$EXTRACLAUSE" ;"
- # SQL="select * from $i where hostname=\"$hostname\" "$EXTRACLAUSE" ;"
- $MYSQLCMD_C "$SQL" > $TEMPLATES/$Thistemplate/$i.txt
- ;;
- keybindings)
- SQL="select context,action,description,keylist,'REPLACEME' as hostname from $i where hostname=\"$hostname\" "$EXTRACLAUSE" ;"
- $MYSQLCMD_C "$SQL" > $TEMPLATES/$Thistemplate/$i.txt
- ;;
- esac
- # sed -e "s/$hostname/REPLACEME/g" $i > $i.txt && rm $i
-
- done
- ;;
-
- load)
-
- #will load both default_1 and default_2 unless either file is not found
- for i in default_1 default_2
- do
- if [ -f $TEMPLATES/$i/settings.txt ]
- then
- echo $i
- for tablename in $TABLES
- do
- #create table
- CREATESQL="create table IF NOT EXISTS ${tablename}_${i} like $tablename;"
- $MYSQLCMD_C "$CREATESQL"
- #truncate table
- TRUNCATESQL="truncate ${tablename}_${i} "
- $MYSQLCMD_C "$TRUNCATESQL"
- #load table
- INSERTSQL="LOAD DATA local INFILE '$TEMPLATES/$i/$tablename.txt' REPLACE INTO TABLE ${tablename}_${i} FIELDS TERMINATED BY '\t';"
- $MYSQLCMD_C "$INSERTSQL"
- #update_hostname
- UPDATEHOSTNAMESQL="update ${tablename}_${i} set hostname='$i' ; "
- $MYSQLCMD_C "$UPDATEHOSTNAMESQL"
- done
- else
-
- echo "couldn't find $TEMPLATES/$i/settings.txt template to load"
- fi
- CREATESQL="create table IF NOT EXISTS settings_user1 like settings;"
- $MYSQLCMD_C "$CREATESQL"
- CREATESQL="create table IF NOT EXISTS settings_user2 like settings;"
- $MYSQLCMD_C "$CREATESQL"
- CREATESQL="create table IF NOT EXISTS settings_user3 like settings;"
- $MYSQLCMD_C "$CREATESQL"
-
- CREATESQL="create table IF NOT EXISTS keybindings_user1 like keybindings;"
- $MYSQLCMD_C "$CREATESQL"
- CREATESQL="create table IF NOT EXISTS keybindings_user2 like keybindings;"
- $MYSQLCMD_C "$CREATESQL"
- CREATESQL="create table IF NOT EXISTS keybindings_user3 like keybindings;"
- $MYSQLCMD_C "$CREATESQL"
- done
-;;
-
-
-
- BECONFIG)
- if [ $SYSTEMTYPE = "master" ]
- then
- $MYSQLCMD_C "UPDATE settings set data='${IP_ADDRESS}' where value='MasterServerIP';"
- $MYSQLCMD_C "delete from settings where value='BackendServerIP' and hostname=\"$hostname\";"
- $MYSQLCMD_C "REPLACE INTO settings set data='${IP_ADDRESS}' , value='BackendServerIP' , hostname=\"$hostname\";"
- fi
-
- if [ $SYSTEMTYPE = "slave" ]
- then
- $MYSQLCMD_C "delete from settings where value='BackendServerIP' and hostname=\"$hostname\";"
- $MYSQLCMD_C "REPLACE INTO settings set data='${IP_ADDRESS}' , value='BackendServerIP' , hostname=\"$hostname\";"
- fi
- ;;
- ZIP)
- $MYSQLCMD_C "delete from settings where value='locale' and hostname=\"$hostname\";"
- $MYSQLCMD_C "REPLACE INTO settings set data='$ZIPCODE' , value='locale' , hostname=\"$hostname\";"
- $MYSQLCMD_C "delete from settings where value='MythMovies.ZipCode' and hostname=\"$hostname\";"
- $MYSQLCMD_C "REPLACE INTO settings set data='$ZIPCODE', value='MythMovies.ZipCode' , hostname=\"$hostname\";"
- ;;
- MUSICFRONT)
- ALSADEVICE
- $MYSQLCMD_C "delete from settings where value='AudioOutputDevice' and hostname=\"$hostname\";"
- $MYSQLCMD_C "delete from settings where value='MixerDevice' and hostname=\"$hostname\";"
- $MYSQLCMD_C "REPLACE INTO settings set data='$SoundDevice', value='AudioOutputDevice' , hostname=\"$hostname\";"
- $MYSQLCMD_C "REPLACE INTO settings set data='$MixerDevice', value='MixerDevice' , hostname=\"$hostname\";"
- #need to reload the settings.
- systemconfig.sh reloadfe
- ;;
- MUSICMYTH)
- ALSADEVICE
- $MYSQLCMD_C "delete from settings where value='MusicAudioDevice' and hostname=\"$hostname\";"
- $MYSQLCMD_C "REPLACE INTO settings set data='$SoundDevice', value='MusicAudioDevice' , hostname=\"$hostname\";"
- ;;
- uhostname)
- #used when the hostname is changed.
- TABLES="settings capturecard keybindings storagegroup recorded"
- for i in $TABLES
- do
- USQL="update $i set hostname=\"$oldhostname\" where hostname=\"$hostname\" ;"
- $MYSQLCMD_C "$USQL"
- done
-
- ;;
- USERJOBALLOW)
- SQL="update settings set data='1' where value like 'JobAllowUserJob%' and hostname=\"$hostname\" ;"
- $MYSQLCMD_C "$SQL"
- ;;
-
- ACCESSCONTROL)
- LIST="Hostaccessnetwork Hostaccesshostype HostaccesshostypeSystemtype Hostaccessmisc Hostaccesssleep Hostaccessadvanced HostaccessadvancedX Hostaccesssound"
-
- for i in $LIST
- do
- $MYSQLCMD_C "delete from settings where value=\"$i\" and hostname=\"$hostname\";"
- $MYSQLCMD_C "REPLACE INTO settings set data='1', value=\"$i\" , hostname=\"$hostname\";"
- done
- SQL="update settings set data='0' where value='HostaccesshostypeSystemtype' and hostname=\"$hostname\" ;"
- $MYSQLCMD_C "$SQL"
- SQL="update settings set data='0' where value='Hostaccessuser' and hostname=\"$hostname\" ;"
- $MYSQLCMD_C "$SQL"
- ;;
- esac
-
-#SELECT * INTO OUTFILE 'data.txt'
-# FIELDS TERMINATED BY ','
-# FROM table2;
-
-
diff --git a/abs/mv-core/MythVantage-config/soundconfig.sh b/abs/mv-core/MythVantage-config/soundconfig.sh
deleted file mode 100755
index 2f4e67c..0000000
--- a/abs/mv-core/MythVantage-config/soundconfig.sh
+++ /dev/null
@@ -1,254 +0,0 @@
-#!/bin/bash
-. /etc/systemconfig
-. /etc/profile
-echo $@ >/tmp/audio.call
-#set -x
-BASE=""
-. /etc/profile
-#TEMPLATES="/usr/share/templates"
-TESTFILE="$TEMPLATES/audio/space_battle_A.wav"
-#TESTFILE="/usr/share/sounds/alsa/Front_Center.wav"
-OSSinstalled="false"
-
-function testaudio () {
-
-ossplay -d$AUDIODEVICE $TESTFILE
-
-}
-
-function load_alsa() {
-
- remove_service.sh alsa-utils
-# cd /lib/modules/2.6.21-STB
- KER=`uname -r`
- cd /lib/modules/$KER/kernel/
- tar -xvf /lib/modules/alsa-$KER.tar
- pacman -Sf --noconfirm alsa-lib
-
- depmod -a
- cd -
- udevadm trigger
- udevadm settle
- udevadm trigger
-
- add_service.sh alsa-utils
- sleep 4
- sv start alsa-utils
-}
-
-
-function unload_alsa () {
-#kill $(lsof -t /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*) && modprobe -r $(lsmod |grep ^snd |awk '{print $1}')
- sv stop alsa-utils
- remove_service.sh alsa-utils
- rm -rf /dev/adsp*
- rm -rf /dev/snd/*
- rm -rf /dev/audio
- modprobe -r $(lsmod |grep ^snd |awk '{print $1}')
-}
-
-function unload_oss {
- sv stop oss
- soundoff
- rm -rf /dev/dsp*
- rm -rf /dev/oss*
- rm -rf /dev/sndstat
- remove_service.sh oss
-}
-
-function installOSS {
- echo "installing oss"
- pacman -Q oss 2>/dev/null
- if [ ! $? = 0 ]
- then
- pacman --noconfirm -Sf oss
- fi
- add_service.sh oss
- sleep 4
- sv start oss
-}
-
-
-function SYNCXINE {
-echo "modify xine config file"
- if [ -f /data/home/mythtv/.xine/config ]
- then
- cp -f /data/home/mythtv/.xine/config $TEMPLATES/xine.config
- else
- cp $TEMPLATES/xine.config.template $TEMPLATES/xine.config
- fi
-
- if [ x$Audiotype = xOSS ]
- then
- DEVICENUMBER=`echo $SoundDevice|awk -F/ ' { print $3 } '|tr -d dsp `
- sed -e "s/^.*audio.driver.*$/audio.driver:oss/" \
- -e "s/^.audio.device.oss_device_name.*$/audio.device.oss_device_name:\/dev\/dsp/" \
- -e "s/^.audio.devic.oss_device_number.*$/audio.device.oss_device_number:$DEVICENUMER/" \
- -e "s/^.*audio.output.speaker_arrangement:.*$/Audio.output.speaker_arrangement:PassThrough/" \
- $TEMPLATES/xine.config > /data/home/mythtv/.xine/config
- else
- cp $TEMPLATES/xine.config /data/home/mythtv/.xine/config
- fi
-
-}
-
-function SYNCMPLAYER {
-echo "modify mplayer not implmented yet"
-}
-
-function SYNCMYTHMUSIC {
-echo "sync mythmusic"
-$MV_ROOT/bin/restore_default_settings.sh -c MUSICMYTH
-}
-
-function SYNCMYTHFRONTEND {
-echo "sync mythfrontend"
-$MV_ROOT/bin/restore_default_settings.sh -c MUSICFRONT
-}
-
-
-function checkOSSinstalled () {
- ossinfo |grep Version |grep -q OSS >/dev/null
- resultcode=$?
- echo $resultcode
- if [ $resultcode = 0 ]
- then
- OSSinstalled='true'
- else
- OSSinstalled='false'
- fi
-}
-
-function sound_config_system {
-
- if [ x$syncXine = x1 ]
- then
- SYNCXINE
- fi
- if [ x$syncMplayer = x1 ]
- then
- SYNCMPLAYER
- fi
- if [ x$syncMythMusic = x1 ]
- then
- SYNCMYTHMUSIC
- fi
- if [ x$syncMythFrontend = x1 ]
- then
- SYNCMYTHFRONTEND
- fi
-
-}
-
-function loadsound (){
- checkOSSinstalled
- if [ x$AUDIOTYPE = xOSS -o x$AUDIOTYPE = xoss ]
- #then
- # if [ $OSSinstalled = "false" ]
- then
- while [ $OSSinstalled = "false" ]
- do
- unload_alsa
- rm /tmp/.alsatest
- installOSS
- installOSS
- sleep 2
- checkOSSinstalled
- done
- # fi
- else
- touch /tmp/.alsatest
- unload_oss
- load_alsa
- load_alsa
- rm /tmp/.alsatest
-
- fi
-
-}
-
-
-
-
-#####################MAIN PROGRAM##########################
-
-declare -r OPTSTRING="i:t:d:"
-
-if [ $# -eq 0 ]
-then
- echo "Valid options are:"
- echo " -i (oss|alsa) oss or alsa subsystem "
- echo " -t (test|real|LOAD) "
- echo " -d device"
- exit 1
-fi
-
-
-
-
-while getopts "$OPTSTRING" SWITCH
-do
- case $SWITCH in
- \?) echo "unkown option"
- exit 11 ;;
- i) echo "$SWITCH" "$OPTARG"
- AUDIOTYPE="$OPTARG"
- ;;
- d) echo "$SWITCH" "$OPTARG"
- AUDIODEVICE=$OPTARG
- ;;
- t) echo "$SWITCH" "$OPTARG"
- SOUNDOPTYPE="$OPTARG"
- if [ x"$OPTARG" = xtest ]
- then
- TEST=true
- else
- TEST=false
- fi
-
-
- ;;
-
- esac
-done
-
-
-
-
-case $SOUNDOPTYPE in
- REAL|real )
- loadsound
- sound_config_system
- ;;
- test|TEST)
- echo $@ > /tmp/audio.test
- #loadsound
- if [ x$AUDIOTYPE = xOSS -o x$AUDIOTYPE = xoss ]
- then
- echo "testing OSS $AUDIODEVICE "
- ossplay -d$AUDIODEVICE $TESTFILE
- else
- echo "testing ALSA $AUDIODEVICE "
- aplay --device=$AUDIODEVICE $TESTFILE
- fi
-
- ;;
-
- LOAD|load)
- loadsound
- ;;
- esac
-
-
-exit 0
-
-
-
-
-
-
-
-
-
-
-
diff --git a/abs/mv-core/MythVantage-config/startx b/abs/mv-core/MythVantage-config/startx
deleted file mode 100755
index 0ffdf8c..0000000
--- a/abs/mv-core/MythVantage-config/startx
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/bash
-. /etc/profile
-
-export USER=root
-export HOME=/root
-#TEMPLATES=/usr/share/templates
-
-CMDLINE=$(cat /proc/cmdline)
-TEMPVAR=${CMDLINE#*ip=}
-IP=${TEMPVAR%% *}
-echo $CMDLINE |grep -q vnc
-USEVNC=$?
-
-if [ x$USEVNC = x1 ]
-then
- $MV_ROOT/bin/xconfig.sh
- cat /etc/X11/xorg.conf | sed -e 's/dev\/mouse/dev\/psaux/g'> /root/xorg.conf.install
- startx /root/live-install.sh -- -config /root/xorg.conf.install -allowMouseOpenFail
- else
- #VNC
- pacman -Sf --noconfirm tightvnc
- cd /root
- mkdir .vnc
- echo mythvantage |vncpasswd -f > /root/.vnc/passwd
- chmod 500 /root/.vnc/passwd
- rm /root/.vnc/xstartup
- ln -s /root/live-install.sh /root/.vnc/xstartup
- vncserver
-fi
diff --git a/abs/mv-core/MythVantage-config/systemconfig.py b/abs/mv-core/MythVantage-config/systemconfig.py
deleted file mode 100755
index c559e09..0000000
--- a/abs/mv-core/MythVantage-config/systemconfig.py
+++ /dev/null
@@ -1,243 +0,0 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
-import sys, os, commands, glob, time
-import getopt, re, MySQLdb
-import logging
-import mv_common , mv_network
-import inspect
-#____________________________________________setup the logging______________________________________________________
-LOG_FILENAME = '/tmp/systemconfig.log'
-DEBUGLOG = '/tmp/systemconfig_debug.log'
-logging.basicConfig(level=logging.DEBUG,
- format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
- datefmt='%m-%d %H:%M',
- filename=DEBUGLOG,
- filemode='w')
-# define a Handler which writes INFO messages or higher to the sys.stderr
-console = logging.StreamHandler()
-console.setLevel(logging.INFO)
-# set a format which is simpler for console use
-#formatter = logging.Formatter('%(name)-12s: %(levelname)-8s %(message)s')
-formatter = logging.Formatter("%(message)s")
-# tell the handler to use this format
-console.setFormatter(formatter)
-# add the handler to the root logger
-logging.getLogger('').addHandler(console)
-
-#infoformatter = logging.Formatter("%(asctime)s - %(name)s - %(levelname)s - %(message)s")
-infoformatter = logging.Formatter("%(message)s")
-infofile = logging.FileHandler(LOG_FILENAME, 'w')
-infofile.setFormatter(infoformatter)
-infofile.setLevel(logging.INFO)
-logging.getLogger('').addHandler(infofile)
-
-
-def usage():
- logging.info("tell people how to use this")
-
-def setup_x(systemconfig):
- cmd = "%s/bin/xconfig.sh" %systemconfig["MVROOT"]
- mv_common.runcmd(cmd)
-
-def main(argv):
- try:
- MVROOT = os.environ["MV_ROOT"]
- except:
- logging.debug("MVROOT was not defined, using the default value")
- MVROOT = "/usr/MythVantage"
-
- global cmdmodule
- global systemconfig
- systemconfig["MVROOT"]=MVROOT
- restartlcd = False
- cmdmodule={"misc":False , "sleep":False , "hostype":False , "hostypec":False , "advanced":False , "audio":False , "network":False , "advancedX":False , "webuser":False , "restartfe":False , "reloadfe":False , "ddns":False , "screensaver":False , "ir":False , "this_is_install":False , "user":False, "software":False, "plugins":False, "smolt":False, "all":False, "dhcp_request":False }
- try:
- opts, args = getopt.getopt(argv, 'c:hm:d:', ["help","modules" ] )
- except getopt.GetoptError, why:
- print why
- usage()
- print "exception happened"
- sys.exit(2)
- for opt, arg in opts:
- if opt in ("-h", "--help"):
- usage()
- sys.exit(0)
- elif opt in ("-m"):
- for i in arg.split(","):
- cmdmodule[i]=True
- elif opt in ("-d"):
- dhcp_dev = arg
-
-
- if cmdmodule["this_is_install"] or cmdmodule["hostypec"]:
- systemconfig["hostypec"] = True
- cmdmodule["smolt"] = True
-
- systemconfig["mythip"] = mv_network.setup_MYTH_IP(systemconfig)
- systemconfig["mythdhcp"] = mv_network.setup_MYTH_DHCP(systemconfig)
- systemconfig["mythgw"] = mv_network.setup_MYTH_DHCP(systemconfig)
- systemconfig["mythdns"] = mv_network.setup_MYTH_DHCP(systemconfig)
-
- if cmdmodule["all"]:
- logging.info("*** WILL RUN ALL MODULES ***")
- cmdmodule["hostype"] = True
- cmdmodule["ir"]= True
- cmdmodule["network"] = True
- cmdmodule["audio"] = True
- cmdmodule["misc"] = True
- cmdmodule["sleep"] = True
- cmdmodule["webuser"] = True
- cmdmodule["ddns"] = True
- cmdmodule["screensaver"] = True
- cmdmodule["advanced"] = True
- cmdmodule["software"] = True
- cmdmodule["advancedX"] = True
- cmdmodule["smolt"] = True
- cmdmodule["user"] = True
-
-
- if cmdmodule["hostype"]:
- import mv_hostype
- cmdmodule["advancedX"] = True
- setup_x(systemconfig)
- cmdmodule["ir"] = True
- mv_hostype.hostypeprint(systemconfig)
- cmdmodule["smolt"] = True
-
- if cmdmodule["network"]:
- restartfe = mv_network.setup_network(systemconfig, cmdmodule["this_is_install"])
- if restartfe == True :
- logging.debug(" Setting the frontend to restart due to network change")
- cmdmodule["restartfe"] = True
-
-
-
- if cmdmodule["ir"] == True:
- import mv_ir
- restart = mv_ir.setup_ir(systemconfig,data_config)
- restartfe = restart[0]
- restartlcd = restart[1]
- if restartfe == True :
- logging.debug(" Setting the frontend to restart due to lirc change")
- cmdmodule["restartfe"] = True
- cmdmodule["smolt"] = True
-
-
- if cmdmodule["audio"] == True:
- logging.debug("______Start of Audio Configuration______")
- if not systemconfig["Audiotype"] == "tinker":
- cmd="%s/bin/soundconfig.sh -t real -i %s -d %s" %(MVROOT,systemconfig["Audiotype"],systemconfig["SoundDevice"])
- mv_common.runcmd(cmd)
- else:
- logging.debug(" Tinker mode(audio), not changing configuration")
- logging.debug("__End of audio")
-
- if cmdmodule["misc"]:
- import mv_misc
- mv_misc.setup_zip(MVROOT,systemconfig["zipcode"])
- mv_misc.setup_tz(systemconfig["timezone"],systemconfig["TEMPLATES"])
- mv_misc.setup_nfs(systemconfig)
-
- if cmdmodule["sleep"]:
- import mv_misc
- mv_misc.setup_sleep(systemconfig)
-
- if cmdmodule["webuser"]:
- import mv_webuser
- mv_webuser.setup_web_auth(systemconfig["UseMythWEB_auth"])
-
- if cmdmodule["ddns"]:
- print " LOOK FOR DDNS"
-
- if cmdmodule["screensaver"]:
- import mv_screensaver
- mv_screensaver.setup_screensaver(systemconfig, data_config)
-
- if cmdmodule["advanced"]:
- import mv_advanced
- mv_advanced.setup_advanced(systemconfig, data_config)
-
- if cmdmodule["software"] or cmdmodule["plugins"]:
- import mv_software
- mv_software.setup_software(systemconfig, data_config)
-
- if cmdmodule["advancedX"]:
- setup_x(systemconfig)
-
- if cmdmodule["restartfe"]:
- mv_common.restartfe(restartlcd)
-
- if cmdmodule["reloadfe"]:
- mv_common.reloadfe(systemconfig["dbhost"],restartlcd)
-
- if cmdmodule["smolt"]:
- import mv_smolt
- mv_smolt.setup_smolt_type(systemconfig["SystemType"],
- systemconfig["Remotetype"],
- systemconfig["RunFrontend"],
- data_config.MYTHHOME,
- data_config.SYSTEMTYPE)
-
- if cmdmodule["user"]:
- logging.info("____Start of ssh user____")
- if systemconfig["rootSSH"] == "1" :
- logging.info(" Allowing ssh access for root")
- cmd = '''sed -i "s/^.*PermitRootLogin.*$/PermitRootLogin yes/" /etc/ssh/sshd_config'''
- mv_common.runcmd(cmd)
- else:
- logging.info(" Removing ssh access for root")
- cmd = '''sed -i "s/^.*PermitRootLogin.*$/PermitRootLogin no/" /etc/ssh/sshd_config'''
- mv_common.runcmd(cmd)
- logging.info("__End of ssh user\n")
-
- if cmdmodule["dhcp_request"]:
- cmd = '''dhcpcd -t4 -h' ' -Td %s > /tmp/mvnetwork.dhcpinfo ''' %dhcp_dev
- mv_common.runcmd(cmd)
-
-
-if __name__ == "__main__":
-
- config_file = "mv_config"
- data_config = __import__(config_file, globals(), locals(), [])
- #Read in systemconfig
- global systemconfig
- systemconfig = {"hostypec":False}
- file_name = "/etc/systemconfig"
- try:
- config_file = open(file_name)
- except:
- logging.critical("%s could not be opened", file_name)
- sys.exit(1)
-
- for line in config_file:
- line = line.strip()
- if line and line[0] is not "#" and line[-1] is not "=":
- var, val = line.rsplit("=", 1)
- val = val.strip('"')
- systemconfig[var.strip()] = val.strip()
- try:
- systemconfig["TEMPLATES"] = os.environ["TEMPLATES"]
- except:
- logging.critical(" *TEMPLATES is not defined")
- logging.critical(" *using default value")
- systemconfig["TEMPLATES"] = "/usr/MythVantage/templates"
-
- logging.debug("______START OF DEBUG______")
- main(sys.argv[1:])
- logging.debug("______cmd line options______")
- for i in cmdmodule.items():
- logging.debug (i)
- logging.debug("______systemconfig______")
- for i in systemconfig.items():
- logging.debug(i)
- #pass
-
-
-
-
-
-
-
-
-
-
diff --git a/abs/mv-core/MythVantage-config/systemconfig.sh b/abs/mv-core/MythVantage-config/systemconfig.sh
deleted file mode 100755
index 218f705..0000000
--- a/abs/mv-core/MythVantage-config/systemconfig.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/bash
-###################################################################
-#Script to configure your system based off the values in /etc/systemconfig
-#Any changes made to config files will be removed when systemconfig.sh is run
-#
-#JM
-echo $@ >/tmp/systemconfig.call
-echo "----------------------start of systemconfig $@ ----------------------"
-. /etc/profile
-. $MV_ROOT/bin/networkconfig.sh
-postfix=`cat ${BASE}/usr/local/share/mythtv/.releasetype`
-
-systemconfig.py -m $@
-rc=$?
-echo "systemconfig.py exit code $rc"
-exit $rc
-
-
-
diff --git a/abs/mv-core/MythVantage-config/templates/LCD/Shuttle-SG33/LCDd.conf b/abs/mv-core/MythVantage-config/templates/LCD/Shuttle-SG33/LCDd.conf
deleted file mode 100644
index d49fbf6..0000000
--- a/abs/mv-core/MythVantage-config/templates/LCD/Shuttle-SG33/LCDd.conf
+++ /dev/null
@@ -1,869 +0,0 @@
-# LCDd.conf -- configuration file for the LCDproc server daemon LCDd
-#
-# This file contains the configuration for the LCDd server.
-#
-# The format is ini-file-like. It is divided into sections that start at
-# markers that look like [section]. Comments are all line-based comments,
-# and are lines that start with '#' or ';'.
-#
-# The server has a 'central' section named [server]. For the menu there is
-# a section called [menu]. Further each driver has a section which
-# defines how the driver acts.
-#
-# The drivers are activated by specifiying them in a driver= line in the
-# server section, like:
-#
-# Driver=curses
-#
-# This tells LCDd to use the curses driver.
-# The first driver that is loaded and is capable of output defines the
-# size of the display. The default driver to use is curses.
-# If the driver is specified using the -d <driver> command line option,
-# the Driver= options in the config file are ignored.
-#
-# The drivers read their own options from the respective sections.
-
-
-
-## Server section with all kinds of settings for the LCDd server ##
-[server]
-
-# Tells the server to load the given drivers. Multiple lines can be given.
-# The name of the driver is case sensitive and determines the section
-# where to look for further configuration options of the specific driver
-# as well as the name of the dynamic driver module to load at runtime.
-# The latter one can be changed by giving af File= directive in the
-# driver specific section.
-#
-# The following drivers are supported:
-# bayrad, CFontz, CFontz633, CFontzPacket, curses, CwLnx, EyeboxOne,
-# g15, glcdlib, glk, hd44780, icp_a106, imon, IOWarrior, irman,
-# joy, lb216,lcdm001, lcterm, lirc,MD8800, ms6931, mtc_s16209x,
-# MtxOrb, NoritakeVFD, pyramid, sed1330, sed1520, serialVFD,
-# sli, stv5730, svga, t6963, text, tyan, ula200, xosd
-Driver=shuttleVFD
-#Driver=curses
-
-# Tells the driver to bind to the given interface
-Bind=127.0.0.1
-
-# Listen on this specified port; defaults to 13666.
-Port=13666
-
-# Sets the reporting level; defaults to 2 (warnings and errors only).
-#ReportLevel=3
-
-# Should we report to syslog instead of stderr ? Default: no
-#ReportToSyslog=yes
-
-# Sets the default time in seconds to displays a screen.
-WaitTime=5
-
-# User to run as. LCDd will drop its root priviledges,
-# if any, and run as this user instead.
-User=nobody
-
-# If yes, the the serverscreen will be rotated as a usual info screen. If no,
-# it will be a background screen, only visible when no other screens are
-# active.
-#ServerScreen=no
-
-# The server will stay in the foreground if set to true.
-#Foreground=no
-
-# Where can we find the driver modules ?
-# IMPORTANT: Make sure to change this setting to reflect your
-# specific setup! Otherwise LCDd won't be able to find
-# the driver modules and will thus not be able to
-# function properly.
-# NOTE: Always place a slash as last character !
-DriverPath=/usr/lib/lcdproc/
-
-# The "...Key=" lines define what the server does with keypresses that
-# don't go to any client.
-# These are the defaults:
-ToggleRotateKey=Enter
-PrevScreenKey=Left
-NextScreenKey=Right
-#ScrollUpKey=Up
-#ScrollDownKey=Down
-
-# If you have only 4 keys, you can choose to use this:
-#ToggleRotateKey=Enter
-#PrevScreenKey=Up
-#NextScreenKey=Down
-
-# If you have only 3 keys, you can choose to use this:
-#ToggleRotateKey=Enter
-#PrevScreenKey=Up
-
-
-
-## The menu section. The menu is an internal LCDproc client. ##
-[menu]
-# You can configure what keys the menu should use. Note that the MenuKey
-# will be reserved exclusively, the others work in shared mode.
-
-# The following works excellent with 4 keys or more.
-MenuKey=Escape
-EnterKey=Enter
-UpKey=Up
-DownKey=Down
-# If you have 6 keys you may define these as well
-#LeftKey=Left
-#RightKey=Right
-
-# If you have only 3 keys, you could use something like this:
-#MenuKey=Escape
-#EnterKey=Enter
-#DownKey=Down
-
-
-
-### Driver sections are below this line, in alphabetical order ###
-
-
-## EMAC BayRAD driver ##
-[bayrad]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/lcd
-
-# Set the communication speed [default: 9600; legal: 1200, 2400, 9600, 19200]
-Speed=9600
-
-
-
-## CrystalFontz driver (for CF632 & CF634) ##
-[CFontz]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/ttyS0
-# Select the LCD size [default: 20x4]
-Size=20x4
-# Set the initial contrast [default: 560; legal: 0 - 1000]
-Contrast=350
-# Set the initial brightness [default: 255; legal: 0 - 255]
-Brightness=255
-# Set the initial off-brightness [default: 0; legal: 0 - 255]
-# This value is used when the display is normally
-# switched off in case LCDd is inactive
-OffBrightness=0
-# Set the communication speed [default: 9600; legal: 1200, 2400, 9600, 19200 or 115200]
-Speed=9600
-# Set the firmware version (New means >= 2.0) [default: no; legal: yes, no]
-NewFirmware=no
-# Reinitialize the LCD's BIOS [default: no; legal: yes, no]
-# normally you shouldn't need this
-Reboot=no
-
-
-
-## CrystalFontz633 driver (for CF633 only) ##
-[CFontz633]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/ttyS0
-# Select the LCD type (size) [default: 16x2]
-Size=16x2
-# Set the initial contrast [default: 560; legal: 0 - 1000]
-Contrast=350
-# Set the initial brightness [default: 1000; legal: 0 - 1000]
-Brightness=1000
-# Set the initial off-brightness [default: 0; legal: 0 - 1000]
-# This value is used when the display is normally
-# switched off in case LCDd is inactive
-OffBrightness=50
-# Set the communication speed [default: 9600; legal: 1200, 2400, 9600, 19200, 115200]
-Speed=19200
-# Set the firmware version (New means >= 2.0) [default: no; legal: yes, no]
-# Currently this flag is not in use, there is no such thing as NewFirmware. ;=)
-#NewFirmware=no
-# Reinitialize the LCD's BIOS [default: no; legal: yes, no]
-# I want to reboot the LCD to make sure we start from a known state
-Reboot=yes
-
-
-
-## CrystalFontz packet driver (for CF631, CF633 & CF635) ##
-[CFontzPacket]
-
-# Select the LCD model [default: 633; legal: 631, 633, 635]
-Model=635
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/ttyUSB0
-# Select the LCD size [default: depending on model: 635: 20x4, 631: 20x2, 633: 16x2]
-Size=20x4
-# Set the initial contrast [default: 560; legal: 0 - 1000]
-Contrast=350
-# Set the initial brightness [default: 1000; legal: 0 - 1000]
-Brightness=1000
-# Set the initial off-brightness [default: 0; legal: 0 - 1000]
-# This value is used when the display is normally
-# switched off in case LCDd is inactive
-OffBrightness=50
-# Set the communication speed [default: 9600; legal: 1200, 2400, 9600, 19200, 115200]
-Speed=115200
-# Set the firmware version (New means >= 2.0) [default: no; legal: yes, no]
-# Currently this flag is not in use, there is no such thing as NewFirmware. ;=)
-#NewFirmware=no
-# Reinitialize the LCD's BIOS [default: no; legal: yes, no]
-# I want to reboot the LCD to make sure we start from a known state
-Reboot=yes
-
-
-
-## Curses driver ##
-[curses]
-
-# color settings
-# foreground color [default: blue]
-Foreground=blue
-# background color when "backlight" is off [default: cyan]
-Background=cyan
-# background color when "backlight" is on [default: red]
-Backlight=red
-
-# display size [default: 20x4]
-Size=20x4
-
-# What position (X,Y) to start the left top corner at...
-# Default: (7,7)
-TopLeftX=7
-TopLeftY=7
-
-# use ASC symbols for icons & bars [default: no; legal, yes, no]
-UseACS=no
-
-
-
-## Cwlinux driver ##
-[CwLnx]
-
-# Select the LCD model [default: 12232; legal: 12232, 1602]
-Model=12232
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/ttyUSB0
-
-# Select the LCD size [default: depending on model: 12232: 20x4, 1602: 16x2]
-Size=20x4
-
-# Set the communication speed [default: 19200; legal: 9600, 19200]
-Speed=19200
-
-# Reinitialize the LCD's BIOS [default: no; legal: yes, no]
-# normally you shouldn't need this
-Reboot=no
-
-# If you have a keypad connected. Keypad layout is currently not
-# configureable from the config file.
-Keypad=yes
-
-# If you have a non-standard keypad you can associate any keystrings to keys.
-# There are 6 input keys in the CwLnx hardware that generate characters
-# from 'A' to 'F'.
-#
-# The following is the built-in default mapping hardcoded in the driver.
-# You can leave those unchanged if you have a standard keypad.
-# You can change it if you want to report other keystrings or have a non
-# standard keypad.
-# KeyMap_A=Up
-# KeyMap_B=Down
-# KeyMap_C=Left
-# KeyMap_D=Right
-# KeyMap_E=Enter
-# KeyMap_F=Escape
-
-# keypad_test_mode permits to test keypad assignement
-# Default value is no
-#keypad_test_mode=yes
-
-
-
-## EyeboxOne driver ##
-[EyeboxOne]
-
-# Select the output device to use [default: /dev/ttyS1]
-#Device=/dev/cua01
-Device=/dev/ttyS1
-
-# Set the display size [default: 20x4]
-Size=20x4
-
-# Switch on the backlight? [default: yes]
-Backlight=yes
-
-# Switch on the cursor? [default: no]
-Cursor=no
-
-# Set the communication speed [default: 19200; legal: 1200, 2400, 9600, 19200]
-Speed=19200
-
-# Enter Key is a \r character, so it's hardcoded in the driver
-LeftKey=D
-RightKey=C
-UpKey=A
-DownKey=B
-EscapeKey=P
-
-# You can find out which key of your display sends which
-# character by setting keypad_test_mode to yes and running
-# LCDd. LCDd will output all characters it receives.
-# Afterwards you can modify the settings above and set
-# keypad_set_mode to no again.
-keypad_test_mode=no
-
-
-## g15 driver for Logitech G15 Keyboard LCDs ##
-[g15]
-
-# Display size (currently unused)
-size=20x5
-
-## glcdlib meta driver for graphical LCDs ##
-[glcdlib]
-
-## mandatory:
-
-# which graphical display supported by graphlcd-base to use [default: image]
-# (see /etc/graphlcd.conf for possible drivers)
-Driver=noritake800
-
-# no=use graphlcd bitmap fonts (they have only one size / font file)
-# yes=use fonts supported by FreeType2 (needs Freetype2 support in libglcdprocdriver and its dependants)
-UseFT2=yes
-
-# text resolution in fixed width characters [default: 16x4]
-# (if it won't fit according to available physical pixel resolutioni
-# and the minimum available font face size in pixels, then
-# 'DebugBorder' will automatically be turned on)
-TextResolution=20x4
-
-# path to font file to use
-FontFile=/usr/share/fonts/corefonts/courbd.ttf
-
-
-## these only apply if UseFT2=yes:
-
-# character encoding to use
-CharEncoding=iso8859-2
-
-# minumum size in pixels in which fonts should be rendered
-MinFontFaceSize=7x12
-
-
-## optional:
-Brightness=50 # Brightness (in %) if applicable
-Contrast=50 # Contrast (in %) if applicable
-Backlight=no # Backlight if applicable
-UpsideDown=no # flip image upside down
-Invert=no # invert light/dark pixels
-ShowDebugFrame=no # turns on/off 1 pixel thick debugging
- # border whithin the usable text area,
- # for setting up TextResolution and
- # MinFontFaceSize (if using FT2);
-ShowBigBorder=no # border around the unused area
-ShowThinBorder=yes # border around the unused area
-PixelShiftX=0
-PixelShiftY=2
-
-
-
-## Matrix Orbital GLK driver ##
-[glk]
-
-# select the serial device to use [default: /dev/lcd]
-Device=/dev/lcd
-
-# set the initial contrast value [default: 560; legal: 0 - 1000]
-Contrast=560
-
-# set the serial port speed [default: 19200; legal: 9600, 19200, 38400]
-Speed=19200
-
-
-
-## Hitachi HD44780 driver ##
-[hd44780]
-
-# Select what type of connection. See documentation for types.
-ConnectionType=4bit
-
-# Port where the LPT is. Usual values are 0x278, 0x378 and 0x3BC
-Port=0x378
-
-# Device of the serial interface (default is /dev/lcd)
-Device=/dev/ttyS0
-
-# Bitrate of the serial port (0 for interface default)
-Speed=0
-
-# If you have a keypad connected.
-# You may also need to configure the keypad layout further on in this file.
-Keypad=no
-
-# set the initial contrast (for bwctusb only) [default: 0; legal: 0 - 1000]
-Contrast=0
-
-# If you have a switchable backlight.
-Backlight=no
-
-# If you have the additional output port ("bargraph") and you want to
-# be able to control it with the lcdproc OUTPUT command
-OutputPort=no
-
-# Specifies if the last line is pixel addressable or it controls an
-# underline effect. [default: true (= pixel addressable); legal: yes, no]
-#Lastline=true
-
-# Specifies the size of the LCD.
-# In case of multiple combined displays, this should be the total size.
-Size=20x4
-
-# For multiple combined displays: how many lines does each display have.
-# Vspan=2,2 means both displays have 2 lines.
-#vspan=2,2
-
-# If you have an HD66712, a KS0073 or an other 'almost HD44780-compatible',
-# set this flag to get into extended mode (4-line linear).
-# This flag is NOT the old obsolete Extended option.
-#ExtendedMode=yes
-
-# Character map to to map ISO-8859-1 to the LCD's character set
-# [default: hd44780_default; legal: hd44780_default, ea_ks0073 ]
-Charmap=hd44780_default
-
-# If your display is slow and cannot keep up with the flow of data from
-# LCDd, garbage can appear on the LCDd. Set this delay factor to 2 or 4
-# to increase the delays. Default: 1.
-#DelayMult=2
-
-# You can reduce the inserted delays by setting this to false.
-# On fast PCs it is possible your LCD does not respond correctly.
-# Default: true.
-DelayBus=true
-
-# If you have a keypad you can assign keystrings to the keys.
-# See documentation for used terms and how to wire it.
-# For example to give directly connected key 4 the string "Enter", use:
-# KeyDirect_4=Enter
-# For matrix keys use the X and Y coordinates of the key:
-# KeyMatrix_1_3=Enter
-KeyMatrix_4_1=Enter
-KeyMatrix_4_2=Up
-KeyMatrix_4_3=Down
-KeyMatrix_4_4=Escape
-
-
-
-## ICP A106 driver ##
-[icp_a106]
-Device=/dev/ttyS1
-
-
-
-## Code Mercenaries IO-Warrior driver ##
-[IOWarrior]
-
-# display dimensions
-Size=20x4
-
-# serial number [exactly as listed by usbview]
-# (if not given, the 1st IOWarrior found gets used)
-#SerialNumber=00000674
-
-# Specifies if the last line is pixel addressable or it controls an
-# underline effect. [default: true (= pixel addressable); legal: yes, no]
-#Lastline=true
-
-
-
-## Soundgraph/Ahanix/Silverstone/Uneed/Accent iMON driver ##
-[imon]
-
-# select the device to use
-Device=/dev/lcd0
-
-# display dimensions
-Size=16x2
-
-
-
-## IrMan driver ##
-[IrMan]
-#if in trouble with IrMan, try Lirc emulator for IrMan
-
-# Select the input device to use
-#Device=/dev/irman
-
-# Select the configuration file to use
-#Config=/etc/irman.cfg
-
-
-
-## Joystick driver ##
-[joy]
-
-# Select the input device to use [default: /dev/js0]
-Device=/dev/js0
-
-# set the axis map
-Map_Axis1neg=Left
-Map_Axis1pos=Right
-Map_Axis2neg=Up
-Map_Axis2pos=Down
-
-# set the button map
-Map_Button1=Enter
-Map_Button2=Escape
-
-
-
-## LB216 driver ##
-[lb216]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/lcd
-
-# Set the initial brightness [default: 255; legal: 0 - 255]
-Brightness=255
-
-# Set the communication speed [default: 9600; legal: 2400, 9600]
-Speed=9600
-
-# Reinitialize the LCD's BIOS [default: no; legal: yes, no]
-Reboot=no
-
-
-
-## LCDM001 driver ##
-[lcdm001]
-
-Device=/dev/ttyS1
-
-# keypad settings
-# Keyname Function
-# Normal context Menu context
-# ------- -------------- ------------
-# PauseKey Pause/Continue Enter/select
-# BackKey Back(Go to previous screen) Up/Left
-# ForwardKey Forward(Go to next screen) Down/Right
-# MainMenuKey Open main menu Exit/Cancel
-PauseKey=LeftKey
-BackKey=UpKey
-ForwardKey=DownKey
-MainMenuKey=RightKey
-
-# You can rearrange the settings here.
-# If your device is broken, have a look at /usr/lib/lcdproc/lcdm001.h
-
-
-
-## HNE LCTerm driver ##
-[lcterm]
-Device=/dev/ttyS1
-Size=16x2
-
-
-
-## LIRC input driver ##
-[lirc]
-
-# Specify an alternative location of the lircrc file [default: ~/.lircrc]
-#lircrc=/etc/lircrc.lcdproc
-
-# Must be the same as in your lircrc
-#prog=lcdd
-
-
-
-##The driver for the VFD of the Medion MD8800 PC ##
-[MD8800]
-# device to use [default: /dev/ttyS1]
-#Device=/dev/ttyS1
-
-# display size [default: 16x2]
-#Size=16x2
-
-# Set the initial brightness [default: 1000; legal: 0 - 1000]
-Brightness=1000
-# Set the initial off-brightness [default: 0; legal: 0 - 1000]
-# This value is used when the display is normally
-# switched off in case LCDd is inactive
-OffBrightness=50
-
-
-
-## MSI MS-6931 driver for displays in 1HU servers ##
-[ms6931]
-
-# device to use [default: /dev/ttyS1]
-Device=/dev/ttyS1
-
-# display size [default: 16x2]
-#Size=16x2
-
-
-
-## MTC-S16209x driver ##
-[mtc_s16209x]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/lcd
-
-# Set the initial brightness [default: 255; legal: 0 - 255]
-Brightness=255
-
-# Reinitialize the LCD's BIOS [default: no; legal: yes, no]
-Reboot=no
-
-
-
-## Matrix Orbital driver ##
-[MtxOrb]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/ttyS0
-
-# Set the display size [default: 20x4]
-Size=20x4
-
-# Switch on the backlight? [default: yes]
-# NOTE: The driver will ignore this if the display is a vfd or vkd
-# as they crash if the backlight is turned off
-Backlight=yes
-
-# Set the initial contrast [default: 480]
-# NOTE: The driver will ignore this if the display
-# is a vfd or vkd as they don't have this feature
-Contrast=800
-
-# Set the communication speed [default: 19200; legal: 1200, 2400, 9600, 19200]
-Speed=19200
-
-# Set the display type [default: lcd; legal: lcd, lkd, vfd, vkd]
-Type=lkd
-
-# The following table translates from MtxOrb key letters to logical key namess.
-# By default no keys are mapped, meaning the keypad is not used at all.
-#KeyMap_A=Left
-#KeyMap_B=Right
-#KeyMap_C=Up
-#KeyMap_D=Down
-#KeyMap_E=Enter
-#KeyMap_F=Escape
-# See the [menu] section for an explanation of the key mappings
-
-# You can find out which key of your display sends which
-# character by setting keypad_test_mode to yes and running
-# LCDd. LCDd will output all characters it receives.
-# Afterwards you can modify the settings above and set
-# keypad_set_mode to no again.
-keypad_test_mode=no
-
-
-
-## Noritake VFD driver ##
-[NoritakeVFD]
-# device where the VFD is. Usual values are /dev/ttyS0 and /dev/ttyS1 [default: /dev/lcd]
-Device=/dev/ttyS0
-
-# Specifies the size of the LCD.
-Size=20x4
-
-# set the brightness
-Brightness=255
-
-# set the serial port speed [default: 9600, legal: 1200, 2400, 9600, 19200, 115200]
-Speed=9600
-
-# re-initialize VFD ?
-#Reboot=yes
-
-
-
-## Pyramid LCD driver ##
-[pyramid]
-
-# device to connect to [default: /dev/lcd]
-Device=/dev/ttyUSB0
-
-
-
-## Seiko Epson 1330 driver ##
-[sed1330]
-
-# Port where the LPT is. Common values are 0x278, 0x378 and 0x3BC
-Port=0x378
-
-# Type of LCD module (legal: G321D, G121C, G242C, G191D, G2446)
-# Note: G321D is the only one that is tested currently.
-Type=G321D
-
-
-
-## Seiko Epson 1520 driver ##
-[sed1520]
-
-# Port where the LPT is. Usual values are 0x278, 0x378 and 0x3BC
-Port=0x378
-
-
-
-## Serial VFD driver ##
-## Drives various (see below) serial 5x7dot VFD's. ##
-[serialVFD]
-
-# Specifies the displaytype.[default: 0]
-# 0 NEC (FIPC8367 based) VFDs.
-# 1 KD Rev 2.1.
-# 2 Noritake VFDs (*).
-# 3 Futaba VFDs
-# (* most should work, not testet yet.)
-Type=0
-
-# "no" if display connected serial, "yes" if connected parallel. [default: no(=serial)]
-use_parallel=no
-
-# Number of Custom-Characters [default: displaytype dependent]
-#Custom-Characters=0
-
-# Portaddress where the LPT is. Used in parallelmode only. Usual values are 0x278, 0x378 and 0x3BC
-Port=0x378
-
-# Device to use in serial mode. Usual values are /dev/ttyS0 and /dev/ttyS1
-Device=/dev/ttyS1
-
-# Specifies the size of the VFD.
-Size=20x2
-
-# Set the initial brightness [default: 1000; legal: 0 - 1000]
-# (4 steps 0-250, 251-500, 501-750, 751-1000)
-Brightness=1000
-# Set the initial off-brightness [default: 0; legal: 0 - 1000]
-# This value is used when the display is normally
-# switched off in case LCDd is inactive
-# (4 steps 0-250, 251-500, 501-750, 751-1000)
-OffBrightness=0
-
-# set the serial port speed [default: 9600; legal: 1200, 2400, 9600, 19200, 115200]
-Speed=9600
-
-# enable ISO 8859 1 compatibility [default: yes; legal: yes, no]
-#ISO_8859_1=yes
-
-
-
-## stv5730 driver ##
-[stv5730]
-
-# Port the device is connected to [default: 0x378]
-Port=0x378
-
-
-
-## SVGAlib driver ##
-[svga]
-
-# svgalib mode to use [default: G320x240x256; legal: supported svgalib modes]
-#Mode=G640x480x256
-
-# set display size [default: 20x4]
-Size=20x4
-
-# Set the initial contrast [default: 500; legal: 0 - 1000]
-# Can be set but does not change anything internally
-Contrast=500
-
-# Set the initial brightness [default: 1000; legal: 1 - 1000]
-Brightness=1000
-
-# Set the initial off-brightness [default: 500; legal: 1 - 1000]
-# This value is used when the display is normally
-# switched off in case LCDd is inactive
-OffBrightness=500
-
-
-
-## Text driver ##
-[text]
-# Set the display size [default: 20x4]
-Size=20x4
-
-
-
-## Toshiba T6963 driver ##
-[t6963]
-
-# set display size [default: 20x6]
-Size=20x6
-
-# port to use [default: 0x378; legal: 0x200 - 0x400]
-Port=0x378
-
-# Is ECP mode on? [default: yes; legal: yes, no]
-#ECPlpt=yes
-
-# Use graphics? [default: no; legal: yes, no]
-#graphic=no
-
-
-
-## Tyan Barebones LCD driver (GS10 & GS12 series) ##
-[tyan]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/lcd
-
-# Set the communication speed [default: 9600; legal: 4800, 9600]
-Speed=9600
-
-# set display size [default: 16x2]
-Size=16x2
-
-
-
-## ELV ula200 driver ##
-[ula200]
-
-# Select the LCD size [default: 20x4]
-Size=20x4
-
-# If you have a non standard keypad you can associate any keystrings to keys.
-# There are 6 input key in the CwLnx hardware that generate characters
-# from 'A' to 'F'.
-#
-# The following it the built-in default mapping hardcoded in the driver.
-# You can leave those unchanged if you have a standard keypad.
-# You can change it if you want to report other keystrings or have a non
-# standard keypad.
-# KeyMap_A=Up
-# KeyMap_B=Down
-# KeyMap_C=Left
-# KeyMap_D=Right
-# KeyMap_E=Enter
-# KeyMap_F=Escape
-
-
-
-## Wirz SLI LCD driver ##
-[sli]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/lcd
-
-# Set the communication speed [default: 19200; legal: 1200, 2400, 9600, 19200, 38400, 57600, 115200]
-Speed=19200
-
-
-
-## OnScreen Display using libxosd ##
-[xosd]
-
-# set display size [default: 20x4]
-Size=20x4
-
-# font to use
-Font=-*-terminus-*-r-*-*-*-320-*-*-*-*-*
-
-# EOF
diff --git a/abs/mv-core/MythVantage-config/templates/LCD/Silverstone/LCDd.conf b/abs/mv-core/MythVantage-config/templates/LCD/Silverstone/LCDd.conf
deleted file mode 100644
index 2596c25..0000000
--- a/abs/mv-core/MythVantage-config/templates/LCD/Silverstone/LCDd.conf
+++ /dev/null
@@ -1,869 +0,0 @@
-# LCDd.conf -- configuration file for the LCDproc server daemon LCDd
-#
-# This file contains the configuration for the LCDd server.
-#
-# The format is ini-file-like. It is divided into sections that start at
-# markers that look like [section]. Comments are all line-based comments,
-# and are lines that start with '#' or ';'.
-#
-# The server has a 'central' section named [server]. For the menu there is
-# a section called [menu]. Further each driver has a section which
-# defines how the driver acts.
-#
-# The drivers are activated by specifiying them in a driver= line in the
-# server section, like:
-#
-# Driver=curses
-#
-# This tells LCDd to use the curses driver.
-# The first driver that is loaded and is capable of output defines the
-# size of the display. The default driver to use is curses.
-# If the driver is specified using the -d <driver> command line option,
-# the Driver= options in the config file are ignored.
-#
-# The drivers read their own options from the respective sections.
-
-
-
-## Server section with all kinds of settings for the LCDd server ##
-[server]
-
-# Tells the server to load the given drivers. Multiple lines can be given.
-# The name of the driver is case sensitive and determines the section
-# where to look for further configuration options of the specific driver
-# as well as the name of the dynamic driver module to load at runtime.
-# The latter one can be changed by giving af File= directive in the
-# driver specific section.
-#
-# The following drivers are supported:
-# bayrad, CFontz, CFontz633, CFontzPacket, curses, CwLnx, EyeboxOne,
-# g15, glcdlib, glk, hd44780, icp_a106, imon, IOWarrior, irman,
-# joy, lb216,lcdm001, lcterm, lirc,MD8800, ms6931, mtc_s16209x,
-# MtxOrb, NoritakeVFD, pyramid, sed1330, sed1520, serialVFD,
-# sli, stv5730, svga, t6963, text, tyan, ula200, xosd
-Driver=imon
-#Driver=curses
-
-# Tells the driver to bind to the given interface
-Bind=127.0.0.1
-
-# Listen on this specified port; defaults to 13666.
-Port=13666
-
-# Sets the reporting level; defaults to 2 (warnings and errors only).
-#ReportLevel=3
-
-# Should we report to syslog instead of stderr ? Default: no
-#ReportToSyslog=yes
-
-# Sets the default time in seconds to displays a screen.
-WaitTime=5
-
-# User to run as. LCDd will drop its root priviledges,
-# if any, and run as this user instead.
-User=nobody
-
-# If yes, the the serverscreen will be rotated as a usual info screen. If no,
-# it will be a background screen, only visible when no other screens are
-# active.
-#ServerScreen=no
-
-# The server will stay in the foreground if set to true.
-#Foreground=no
-
-# Where can we find the driver modules ?
-# IMPORTANT: Make sure to change this setting to reflect your
-# specific setup! Otherwise LCDd won't be able to find
-# the driver modules and will thus not be able to
-# function properly.
-# NOTE: Always place a slash as last character !
-DriverPath=/usr/lib/lcdproc/
-
-# The "...Key=" lines define what the server does with keypresses that
-# don't go to any client.
-# These are the defaults:
-ToggleRotateKey=Enter
-PrevScreenKey=Left
-NextScreenKey=Right
-#ScrollUpKey=Up
-#ScrollDownKey=Down
-
-# If you have only 4 keys, you can choose to use this:
-#ToggleRotateKey=Enter
-#PrevScreenKey=Up
-#NextScreenKey=Down
-
-# If you have only 3 keys, you can choose to use this:
-#ToggleRotateKey=Enter
-#PrevScreenKey=Up
-
-
-
-## The menu section. The menu is an internal LCDproc client. ##
-[menu]
-# You can configure what keys the menu should use. Note that the MenuKey
-# will be reserved exclusively, the others work in shared mode.
-
-# The following works excellent with 4 keys or more.
-MenuKey=Escape
-EnterKey=Enter
-UpKey=Up
-DownKey=Down
-# If you have 6 keys you may define these as well
-#LeftKey=Left
-#RightKey=Right
-
-# If you have only 3 keys, you could use something like this:
-#MenuKey=Escape
-#EnterKey=Enter
-#DownKey=Down
-
-
-
-### Driver sections are below this line, in alphabetical order ###
-
-
-## EMAC BayRAD driver ##
-[bayrad]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/lcd
-
-# Set the communication speed [default: 9600; legal: 1200, 2400, 9600, 19200]
-Speed=9600
-
-
-
-## CrystalFontz driver (for CF632 & CF634) ##
-[CFontz]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/ttyS0
-# Select the LCD size [default: 20x4]
-Size=20x4
-# Set the initial contrast [default: 560; legal: 0 - 1000]
-Contrast=350
-# Set the initial brightness [default: 255; legal: 0 - 255]
-Brightness=255
-# Set the initial off-brightness [default: 0; legal: 0 - 255]
-# This value is used when the display is normally
-# switched off in case LCDd is inactive
-OffBrightness=0
-# Set the communication speed [default: 9600; legal: 1200, 2400, 9600, 19200 or 115200]
-Speed=9600
-# Set the firmware version (New means >= 2.0) [default: no; legal: yes, no]
-NewFirmware=no
-# Reinitialize the LCD's BIOS [default: no; legal: yes, no]
-# normally you shouldn't need this
-Reboot=no
-
-
-
-## CrystalFontz633 driver (for CF633 only) ##
-[CFontz633]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/ttyS0
-# Select the LCD type (size) [default: 16x2]
-Size=16x2
-# Set the initial contrast [default: 560; legal: 0 - 1000]
-Contrast=350
-# Set the initial brightness [default: 1000; legal: 0 - 1000]
-Brightness=1000
-# Set the initial off-brightness [default: 0; legal: 0 - 1000]
-# This value is used when the display is normally
-# switched off in case LCDd is inactive
-OffBrightness=50
-# Set the communication speed [default: 9600; legal: 1200, 2400, 9600, 19200, 115200]
-Speed=19200
-# Set the firmware version (New means >= 2.0) [default: no; legal: yes, no]
-# Currently this flag is not in use, there is no such thing as NewFirmware. ;=)
-#NewFirmware=no
-# Reinitialize the LCD's BIOS [default: no; legal: yes, no]
-# I want to reboot the LCD to make sure we start from a known state
-Reboot=yes
-
-
-
-## CrystalFontz packet driver (for CF631, CF633 & CF635) ##
-[CFontzPacket]
-
-# Select the LCD model [default: 633; legal: 631, 633, 635]
-Model=635
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/ttyUSB0
-# Select the LCD size [default: depending on model: 635: 20x4, 631: 20x2, 633: 16x2]
-Size=20x4
-# Set the initial contrast [default: 560; legal: 0 - 1000]
-Contrast=350
-# Set the initial brightness [default: 1000; legal: 0 - 1000]
-Brightness=1000
-# Set the initial off-brightness [default: 0; legal: 0 - 1000]
-# This value is used when the display is normally
-# switched off in case LCDd is inactive
-OffBrightness=50
-# Set the communication speed [default: 9600; legal: 1200, 2400, 9600, 19200, 115200]
-Speed=115200
-# Set the firmware version (New means >= 2.0) [default: no; legal: yes, no]
-# Currently this flag is not in use, there is no such thing as NewFirmware. ;=)
-#NewFirmware=no
-# Reinitialize the LCD's BIOS [default: no; legal: yes, no]
-# I want to reboot the LCD to make sure we start from a known state
-Reboot=yes
-
-
-
-## Curses driver ##
-[curses]
-
-# color settings
-# foreground color [default: blue]
-Foreground=blue
-# background color when "backlight" is off [default: cyan]
-Background=cyan
-# background color when "backlight" is on [default: red]
-Backlight=red
-
-# display size [default: 20x4]
-Size=20x4
-
-# What position (X,Y) to start the left top corner at...
-# Default: (7,7)
-TopLeftX=7
-TopLeftY=7
-
-# use ASC symbols for icons & bars [default: no; legal, yes, no]
-UseACS=no
-
-
-
-## Cwlinux driver ##
-[CwLnx]
-
-# Select the LCD model [default: 12232; legal: 12232, 1602]
-Model=12232
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/ttyUSB0
-
-# Select the LCD size [default: depending on model: 12232: 20x4, 1602: 16x2]
-Size=20x4
-
-# Set the communication speed [default: 19200; legal: 9600, 19200]
-Speed=19200
-
-# Reinitialize the LCD's BIOS [default: no; legal: yes, no]
-# normally you shouldn't need this
-Reboot=no
-
-# If you have a keypad connected. Keypad layout is currently not
-# configureable from the config file.
-Keypad=yes
-
-# If you have a non-standard keypad you can associate any keystrings to keys.
-# There are 6 input keys in the CwLnx hardware that generate characters
-# from 'A' to 'F'.
-#
-# The following is the built-in default mapping hardcoded in the driver.
-# You can leave those unchanged if you have a standard keypad.
-# You can change it if you want to report other keystrings or have a non
-# standard keypad.
-# KeyMap_A=Up
-# KeyMap_B=Down
-# KeyMap_C=Left
-# KeyMap_D=Right
-# KeyMap_E=Enter
-# KeyMap_F=Escape
-
-# keypad_test_mode permits to test keypad assignement
-# Default value is no
-#keypad_test_mode=yes
-
-
-
-## EyeboxOne driver ##
-[EyeboxOne]
-
-# Select the output device to use [default: /dev/ttyS1]
-#Device=/dev/cua01
-Device=/dev/ttyS1
-
-# Set the display size [default: 20x4]
-Size=20x4
-
-# Switch on the backlight? [default: yes]
-Backlight=yes
-
-# Switch on the cursor? [default: no]
-Cursor=no
-
-# Set the communication speed [default: 19200; legal: 1200, 2400, 9600, 19200]
-Speed=19200
-
-# Enter Key is a \r character, so it's hardcoded in the driver
-LeftKey=D
-RightKey=C
-UpKey=A
-DownKey=B
-EscapeKey=P
-
-# You can find out which key of your display sends which
-# character by setting keypad_test_mode to yes and running
-# LCDd. LCDd will output all characters it receives.
-# Afterwards you can modify the settings above and set
-# keypad_set_mode to no again.
-keypad_test_mode=no
-
-
-## g15 driver for Logitech G15 Keyboard LCDs ##
-[g15]
-
-# Display size (currently unused)
-size=20x5
-
-## glcdlib meta driver for graphical LCDs ##
-[glcdlib]
-
-## mandatory:
-
-# which graphical display supported by graphlcd-base to use [default: image]
-# (see /etc/graphlcd.conf for possible drivers)
-Driver=noritake800
-
-# no=use graphlcd bitmap fonts (they have only one size / font file)
-# yes=use fonts supported by FreeType2 (needs Freetype2 support in libglcdprocdriver and its dependants)
-UseFT2=yes
-
-# text resolution in fixed width characters [default: 16x4]
-# (if it won't fit according to available physical pixel resolutioni
-# and the minimum available font face size in pixels, then
-# 'DebugBorder' will automatically be turned on)
-TextResolution=20x4
-
-# path to font file to use
-FontFile=/usr/share/fonts/corefonts/courbd.ttf
-
-
-## these only apply if UseFT2=yes:
-
-# character encoding to use
-CharEncoding=iso8859-2
-
-# minumum size in pixels in which fonts should be rendered
-MinFontFaceSize=7x12
-
-
-## optional:
-Brightness=50 # Brightness (in %) if applicable
-Contrast=50 # Contrast (in %) if applicable
-Backlight=no # Backlight if applicable
-UpsideDown=no # flip image upside down
-Invert=no # invert light/dark pixels
-ShowDebugFrame=no # turns on/off 1 pixel thick debugging
- # border whithin the usable text area,
- # for setting up TextResolution and
- # MinFontFaceSize (if using FT2);
-ShowBigBorder=no # border around the unused area
-ShowThinBorder=yes # border around the unused area
-PixelShiftX=0
-PixelShiftY=2
-
-
-
-## Matrix Orbital GLK driver ##
-[glk]
-
-# select the serial device to use [default: /dev/lcd]
-Device=/dev/lcd
-
-# set the initial contrast value [default: 560; legal: 0 - 1000]
-Contrast=560
-
-# set the serial port speed [default: 19200; legal: 9600, 19200, 38400]
-Speed=19200
-
-
-
-## Hitachi HD44780 driver ##
-[hd44780]
-
-# Select what type of connection. See documentation for types.
-ConnectionType=4bit
-
-# Port where the LPT is. Usual values are 0x278, 0x378 and 0x3BC
-Port=0x378
-
-# Device of the serial interface (default is /dev/lcd)
-Device=/dev/ttyS0
-
-# Bitrate of the serial port (0 for interface default)
-Speed=0
-
-# If you have a keypad connected.
-# You may also need to configure the keypad layout further on in this file.
-Keypad=no
-
-# set the initial contrast (for bwctusb only) [default: 0; legal: 0 - 1000]
-Contrast=0
-
-# If you have a switchable backlight.
-Backlight=no
-
-# If you have the additional output port ("bargraph") and you want to
-# be able to control it with the lcdproc OUTPUT command
-OutputPort=no
-
-# Specifies if the last line is pixel addressable or it controls an
-# underline effect. [default: true (= pixel addressable); legal: yes, no]
-#Lastline=true
-
-# Specifies the size of the LCD.
-# In case of multiple combined displays, this should be the total size.
-Size=20x4
-
-# For multiple combined displays: how many lines does each display have.
-# Vspan=2,2 means both displays have 2 lines.
-#vspan=2,2
-
-# If you have an HD66712, a KS0073 or an other 'almost HD44780-compatible',
-# set this flag to get into extended mode (4-line linear).
-# This flag is NOT the old obsolete Extended option.
-#ExtendedMode=yes
-
-# Character map to to map ISO-8859-1 to the LCD's character set
-# [default: hd44780_default; legal: hd44780_default, ea_ks0073 ]
-Charmap=hd44780_default
-
-# If your display is slow and cannot keep up with the flow of data from
-# LCDd, garbage can appear on the LCDd. Set this delay factor to 2 or 4
-# to increase the delays. Default: 1.
-#DelayMult=2
-
-# You can reduce the inserted delays by setting this to false.
-# On fast PCs it is possible your LCD does not respond correctly.
-# Default: true.
-DelayBus=true
-
-# If you have a keypad you can assign keystrings to the keys.
-# See documentation for used terms and how to wire it.
-# For example to give directly connected key 4 the string "Enter", use:
-# KeyDirect_4=Enter
-# For matrix keys use the X and Y coordinates of the key:
-# KeyMatrix_1_3=Enter
-KeyMatrix_4_1=Enter
-KeyMatrix_4_2=Up
-KeyMatrix_4_3=Down
-KeyMatrix_4_4=Escape
-
-
-
-## ICP A106 driver ##
-[icp_a106]
-Device=/dev/ttyS1
-
-
-
-## Code Mercenaries IO-Warrior driver ##
-[IOWarrior]
-
-# display dimensions
-Size=20x4
-
-# serial number [exactly as listed by usbview]
-# (if not given, the 1st IOWarrior found gets used)
-#SerialNumber=00000674
-
-# Specifies if the last line is pixel addressable or it controls an
-# underline effect. [default: true (= pixel addressable); legal: yes, no]
-#Lastline=true
-
-
-
-## Soundgraph/Ahanix/Silverstone/Uneed/Accent iMON driver ##
-[imon]
-
-# select the device to use
-Device=/dev/lcd0
-
-# display dimensions
-Size=16x2
-
-
-
-## IrMan driver ##
-[IrMan]
-#if in trouble with IrMan, try Lirc emulator for IrMan
-
-# Select the input device to use
-#Device=/dev/irman
-
-# Select the configuration file to use
-#Config=/etc/irman.cfg
-
-
-
-## Joystick driver ##
-[joy]
-
-# Select the input device to use [default: /dev/js0]
-Device=/dev/js0
-
-# set the axis map
-Map_Axis1neg=Left
-Map_Axis1pos=Right
-Map_Axis2neg=Up
-Map_Axis2pos=Down
-
-# set the button map
-Map_Button1=Enter
-Map_Button2=Escape
-
-
-
-## LB216 driver ##
-[lb216]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/lcd
-
-# Set the initial brightness [default: 255; legal: 0 - 255]
-Brightness=255
-
-# Set the communication speed [default: 9600; legal: 2400, 9600]
-Speed=9600
-
-# Reinitialize the LCD's BIOS [default: no; legal: yes, no]
-Reboot=no
-
-
-
-## LCDM001 driver ##
-[lcdm001]
-
-Device=/dev/ttyS1
-
-# keypad settings
-# Keyname Function
-# Normal context Menu context
-# ------- -------------- ------------
-# PauseKey Pause/Continue Enter/select
-# BackKey Back(Go to previous screen) Up/Left
-# ForwardKey Forward(Go to next screen) Down/Right
-# MainMenuKey Open main menu Exit/Cancel
-PauseKey=LeftKey
-BackKey=UpKey
-ForwardKey=DownKey
-MainMenuKey=RightKey
-
-# You can rearrange the settings here.
-# If your device is broken, have a look at /usr/lib/lcdproc/lcdm001.h
-
-
-
-## HNE LCTerm driver ##
-[lcterm]
-Device=/dev/ttyS1
-Size=16x2
-
-
-
-## LIRC input driver ##
-[lirc]
-
-# Specify an alternative location of the lircrc file [default: ~/.lircrc]
-#lircrc=/etc/lircrc.lcdproc
-
-# Must be the same as in your lircrc
-#prog=lcdd
-
-
-
-##The driver for the VFD of the Medion MD8800 PC ##
-[MD8800]
-# device to use [default: /dev/ttyS1]
-#Device=/dev/ttyS1
-
-# display size [default: 16x2]
-#Size=16x2
-
-# Set the initial brightness [default: 1000; legal: 0 - 1000]
-Brightness=1000
-# Set the initial off-brightness [default: 0; legal: 0 - 1000]
-# This value is used when the display is normally
-# switched off in case LCDd is inactive
-OffBrightness=50
-
-
-
-## MSI MS-6931 driver for displays in 1HU servers ##
-[ms6931]
-
-# device to use [default: /dev/ttyS1]
-Device=/dev/ttyS1
-
-# display size [default: 16x2]
-#Size=16x2
-
-
-
-## MTC-S16209x driver ##
-[mtc_s16209x]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/lcd
-
-# Set the initial brightness [default: 255; legal: 0 - 255]
-Brightness=255
-
-# Reinitialize the LCD's BIOS [default: no; legal: yes, no]
-Reboot=no
-
-
-
-## Matrix Orbital driver ##
-[MtxOrb]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/ttyS0
-
-# Set the display size [default: 20x4]
-Size=20x4
-
-# Switch on the backlight? [default: yes]
-# NOTE: The driver will ignore this if the display is a vfd or vkd
-# as they crash if the backlight is turned off
-Backlight=yes
-
-# Set the initial contrast [default: 480]
-# NOTE: The driver will ignore this if the display
-# is a vfd or vkd as they don't have this feature
-Contrast=800
-
-# Set the communication speed [default: 19200; legal: 1200, 2400, 9600, 19200]
-Speed=19200
-
-# Set the display type [default: lcd; legal: lcd, lkd, vfd, vkd]
-Type=lkd
-
-# The following table translates from MtxOrb key letters to logical key namess.
-# By default no keys are mapped, meaning the keypad is not used at all.
-#KeyMap_A=Left
-#KeyMap_B=Right
-#KeyMap_C=Up
-#KeyMap_D=Down
-#KeyMap_E=Enter
-#KeyMap_F=Escape
-# See the [menu] section for an explanation of the key mappings
-
-# You can find out which key of your display sends which
-# character by setting keypad_test_mode to yes and running
-# LCDd. LCDd will output all characters it receives.
-# Afterwards you can modify the settings above and set
-# keypad_set_mode to no again.
-keypad_test_mode=no
-
-
-
-## Noritake VFD driver ##
-[NoritakeVFD]
-# device where the VFD is. Usual values are /dev/ttyS0 and /dev/ttyS1 [default: /dev/lcd]
-Device=/dev/ttyS0
-
-# Specifies the size of the LCD.
-Size=20x4
-
-# set the brightness
-Brightness=255
-
-# set the serial port speed [default: 9600, legal: 1200, 2400, 9600, 19200, 115200]
-Speed=9600
-
-# re-initialize VFD ?
-#Reboot=yes
-
-
-
-## Pyramid LCD driver ##
-[pyramid]
-
-# device to connect to [default: /dev/lcd]
-Device=/dev/ttyUSB0
-
-
-
-## Seiko Epson 1330 driver ##
-[sed1330]
-
-# Port where the LPT is. Common values are 0x278, 0x378 and 0x3BC
-Port=0x378
-
-# Type of LCD module (legal: G321D, G121C, G242C, G191D, G2446)
-# Note: G321D is the only one that is tested currently.
-Type=G321D
-
-
-
-## Seiko Epson 1520 driver ##
-[sed1520]
-
-# Port where the LPT is. Usual values are 0x278, 0x378 and 0x3BC
-Port=0x378
-
-
-
-## Serial VFD driver ##
-## Drives various (see below) serial 5x7dot VFD's. ##
-[serialVFD]
-
-# Specifies the displaytype.[default: 0]
-# 0 NEC (FIPC8367 based) VFDs.
-# 1 KD Rev 2.1.
-# 2 Noritake VFDs (*).
-# 3 Futaba VFDs
-# (* most should work, not testet yet.)
-Type=0
-
-# "no" if display connected serial, "yes" if connected parallel. [default: no(=serial)]
-use_parallel=no
-
-# Number of Custom-Characters [default: displaytype dependent]
-#Custom-Characters=0
-
-# Portaddress where the LPT is. Used in parallelmode only. Usual values are 0x278, 0x378 and 0x3BC
-Port=0x378
-
-# Device to use in serial mode. Usual values are /dev/ttyS0 and /dev/ttyS1
-Device=/dev/ttyS1
-
-# Specifies the size of the VFD.
-Size=20x2
-
-# Set the initial brightness [default: 1000; legal: 0 - 1000]
-# (4 steps 0-250, 251-500, 501-750, 751-1000)
-Brightness=1000
-# Set the initial off-brightness [default: 0; legal: 0 - 1000]
-# This value is used when the display is normally
-# switched off in case LCDd is inactive
-# (4 steps 0-250, 251-500, 501-750, 751-1000)
-OffBrightness=0
-
-# set the serial port speed [default: 9600; legal: 1200, 2400, 9600, 19200, 115200]
-Speed=9600
-
-# enable ISO 8859 1 compatibility [default: yes; legal: yes, no]
-#ISO_8859_1=yes
-
-
-
-## stv5730 driver ##
-[stv5730]
-
-# Port the device is connected to [default: 0x378]
-Port=0x378
-
-
-
-## SVGAlib driver ##
-[svga]
-
-# svgalib mode to use [default: G320x240x256; legal: supported svgalib modes]
-#Mode=G640x480x256
-
-# set display size [default: 20x4]
-Size=20x4
-
-# Set the initial contrast [default: 500; legal: 0 - 1000]
-# Can be set but does not change anything internally
-Contrast=500
-
-# Set the initial brightness [default: 1000; legal: 1 - 1000]
-Brightness=1000
-
-# Set the initial off-brightness [default: 500; legal: 1 - 1000]
-# This value is used when the display is normally
-# switched off in case LCDd is inactive
-OffBrightness=500
-
-
-
-## Text driver ##
-[text]
-# Set the display size [default: 20x4]
-Size=20x4
-
-
-
-## Toshiba T6963 driver ##
-[t6963]
-
-# set display size [default: 20x6]
-Size=20x6
-
-# port to use [default: 0x378; legal: 0x200 - 0x400]
-Port=0x378
-
-# Is ECP mode on? [default: yes; legal: yes, no]
-#ECPlpt=yes
-
-# Use graphics? [default: no; legal: yes, no]
-#graphic=no
-
-
-
-## Tyan Barebones LCD driver (GS10 & GS12 series) ##
-[tyan]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/lcd
-
-# Set the communication speed [default: 9600; legal: 4800, 9600]
-Speed=9600
-
-# set display size [default: 16x2]
-Size=16x2
-
-
-
-## ELV ula200 driver ##
-[ula200]
-
-# Select the LCD size [default: 20x4]
-Size=20x4
-
-# If you have a non standard keypad you can associate any keystrings to keys.
-# There are 6 input key in the CwLnx hardware that generate characters
-# from 'A' to 'F'.
-#
-# The following it the built-in default mapping hardcoded in the driver.
-# You can leave those unchanged if you have a standard keypad.
-# You can change it if you want to report other keystrings or have a non
-# standard keypad.
-# KeyMap_A=Up
-# KeyMap_B=Down
-# KeyMap_C=Left
-# KeyMap_D=Right
-# KeyMap_E=Enter
-# KeyMap_F=Escape
-
-
-
-## Wirz SLI LCD driver ##
-[sli]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/lcd
-
-# Set the communication speed [default: 19200; legal: 1200, 2400, 9600, 19200, 38400, 57600, 115200]
-Speed=19200
-
-
-
-## OnScreen Display using libxosd ##
-[xosd]
-
-# set display size [default: 20x4]
-Size=20x4
-
-# font to use
-Font=-*-terminus-*-r-*-*-*-320-*-*-*-*-*
-
-# EOF
diff --git a/abs/mv-core/MythVantage-config/templates/LCD/Silverstone/modules b/abs/mv-core/MythVantage-config/templates/LCD/Silverstone/modules
deleted file mode 100644
index cd576c3..0000000
--- a/abs/mv-core/MythVantage-config/templates/LCD/Silverstone/modules
+++ /dev/null
@@ -1 +0,0 @@
-lirc_imon #LCD
diff --git a/abs/mv-core/MythVantage-config/templates/LCD/antec_fusion/LCDd.conf b/abs/mv-core/MythVantage-config/templates/LCD/antec_fusion/LCDd.conf
deleted file mode 100644
index 2596c25..0000000
--- a/abs/mv-core/MythVantage-config/templates/LCD/antec_fusion/LCDd.conf
+++ /dev/null
@@ -1,869 +0,0 @@
-# LCDd.conf -- configuration file for the LCDproc server daemon LCDd
-#
-# This file contains the configuration for the LCDd server.
-#
-# The format is ini-file-like. It is divided into sections that start at
-# markers that look like [section]. Comments are all line-based comments,
-# and are lines that start with '#' or ';'.
-#
-# The server has a 'central' section named [server]. For the menu there is
-# a section called [menu]. Further each driver has a section which
-# defines how the driver acts.
-#
-# The drivers are activated by specifiying them in a driver= line in the
-# server section, like:
-#
-# Driver=curses
-#
-# This tells LCDd to use the curses driver.
-# The first driver that is loaded and is capable of output defines the
-# size of the display. The default driver to use is curses.
-# If the driver is specified using the -d <driver> command line option,
-# the Driver= options in the config file are ignored.
-#
-# The drivers read their own options from the respective sections.
-
-
-
-## Server section with all kinds of settings for the LCDd server ##
-[server]
-
-# Tells the server to load the given drivers. Multiple lines can be given.
-# The name of the driver is case sensitive and determines the section
-# where to look for further configuration options of the specific driver
-# as well as the name of the dynamic driver module to load at runtime.
-# The latter one can be changed by giving af File= directive in the
-# driver specific section.
-#
-# The following drivers are supported:
-# bayrad, CFontz, CFontz633, CFontzPacket, curses, CwLnx, EyeboxOne,
-# g15, glcdlib, glk, hd44780, icp_a106, imon, IOWarrior, irman,
-# joy, lb216,lcdm001, lcterm, lirc,MD8800, ms6931, mtc_s16209x,
-# MtxOrb, NoritakeVFD, pyramid, sed1330, sed1520, serialVFD,
-# sli, stv5730, svga, t6963, text, tyan, ula200, xosd
-Driver=imon
-#Driver=curses
-
-# Tells the driver to bind to the given interface
-Bind=127.0.0.1
-
-# Listen on this specified port; defaults to 13666.
-Port=13666
-
-# Sets the reporting level; defaults to 2 (warnings and errors only).
-#ReportLevel=3
-
-# Should we report to syslog instead of stderr ? Default: no
-#ReportToSyslog=yes
-
-# Sets the default time in seconds to displays a screen.
-WaitTime=5
-
-# User to run as. LCDd will drop its root priviledges,
-# if any, and run as this user instead.
-User=nobody
-
-# If yes, the the serverscreen will be rotated as a usual info screen. If no,
-# it will be a background screen, only visible when no other screens are
-# active.
-#ServerScreen=no
-
-# The server will stay in the foreground if set to true.
-#Foreground=no
-
-# Where can we find the driver modules ?
-# IMPORTANT: Make sure to change this setting to reflect your
-# specific setup! Otherwise LCDd won't be able to find
-# the driver modules and will thus not be able to
-# function properly.
-# NOTE: Always place a slash as last character !
-DriverPath=/usr/lib/lcdproc/
-
-# The "...Key=" lines define what the server does with keypresses that
-# don't go to any client.
-# These are the defaults:
-ToggleRotateKey=Enter
-PrevScreenKey=Left
-NextScreenKey=Right
-#ScrollUpKey=Up
-#ScrollDownKey=Down
-
-# If you have only 4 keys, you can choose to use this:
-#ToggleRotateKey=Enter
-#PrevScreenKey=Up
-#NextScreenKey=Down
-
-# If you have only 3 keys, you can choose to use this:
-#ToggleRotateKey=Enter
-#PrevScreenKey=Up
-
-
-
-## The menu section. The menu is an internal LCDproc client. ##
-[menu]
-# You can configure what keys the menu should use. Note that the MenuKey
-# will be reserved exclusively, the others work in shared mode.
-
-# The following works excellent with 4 keys or more.
-MenuKey=Escape
-EnterKey=Enter
-UpKey=Up
-DownKey=Down
-# If you have 6 keys you may define these as well
-#LeftKey=Left
-#RightKey=Right
-
-# If you have only 3 keys, you could use something like this:
-#MenuKey=Escape
-#EnterKey=Enter
-#DownKey=Down
-
-
-
-### Driver sections are below this line, in alphabetical order ###
-
-
-## EMAC BayRAD driver ##
-[bayrad]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/lcd
-
-# Set the communication speed [default: 9600; legal: 1200, 2400, 9600, 19200]
-Speed=9600
-
-
-
-## CrystalFontz driver (for CF632 & CF634) ##
-[CFontz]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/ttyS0
-# Select the LCD size [default: 20x4]
-Size=20x4
-# Set the initial contrast [default: 560; legal: 0 - 1000]
-Contrast=350
-# Set the initial brightness [default: 255; legal: 0 - 255]
-Brightness=255
-# Set the initial off-brightness [default: 0; legal: 0 - 255]
-# This value is used when the display is normally
-# switched off in case LCDd is inactive
-OffBrightness=0
-# Set the communication speed [default: 9600; legal: 1200, 2400, 9600, 19200 or 115200]
-Speed=9600
-# Set the firmware version (New means >= 2.0) [default: no; legal: yes, no]
-NewFirmware=no
-# Reinitialize the LCD's BIOS [default: no; legal: yes, no]
-# normally you shouldn't need this
-Reboot=no
-
-
-
-## CrystalFontz633 driver (for CF633 only) ##
-[CFontz633]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/ttyS0
-# Select the LCD type (size) [default: 16x2]
-Size=16x2
-# Set the initial contrast [default: 560; legal: 0 - 1000]
-Contrast=350
-# Set the initial brightness [default: 1000; legal: 0 - 1000]
-Brightness=1000
-# Set the initial off-brightness [default: 0; legal: 0 - 1000]
-# This value is used when the display is normally
-# switched off in case LCDd is inactive
-OffBrightness=50
-# Set the communication speed [default: 9600; legal: 1200, 2400, 9600, 19200, 115200]
-Speed=19200
-# Set the firmware version (New means >= 2.0) [default: no; legal: yes, no]
-# Currently this flag is not in use, there is no such thing as NewFirmware. ;=)
-#NewFirmware=no
-# Reinitialize the LCD's BIOS [default: no; legal: yes, no]
-# I want to reboot the LCD to make sure we start from a known state
-Reboot=yes
-
-
-
-## CrystalFontz packet driver (for CF631, CF633 & CF635) ##
-[CFontzPacket]
-
-# Select the LCD model [default: 633; legal: 631, 633, 635]
-Model=635
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/ttyUSB0
-# Select the LCD size [default: depending on model: 635: 20x4, 631: 20x2, 633: 16x2]
-Size=20x4
-# Set the initial contrast [default: 560; legal: 0 - 1000]
-Contrast=350
-# Set the initial brightness [default: 1000; legal: 0 - 1000]
-Brightness=1000
-# Set the initial off-brightness [default: 0; legal: 0 - 1000]
-# This value is used when the display is normally
-# switched off in case LCDd is inactive
-OffBrightness=50
-# Set the communication speed [default: 9600; legal: 1200, 2400, 9600, 19200, 115200]
-Speed=115200
-# Set the firmware version (New means >= 2.0) [default: no; legal: yes, no]
-# Currently this flag is not in use, there is no such thing as NewFirmware. ;=)
-#NewFirmware=no
-# Reinitialize the LCD's BIOS [default: no; legal: yes, no]
-# I want to reboot the LCD to make sure we start from a known state
-Reboot=yes
-
-
-
-## Curses driver ##
-[curses]
-
-# color settings
-# foreground color [default: blue]
-Foreground=blue
-# background color when "backlight" is off [default: cyan]
-Background=cyan
-# background color when "backlight" is on [default: red]
-Backlight=red
-
-# display size [default: 20x4]
-Size=20x4
-
-# What position (X,Y) to start the left top corner at...
-# Default: (7,7)
-TopLeftX=7
-TopLeftY=7
-
-# use ASC symbols for icons & bars [default: no; legal, yes, no]
-UseACS=no
-
-
-
-## Cwlinux driver ##
-[CwLnx]
-
-# Select the LCD model [default: 12232; legal: 12232, 1602]
-Model=12232
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/ttyUSB0
-
-# Select the LCD size [default: depending on model: 12232: 20x4, 1602: 16x2]
-Size=20x4
-
-# Set the communication speed [default: 19200; legal: 9600, 19200]
-Speed=19200
-
-# Reinitialize the LCD's BIOS [default: no; legal: yes, no]
-# normally you shouldn't need this
-Reboot=no
-
-# If you have a keypad connected. Keypad layout is currently not
-# configureable from the config file.
-Keypad=yes
-
-# If you have a non-standard keypad you can associate any keystrings to keys.
-# There are 6 input keys in the CwLnx hardware that generate characters
-# from 'A' to 'F'.
-#
-# The following is the built-in default mapping hardcoded in the driver.
-# You can leave those unchanged if you have a standard keypad.
-# You can change it if you want to report other keystrings or have a non
-# standard keypad.
-# KeyMap_A=Up
-# KeyMap_B=Down
-# KeyMap_C=Left
-# KeyMap_D=Right
-# KeyMap_E=Enter
-# KeyMap_F=Escape
-
-# keypad_test_mode permits to test keypad assignement
-# Default value is no
-#keypad_test_mode=yes
-
-
-
-## EyeboxOne driver ##
-[EyeboxOne]
-
-# Select the output device to use [default: /dev/ttyS1]
-#Device=/dev/cua01
-Device=/dev/ttyS1
-
-# Set the display size [default: 20x4]
-Size=20x4
-
-# Switch on the backlight? [default: yes]
-Backlight=yes
-
-# Switch on the cursor? [default: no]
-Cursor=no
-
-# Set the communication speed [default: 19200; legal: 1200, 2400, 9600, 19200]
-Speed=19200
-
-# Enter Key is a \r character, so it's hardcoded in the driver
-LeftKey=D
-RightKey=C
-UpKey=A
-DownKey=B
-EscapeKey=P
-
-# You can find out which key of your display sends which
-# character by setting keypad_test_mode to yes and running
-# LCDd. LCDd will output all characters it receives.
-# Afterwards you can modify the settings above and set
-# keypad_set_mode to no again.
-keypad_test_mode=no
-
-
-## g15 driver for Logitech G15 Keyboard LCDs ##
-[g15]
-
-# Display size (currently unused)
-size=20x5
-
-## glcdlib meta driver for graphical LCDs ##
-[glcdlib]
-
-## mandatory:
-
-# which graphical display supported by graphlcd-base to use [default: image]
-# (see /etc/graphlcd.conf for possible drivers)
-Driver=noritake800
-
-# no=use graphlcd bitmap fonts (they have only one size / font file)
-# yes=use fonts supported by FreeType2 (needs Freetype2 support in libglcdprocdriver and its dependants)
-UseFT2=yes
-
-# text resolution in fixed width characters [default: 16x4]
-# (if it won't fit according to available physical pixel resolutioni
-# and the minimum available font face size in pixels, then
-# 'DebugBorder' will automatically be turned on)
-TextResolution=20x4
-
-# path to font file to use
-FontFile=/usr/share/fonts/corefonts/courbd.ttf
-
-
-## these only apply if UseFT2=yes:
-
-# character encoding to use
-CharEncoding=iso8859-2
-
-# minumum size in pixels in which fonts should be rendered
-MinFontFaceSize=7x12
-
-
-## optional:
-Brightness=50 # Brightness (in %) if applicable
-Contrast=50 # Contrast (in %) if applicable
-Backlight=no # Backlight if applicable
-UpsideDown=no # flip image upside down
-Invert=no # invert light/dark pixels
-ShowDebugFrame=no # turns on/off 1 pixel thick debugging
- # border whithin the usable text area,
- # for setting up TextResolution and
- # MinFontFaceSize (if using FT2);
-ShowBigBorder=no # border around the unused area
-ShowThinBorder=yes # border around the unused area
-PixelShiftX=0
-PixelShiftY=2
-
-
-
-## Matrix Orbital GLK driver ##
-[glk]
-
-# select the serial device to use [default: /dev/lcd]
-Device=/dev/lcd
-
-# set the initial contrast value [default: 560; legal: 0 - 1000]
-Contrast=560
-
-# set the serial port speed [default: 19200; legal: 9600, 19200, 38400]
-Speed=19200
-
-
-
-## Hitachi HD44780 driver ##
-[hd44780]
-
-# Select what type of connection. See documentation for types.
-ConnectionType=4bit
-
-# Port where the LPT is. Usual values are 0x278, 0x378 and 0x3BC
-Port=0x378
-
-# Device of the serial interface (default is /dev/lcd)
-Device=/dev/ttyS0
-
-# Bitrate of the serial port (0 for interface default)
-Speed=0
-
-# If you have a keypad connected.
-# You may also need to configure the keypad layout further on in this file.
-Keypad=no
-
-# set the initial contrast (for bwctusb only) [default: 0; legal: 0 - 1000]
-Contrast=0
-
-# If you have a switchable backlight.
-Backlight=no
-
-# If you have the additional output port ("bargraph") and you want to
-# be able to control it with the lcdproc OUTPUT command
-OutputPort=no
-
-# Specifies if the last line is pixel addressable or it controls an
-# underline effect. [default: true (= pixel addressable); legal: yes, no]
-#Lastline=true
-
-# Specifies the size of the LCD.
-# In case of multiple combined displays, this should be the total size.
-Size=20x4
-
-# For multiple combined displays: how many lines does each display have.
-# Vspan=2,2 means both displays have 2 lines.
-#vspan=2,2
-
-# If you have an HD66712, a KS0073 or an other 'almost HD44780-compatible',
-# set this flag to get into extended mode (4-line linear).
-# This flag is NOT the old obsolete Extended option.
-#ExtendedMode=yes
-
-# Character map to to map ISO-8859-1 to the LCD's character set
-# [default: hd44780_default; legal: hd44780_default, ea_ks0073 ]
-Charmap=hd44780_default
-
-# If your display is slow and cannot keep up with the flow of data from
-# LCDd, garbage can appear on the LCDd. Set this delay factor to 2 or 4
-# to increase the delays. Default: 1.
-#DelayMult=2
-
-# You can reduce the inserted delays by setting this to false.
-# On fast PCs it is possible your LCD does not respond correctly.
-# Default: true.
-DelayBus=true
-
-# If you have a keypad you can assign keystrings to the keys.
-# See documentation for used terms and how to wire it.
-# For example to give directly connected key 4 the string "Enter", use:
-# KeyDirect_4=Enter
-# For matrix keys use the X and Y coordinates of the key:
-# KeyMatrix_1_3=Enter
-KeyMatrix_4_1=Enter
-KeyMatrix_4_2=Up
-KeyMatrix_4_3=Down
-KeyMatrix_4_4=Escape
-
-
-
-## ICP A106 driver ##
-[icp_a106]
-Device=/dev/ttyS1
-
-
-
-## Code Mercenaries IO-Warrior driver ##
-[IOWarrior]
-
-# display dimensions
-Size=20x4
-
-# serial number [exactly as listed by usbview]
-# (if not given, the 1st IOWarrior found gets used)
-#SerialNumber=00000674
-
-# Specifies if the last line is pixel addressable or it controls an
-# underline effect. [default: true (= pixel addressable); legal: yes, no]
-#Lastline=true
-
-
-
-## Soundgraph/Ahanix/Silverstone/Uneed/Accent iMON driver ##
-[imon]
-
-# select the device to use
-Device=/dev/lcd0
-
-# display dimensions
-Size=16x2
-
-
-
-## IrMan driver ##
-[IrMan]
-#if in trouble with IrMan, try Lirc emulator for IrMan
-
-# Select the input device to use
-#Device=/dev/irman
-
-# Select the configuration file to use
-#Config=/etc/irman.cfg
-
-
-
-## Joystick driver ##
-[joy]
-
-# Select the input device to use [default: /dev/js0]
-Device=/dev/js0
-
-# set the axis map
-Map_Axis1neg=Left
-Map_Axis1pos=Right
-Map_Axis2neg=Up
-Map_Axis2pos=Down
-
-# set the button map
-Map_Button1=Enter
-Map_Button2=Escape
-
-
-
-## LB216 driver ##
-[lb216]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/lcd
-
-# Set the initial brightness [default: 255; legal: 0 - 255]
-Brightness=255
-
-# Set the communication speed [default: 9600; legal: 2400, 9600]
-Speed=9600
-
-# Reinitialize the LCD's BIOS [default: no; legal: yes, no]
-Reboot=no
-
-
-
-## LCDM001 driver ##
-[lcdm001]
-
-Device=/dev/ttyS1
-
-# keypad settings
-# Keyname Function
-# Normal context Menu context
-# ------- -------------- ------------
-# PauseKey Pause/Continue Enter/select
-# BackKey Back(Go to previous screen) Up/Left
-# ForwardKey Forward(Go to next screen) Down/Right
-# MainMenuKey Open main menu Exit/Cancel
-PauseKey=LeftKey
-BackKey=UpKey
-ForwardKey=DownKey
-MainMenuKey=RightKey
-
-# You can rearrange the settings here.
-# If your device is broken, have a look at /usr/lib/lcdproc/lcdm001.h
-
-
-
-## HNE LCTerm driver ##
-[lcterm]
-Device=/dev/ttyS1
-Size=16x2
-
-
-
-## LIRC input driver ##
-[lirc]
-
-# Specify an alternative location of the lircrc file [default: ~/.lircrc]
-#lircrc=/etc/lircrc.lcdproc
-
-# Must be the same as in your lircrc
-#prog=lcdd
-
-
-
-##The driver for the VFD of the Medion MD8800 PC ##
-[MD8800]
-# device to use [default: /dev/ttyS1]
-#Device=/dev/ttyS1
-
-# display size [default: 16x2]
-#Size=16x2
-
-# Set the initial brightness [default: 1000; legal: 0 - 1000]
-Brightness=1000
-# Set the initial off-brightness [default: 0; legal: 0 - 1000]
-# This value is used when the display is normally
-# switched off in case LCDd is inactive
-OffBrightness=50
-
-
-
-## MSI MS-6931 driver for displays in 1HU servers ##
-[ms6931]
-
-# device to use [default: /dev/ttyS1]
-Device=/dev/ttyS1
-
-# display size [default: 16x2]
-#Size=16x2
-
-
-
-## MTC-S16209x driver ##
-[mtc_s16209x]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/lcd
-
-# Set the initial brightness [default: 255; legal: 0 - 255]
-Brightness=255
-
-# Reinitialize the LCD's BIOS [default: no; legal: yes, no]
-Reboot=no
-
-
-
-## Matrix Orbital driver ##
-[MtxOrb]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/ttyS0
-
-# Set the display size [default: 20x4]
-Size=20x4
-
-# Switch on the backlight? [default: yes]
-# NOTE: The driver will ignore this if the display is a vfd or vkd
-# as they crash if the backlight is turned off
-Backlight=yes
-
-# Set the initial contrast [default: 480]
-# NOTE: The driver will ignore this if the display
-# is a vfd or vkd as they don't have this feature
-Contrast=800
-
-# Set the communication speed [default: 19200; legal: 1200, 2400, 9600, 19200]
-Speed=19200
-
-# Set the display type [default: lcd; legal: lcd, lkd, vfd, vkd]
-Type=lkd
-
-# The following table translates from MtxOrb key letters to logical key namess.
-# By default no keys are mapped, meaning the keypad is not used at all.
-#KeyMap_A=Left
-#KeyMap_B=Right
-#KeyMap_C=Up
-#KeyMap_D=Down
-#KeyMap_E=Enter
-#KeyMap_F=Escape
-# See the [menu] section for an explanation of the key mappings
-
-# You can find out which key of your display sends which
-# character by setting keypad_test_mode to yes and running
-# LCDd. LCDd will output all characters it receives.
-# Afterwards you can modify the settings above and set
-# keypad_set_mode to no again.
-keypad_test_mode=no
-
-
-
-## Noritake VFD driver ##
-[NoritakeVFD]
-# device where the VFD is. Usual values are /dev/ttyS0 and /dev/ttyS1 [default: /dev/lcd]
-Device=/dev/ttyS0
-
-# Specifies the size of the LCD.
-Size=20x4
-
-# set the brightness
-Brightness=255
-
-# set the serial port speed [default: 9600, legal: 1200, 2400, 9600, 19200, 115200]
-Speed=9600
-
-# re-initialize VFD ?
-#Reboot=yes
-
-
-
-## Pyramid LCD driver ##
-[pyramid]
-
-# device to connect to [default: /dev/lcd]
-Device=/dev/ttyUSB0
-
-
-
-## Seiko Epson 1330 driver ##
-[sed1330]
-
-# Port where the LPT is. Common values are 0x278, 0x378 and 0x3BC
-Port=0x378
-
-# Type of LCD module (legal: G321D, G121C, G242C, G191D, G2446)
-# Note: G321D is the only one that is tested currently.
-Type=G321D
-
-
-
-## Seiko Epson 1520 driver ##
-[sed1520]
-
-# Port where the LPT is. Usual values are 0x278, 0x378 and 0x3BC
-Port=0x378
-
-
-
-## Serial VFD driver ##
-## Drives various (see below) serial 5x7dot VFD's. ##
-[serialVFD]
-
-# Specifies the displaytype.[default: 0]
-# 0 NEC (FIPC8367 based) VFDs.
-# 1 KD Rev 2.1.
-# 2 Noritake VFDs (*).
-# 3 Futaba VFDs
-# (* most should work, not testet yet.)
-Type=0
-
-# "no" if display connected serial, "yes" if connected parallel. [default: no(=serial)]
-use_parallel=no
-
-# Number of Custom-Characters [default: displaytype dependent]
-#Custom-Characters=0
-
-# Portaddress where the LPT is. Used in parallelmode only. Usual values are 0x278, 0x378 and 0x3BC
-Port=0x378
-
-# Device to use in serial mode. Usual values are /dev/ttyS0 and /dev/ttyS1
-Device=/dev/ttyS1
-
-# Specifies the size of the VFD.
-Size=20x2
-
-# Set the initial brightness [default: 1000; legal: 0 - 1000]
-# (4 steps 0-250, 251-500, 501-750, 751-1000)
-Brightness=1000
-# Set the initial off-brightness [default: 0; legal: 0 - 1000]
-# This value is used when the display is normally
-# switched off in case LCDd is inactive
-# (4 steps 0-250, 251-500, 501-750, 751-1000)
-OffBrightness=0
-
-# set the serial port speed [default: 9600; legal: 1200, 2400, 9600, 19200, 115200]
-Speed=9600
-
-# enable ISO 8859 1 compatibility [default: yes; legal: yes, no]
-#ISO_8859_1=yes
-
-
-
-## stv5730 driver ##
-[stv5730]
-
-# Port the device is connected to [default: 0x378]
-Port=0x378
-
-
-
-## SVGAlib driver ##
-[svga]
-
-# svgalib mode to use [default: G320x240x256; legal: supported svgalib modes]
-#Mode=G640x480x256
-
-# set display size [default: 20x4]
-Size=20x4
-
-# Set the initial contrast [default: 500; legal: 0 - 1000]
-# Can be set but does not change anything internally
-Contrast=500
-
-# Set the initial brightness [default: 1000; legal: 1 - 1000]
-Brightness=1000
-
-# Set the initial off-brightness [default: 500; legal: 1 - 1000]
-# This value is used when the display is normally
-# switched off in case LCDd is inactive
-OffBrightness=500
-
-
-
-## Text driver ##
-[text]
-# Set the display size [default: 20x4]
-Size=20x4
-
-
-
-## Toshiba T6963 driver ##
-[t6963]
-
-# set display size [default: 20x6]
-Size=20x6
-
-# port to use [default: 0x378; legal: 0x200 - 0x400]
-Port=0x378
-
-# Is ECP mode on? [default: yes; legal: yes, no]
-#ECPlpt=yes
-
-# Use graphics? [default: no; legal: yes, no]
-#graphic=no
-
-
-
-## Tyan Barebones LCD driver (GS10 & GS12 series) ##
-[tyan]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/lcd
-
-# Set the communication speed [default: 9600; legal: 4800, 9600]
-Speed=9600
-
-# set display size [default: 16x2]
-Size=16x2
-
-
-
-## ELV ula200 driver ##
-[ula200]
-
-# Select the LCD size [default: 20x4]
-Size=20x4
-
-# If you have a non standard keypad you can associate any keystrings to keys.
-# There are 6 input key in the CwLnx hardware that generate characters
-# from 'A' to 'F'.
-#
-# The following it the built-in default mapping hardcoded in the driver.
-# You can leave those unchanged if you have a standard keypad.
-# You can change it if you want to report other keystrings or have a non
-# standard keypad.
-# KeyMap_A=Up
-# KeyMap_B=Down
-# KeyMap_C=Left
-# KeyMap_D=Right
-# KeyMap_E=Enter
-# KeyMap_F=Escape
-
-
-
-## Wirz SLI LCD driver ##
-[sli]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/lcd
-
-# Set the communication speed [default: 19200; legal: 1200, 2400, 9600, 19200, 38400, 57600, 115200]
-Speed=19200
-
-
-
-## OnScreen Display using libxosd ##
-[xosd]
-
-# set display size [default: 20x4]
-Size=20x4
-
-# font to use
-Font=-*-terminus-*-r-*-*-*-320-*-*-*-*-*
-
-# EOF
diff --git a/abs/mv-core/MythVantage-config/templates/LCD/antec_fusion/lircd.conf b/abs/mv-core/MythVantage-config/templates/LCD/antec_fusion/lircd.conf
deleted file mode 100644
index ce64936..0000000
--- a/abs/mv-core/MythVantage-config/templates/LCD/antec_fusion/lircd.conf
+++ /dev/null
@@ -1,38 +0,0 @@
-
-# Please make this file available to others
-# by sending it to <lirc@bartelmus.de>
-#
-# this config file was automatically generated
-# using lirc-0.8.1(default) on Thu Sep 6 09:06:50 2007
-#
-# contributed by
-#
-# brand: /tmp/out
-# model no. of remote control:
-# devices being controlled by this remote:
-#
-
-begin remote
-
- name Antec_fusion_silver_v1
- bits 16
- eps 30
- aeps 100
-
- one 0 0
- zero 0 0
- post_data_bits 16
- post_data 0xFF
- gap 131985
- min_repeat 6
- toggle_bit 0
-
-
- begin codes
- CW 0x0001
- CCW 0x0100
- end codes
-
-end remote
-
-
diff --git a/abs/mv-core/MythVantage-config/templates/LCD/antec_fusion/lircrc b/abs/mv-core/MythVantage-config/templates/LCD/antec_fusion/lircrc
deleted file mode 100644
index 7a39704..0000000
--- a/abs/mv-core/MythVantage-config/templates/LCD/antec_fusion/lircrc
+++ /dev/null
@@ -1,15 +0,0 @@
-begin
- remote = Antec_fusion_silver_v1
- prog = mythtv
- button = CW
- repeat = 1
- config = ]
-end
-
-begin
- remote = Antec_fusion_silver_v1
- prog = mythtv
- button = CCW
- repeat = 1
- config = [
-end
diff --git a/abs/mv-core/MythVantage-config/templates/LCD/antec_fusion/modules b/abs/mv-core/MythVantage-config/templates/LCD/antec_fusion/modules
deleted file mode 100644
index cd576c3..0000000
--- a/abs/mv-core/MythVantage-config/templates/LCD/antec_fusion/modules
+++ /dev/null
@@ -1 +0,0 @@
-lirc_imon #LCD
diff --git a/abs/mv-core/MythVantage-config/templates/LCD/xosd/LCDd.conf b/abs/mv-core/MythVantage-config/templates/LCD/xosd/LCDd.conf
deleted file mode 100644
index 5b37bd7..0000000
--- a/abs/mv-core/MythVantage-config/templates/LCD/xosd/LCDd.conf
+++ /dev/null
@@ -1,957 +0,0 @@
-# LCDd.conf -- configuration file for the LCDproc server daemon LCDd
-#
-# This file contains the configuration for the LCDd server.
-#
-# The format is ini-file-like. It is divided into sections that start at
-# markers that look like [section]. Comments are all line-based comments,
-# and are lines that start with '#' or ';'.
-#
-# The server has a 'central' section named [server]. For the menu there is
-# a section called [menu]. Further each driver has a section which
-# defines how the driver acts.
-#
-# The drivers are activated by specifiying them in a driver= line in the
-# server section, like:
-#
-# Driver=curses
-#
-# This tells LCDd to use the curses driver.
-# The first driver that is loaded and is capable of output defines the
-# size of the display. The default driver to use is curses.
-# If the driver is specified using the -d <driver> command line option,
-# the Driver= options in the config file are ignored.
-#
-# The drivers read their own options from the respective sections.
-
-
-
-## Server section with all kinds of settings for the LCDd server ##
-[server]
-
-# Tells the server to load the given drivers. Multiple lines can be given.
-# The name of the driver is case sensitive and determines the section
-# where to look for further configuration options of the specific driver
-# as well as the name of the dynamic driver module to load at runtime.
-# The latter one can be changed by giving af File= directive in the
-# driver specific section.
-#
-# The following drivers are supported:
-# bayrad, CFontz, CFontz633, CFontzPacket, curses, CwLnx, ea65,
-# EyeboxOne, g15, glcdlib, glk, hd44780, icp_a106, imon, IOWarrior,
-# irman, joy, lb216, lcdm001, lcterm, lirc, MD8800, ms6931, mtc_s16209x,
-# MtxOrb, NoritakeVFD, picolcd, pyramid, sed1330, sed1520, serialPOS,
-# serialVFD, sli, stv5730, svga, t6963, text, tyan, ula200, xosd
-Driver=xosd
-
-# Tells the driver to bind to the given interface
-Bind=127.0.0.1
-
-# Listen on this specified port; defaults to 13666.
-Port=13666
-
-# Sets the reporting level; defaults to 2 (warnings and errors only).
-ReportLevel=3
-
-# Should we report to syslog instead of stderr ? Default: no
-#ReportToSyslog=yes
-
-# Sets the default time in seconds to displays a screen.
-WaitTime=5
-
-# User to run as. LCDd will drop its root priviledges,
-# if any, and run as this user instead.
-User=nobody
-
-# If yes, the the serverscreen will be rotated as a usual info screen. If no,
-# it will be a background screen, only visible when no other screens are
-# active.
-#ServerScreen=no
-
-# The server will stay in the foreground if set to true.
-#Foreground=no
-
-# Where can we find the driver modules ?
-# IMPORTANT: Make sure to change this setting to reflect your
-# specific setup! Otherwise LCDd won't be able to find
-# the driver modules and will thus not be able to
-# function properly.
-# NOTE: Always place a slash as last character !
-DriverPath=/usr/lib/lcdproc/
-
-# GoodBye message: each entry represents a display line; default: builtin
-#GoodBye="Thanks for using"
-#GoodBye=" LCDproc!"
-
-# The "...Key=" lines define what the server does with keypresses that
-# don't go to any client.
-# These are the defaults:
-ToggleRotateKey=Enter
-PrevScreenKey=Left
-NextScreenKey=Right
-#ScrollUpKey=Up
-#ScrollDownKey=Down
-
-# If you have only 4 keys, you can choose to use this:
-#ToggleRotateKey=Enter
-#PrevScreenKey=Up
-#NextScreenKey=Down
-
-# If you have only 3 keys, you can choose to use this:
-#ToggleRotateKey=Enter
-#PrevScreenKey=Up
-
-
-
-## The menu section. The menu is an internal LCDproc client. ##
-[menu]
-# You can configure what keys the menu should use. Note that the MenuKey
-# will be reserved exclusively, the others work in shared mode.
-
-# The following works excellent with 4 keys or more.
-MenuKey=Escape
-EnterKey=Enter
-UpKey=Up
-DownKey=Down
-# If you have 6 keys you may define these as well
-#LeftKey=Left
-#RightKey=Right
-
-# If you have only 3 keys, you could use something like this:
-#MenuKey=Escape
-#EnterKey=Enter
-#DownKey=Down
-
-
-
-### Driver sections are below this line, in alphabetical order ###
-
-
-## EMAC BayRAD driver ##
-[bayrad]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/lcd
-
-# Set the communication speed [default: 9600; legal: 1200, 2400, 9600, 19200]
-Speed=9600
-
-
-
-## CrystalFontz driver (for CF632 & CF634) ##
-[CFontz]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/ttyS0
-# Select the LCD size [default: 20x4]
-Size=20x4
-# Set the initial contrast [default: 560; legal: 0 - 1000]
-Contrast=350
-# Set the initial brightness [default: 1000; legal: 0 - 1000]
-Brightness=1000
-# Set the initial off-brightness [default: 0; legal: 0 - 1000]
-# This value is used when the display is normally
-# switched off in case LCDd is inactive
-OffBrightness=0
-# Set the communication speed [default: 9600; legal: 1200, 2400, 9600, 19200 or 115200]
-Speed=9600
-# Set the firmware version (New means >= 2.0) [default: no; legal: yes, no]
-NewFirmware=no
-# Reinitialize the LCD's BIOS [default: no; legal: yes, no]
-# normally you shouldn't need this
-Reboot=no
-
-
-
-## CrystalFontz633 driver (for CF633 only) ##
-[CFontz633]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/ttyS0
-# Select the LCD type (size) [default: 16x2]
-Size=16x2
-# Set the initial contrast [default: 560; legal: 0 - 1000]
-Contrast=350
-# Set the initial brightness [default: 1000; legal: 0 - 1000]
-Brightness=1000
-# Set the initial off-brightness [default: 0; legal: 0 - 1000]
-# This value is used when the display is normally
-# switched off in case LCDd is inactive
-OffBrightness=50
-# Set the communication speed [default: 9600; legal: 1200, 2400, 9600, 19200, 115200]
-Speed=19200
-# Set the firmware version (New means >= 2.0) [default: no; legal: yes, no]
-# Currently this flag is not in use, there is no such thing as NewFirmware. ;=)
-#NewFirmware=no
-# Reinitialize the LCD's BIOS [default: no; legal: yes, no]
-# I want to reboot the LCD to make sure we start from a known state
-Reboot=yes
-
-
-
-## CrystalFontz packet driver (for CF631, CF633 & CF635) ##
-[CFontzPacket]
-
-# Select the LCD model [default: 633; legal: 631, 633, 635]
-Model=635
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/ttyUSB0
-# Select the LCD size [default: depending on model: 635: 20x4, 631: 20x2, 633: 16x2]
-Size=20x4
-# Set the initial contrast [default: 560; legal: 0 - 1000]
-Contrast=350
-# Set the initial brightness [default: 1000; legal: 0 - 1000]
-Brightness=1000
-# Set the initial off-brightness [default: 0; legal: 0 - 1000]
-# This value is used when the display is normally
-# switched off in case LCDd is inactive
-OffBrightness=50
-# Set the communication speed [default: 9600; legal: 1200, 2400, 9600, 19200, 115200]
-Speed=115200
-# Set the firmware version (New means >= 2.0) [default: no; legal: yes, no]
-# Currently this flag is not in use, there is no such thing as NewFirmware. ;=)
-#NewFirmware=no
-# Reinitialize the LCD's BIOS [default: no; legal: yes, no]
-# I want to reboot the LCD to make sure we start from a known state
-Reboot=yes
-
-
-
-## Curses driver ##
-[curses]
-
-# color settings
-# foreground color [default: blue]
-Foreground=blue
-# background color when "backlight" is off [default: cyan]
-Background=cyan
-# background color when "backlight" is on [default: red]
-Backlight=red
-
-# display size [default: 20x4]
-Size=20x4
-
-# What position (X,Y) to start the left top corner at...
-# Default: (7,7)
-TopLeftX=7
-TopLeftY=7
-
-# use ASC symbols for icons & bars [default: no; legal, yes, no]
-UseACS=no
-
-
-
-## Cwlinux driver ##
-[CwLnx]
-
-# Select the LCD model [default: 12232; legal: 12232, 1602]
-Model=12232
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/ttyUSB0
-
-# Select the LCD size [default: depending on model: 12232: 20x4, 1602: 16x2]
-Size=20x4
-
-# Set the communication speed [default: 19200; legal: 9600, 19200]
-Speed=19200
-
-# Reinitialize the LCD's BIOS [default: no; legal: yes, no]
-# normally you shouldn't need this
-Reboot=no
-
-# If you have a keypad connected. Keypad layout is currently not
-# configureable from the config file.
-Keypad=yes
-
-# If you have a non-standard keypad you can associate any keystrings to keys.
-# There are 6 input keys in the CwLnx hardware that generate characters
-# from 'A' to 'F'.
-#
-# The following is the built-in default mapping hardcoded in the driver.
-# You can leave those unchanged if you have a standard keypad.
-# You can change it if you want to report other keystrings or have a non
-# standard keypad.
-# KeyMap_A=Up
-# KeyMap_B=Down
-# KeyMap_C=Left
-# KeyMap_D=Right
-# KeyMap_E=Enter
-# KeyMap_F=Escape
-
-# keypad_test_mode permits to test keypad assignement
-# Default value is no
-#keypad_test_mode=yes
-
-
-
-## ea65 driver for the display in AOpen XC Cube AV EA65 media barebones ##
-[ea65]
-
-# Device is fixed /dev/ttyS1
-# Width and Height are fixed 9x1
-
-# As the VFD is self luminescent we don't have a backlight
-# But we can use the backlight functions to control the front LEDs
-# Brightness 0 to 299 -> LEDs off
-# Brightness 300 to 699 -> LEDs half bright
-# Brightness 700 to 1000 -> LEDs full bright
-Brightness=500
-# OffBrightness is the the value used for the 'backlight off' state
-OffBrightness=0
-
-
-
-## EyeboxOne driver ##
-[EyeboxOne]
-
-# Select the output device to use [default: /dev/ttyS1]
-#Device=/dev/cua01
-Device=/dev/ttyS1
-
-# Set the display size [default: 20x4]
-Size=20x4
-
-# Switch on the backlight? [default: yes]
-Backlight=yes
-
-# Switch on the cursor? [default: no]
-Cursor=no
-
-# Set the communication speed [default: 19200; legal: 1200, 2400, 9600, 19200]
-Speed=19200
-
-# Enter Key is a \r character, so it's hardcoded in the driver
-LeftKey=D
-RightKey=C
-UpKey=A
-DownKey=B
-EscapeKey=P
-
-# You can find out which key of your display sends which
-# character by setting keypad_test_mode to yes and running
-# LCDd. LCDd will output all characters it receives.
-# Afterwards you can modify the settings above and set
-# keypad_set_mode to no again.
-keypad_test_mode=no
-
-
-
-## g15 driver for Logitech G15 Keyboard LCDs ##
-[g15]
-
-# Display size (currently unused)
-size=20x5
-
-## glcdlib meta driver for graphical LCDs ##
-[glcdlib]
-
-## mandatory:
-
-# which graphical display supported by graphlcd-base to use [default: image]
-# (see /etc/graphlcd.conf for possible drivers)
-Driver=noritake800
-
-# no=use graphlcd bitmap fonts (they have only one size / font file)
-# yes=use fonts supported by FreeType2 (needs Freetype2 support in libglcdprocdriver and its dependants)
-UseFT2=yes
-
-# text resolution in fixed width characters [default: 16x4]
-# (if it won't fit according to available physical pixel resolutioni
-# and the minimum available font face size in pixels, then
-# 'DebugBorder' will automatically be turned on)
-TextResolution=20x4
-
-# path to font file to use
-FontFile=/usr/share/fonts/corefonts/courbd.ttf
-
-## these only apply if UseFT2=yes:
-
-# character encoding to use
-CharEncoding=iso8859-2
-
-# minumum size in pixels in which fonts should be rendered
-MinFontFaceSize=7x12
-
-## optional:
-Brightness=50 # Brightness (in %) if applicable
-Contrast=50 # Contrast (in %) if applicable
-Backlight=no # Backlight if applicable
-UpsideDown=no # flip image upside down
-Invert=no # invert light/dark pixels
-ShowDebugFrame=no # turns on/off 1 pixel thick debugging
- # border whithin the usable text area,
- # for setting up TextResolution and
- # MinFontFaceSize (if using FT2);
-ShowBigBorder=no # border around the unused area
-ShowThinBorder=yes # border around the unused area
-PixelShiftX=0
-PixelShiftY=2
-
-
-
-## Matrix Orbital GLK driver ##
-[glk]
-
-# select the serial device to use [default: /dev/lcd]
-Device=/dev/lcd
-
-# set the initial contrast value [default: 560; legal: 0 - 1000]
-Contrast=560
-
-# set the serial port speed [default: 19200; legal: 9600, 19200, 38400]
-Speed=19200
-
-
-
-## Hitachi HD44780 driver ##
-[hd44780]
-
-# Select what type of connection. See documentation for types.
-ConnectionType=4bit
-
-# Port where the LPT is. Usual values are 0x278, 0x378 and 0x3BC
-Port=0x378
-
-# Device of the serial interface (default is /dev/lcd)
-Device=/dev/ttyS0
-
-# Bitrate of the serial port (0 for interface default)
-Speed=0
-
-# If you have a keypad connected.
-# You may also need to configure the keypad layout further on in this file.
-Keypad=no
-
-# set the initial contrast (for bwctusb only) [default: 0; legal: 0 - 1000]
-Contrast=0
-
-# If you have a switchable backlight.
-Backlight=no
-
-# If you have the additional output port ("bargraph") and you want to
-# be able to control it with the lcdproc OUTPUT command
-OutputPort=no
-
-# Specifies if the last line is pixel addressable or it controls an
-# underline effect. [default: true (= pixel addressable); legal: yes, no]
-#Lastline=true
-
-# Specifies the size of the LCD.
-# In case of multiple combined displays, this should be the total size.
-Size=20x4
-
-# For multiple combined displays: how many lines does each display have.
-# Vspan=2,2 means both displays have 2 lines.
-#vspan=2,2
-
-# If you have an HD66712, a KS0073 or an other 'almost HD44780-compatible',
-# set this flag to get into extended mode (4-line linear).
-# This flag is NOT the old obsolete Extended option.
-#ExtendedMode=yes
-
-# Character map to to map ISO-8859-1 to the LCD's character set
-# [default: hd44780_default; legal: hd44780_default, ea_ks0073, sed1278f_0b ]
-Charmap=hd44780_default
-
-# If your display is slow and cannot keep up with the flow of data from
-# LCDd, garbage can appear on the LCDd. Set this delay factor to 2 or 4
-# to increase the delays. Default: 1.
-#DelayMult=2
-
-# Some displays (e.g. vdr-wakeup) need a message from the driver to that it
-# is still alive. When set to a value bigger then null the character in the
-# upper left corner is updated every <KeepAliveDisplay> seconds. Default: 0.
-#KeepAliveDisplay=0
-
-# If you experience occasional garbage on your display you can use this
-# option as workaround. If set to a value bigger than null it forces a
-# full screen refresh <RefreshDiplay> seconds. Default: 0.
-#RefreshDisplay=5
-
-# You can reduce the inserted delays by setting this to false.
-# On fast PCs it is possible your LCD does not respond correctly.
-# Default: true.
-DelayBus=true
-
-# If you have a keypad you can assign keystrings to the keys.
-# See documentation for used terms and how to wire it.
-# For example to give directly connected key 4 the string "Enter", use:
-# KeyDirect_4=Enter
-# For matrix keys use the X and Y coordinates of the key:
-# KeyMatrix_1_3=Enter
-KeyMatrix_4_1=Enter
-KeyMatrix_4_2=Up
-KeyMatrix_4_3=Down
-KeyMatrix_4_4=Escape
-
-
-
-## ICP A106 driver ##
-[icp_a106]
-Device=/dev/ttyS1
-
-
-
-## Code Mercenaries IO-Warrior driver ##
-[IOWarrior]
-
-# display dimensions
-Size=20x4
-
-# serial number [exactly as listed by usbview]
-# (if not given, the 1st IOWarrior found gets used)
-#SerialNumber=00000674
-
-# Specifies if the last line is pixel addressable or it controls an
-# underline effect. [default: true (= pixel addressable); legal: yes, no]
-#Lastline=true
-
-
-
-## Soundgraph/Ahanix/Silverstone/Uneed/Accent iMON driver ##
-[imon]
-
-# select the device to use
-Device=/dev/lcd0
-
-# display dimensions
-Size=16x2
-
-
-
-## IrMan driver ##
-[IrMan]
-#if in trouble with IrMan, try Lirc emulator for IrMan
-
-# Select the input device to use
-#Device=/dev/irman
-
-# Select the configuration file to use
-#Config=/etc/irman.cfg
-
-
-
-## Joystick driver ##
-[joy]
-
-# Select the input device to use [default: /dev/js0]
-Device=/dev/js0
-
-# set the axis map
-Map_Axis1neg=Left
-Map_Axis1pos=Right
-Map_Axis2neg=Up
-Map_Axis2pos=Down
-
-# set the button map
-Map_Button1=Enter
-Map_Button2=Escape
-
-
-
-## LB216 driver ##
-[lb216]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/lcd
-
-# Set the initial brightness [default: 255; legal: 0 - 255]
-Brightness=255
-
-# Set the communication speed [default: 9600; legal: 2400, 9600]
-Speed=9600
-
-# Reinitialize the LCD's BIOS [default: no; legal: yes, no]
-Reboot=no
-
-
-
-## LCDM001 driver ##
-[lcdm001]
-
-Device=/dev/ttyS1
-
-# keypad settings
-# Keyname Function
-# Normal context Menu context
-# ------- -------------- ------------
-# PauseKey Pause/Continue Enter/select
-# BackKey Back(Go to previous screen) Up/Left
-# ForwardKey Forward(Go to next screen) Down/Right
-# MainMenuKey Open main menu Exit/Cancel
-PauseKey=LeftKey
-BackKey=UpKey
-ForwardKey=DownKey
-MainMenuKey=RightKey
-
-# You can rearrange the settings here.
-# If your device is broken, have a look at /usr/lib/lcdproc/lcdm001.h
-
-
-
-## HNE LCTerm driver ##
-[lcterm]
-Device=/dev/ttyS1
-Size=16x2
-
-
-
-## LIRC input driver ##
-[lirc]
-
-# Specify an alternative location of the lircrc file [default: ~/.lircrc]
-#lircrc=/etc/lircrc.lcdproc
-
-# Must be the same as in your lircrc
-#prog=lcdd
-
-
-
-##The driver for the VFD of the Medion MD8800 PC ##
-[MD8800]
-# device to use [default: /dev/ttyS1]
-#Device=/dev/ttyS1
-
-# display size [default: 16x2]
-#Size=16x2
-
-# Set the initial brightness [default: 1000; legal: 0 - 1000]
-Brightness=1000
-# Set the initial off-brightness [default: 0; legal: 0 - 1000]
-# This value is used when the display is normally
-# switched off in case LCDd is inactive
-OffBrightness=50
-
-
-
-## MSI MS-6931 driver for displays in 1HU servers ##
-[ms6931]
-
-# device to use [default: /dev/ttyS1]
-Device=/dev/ttyS1
-
-# display size [default: 16x2]
-#Size=16x2
-
-
-
-## MTC-S16209x driver ##
-[mtc_s16209x]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/lcd
-
-# Set the initial brightness [default: 255; legal: 0 - 255]
-Brightness=255
-
-# Reinitialize the LCD's BIOS [default: no; legal: yes, no]
-Reboot=no
-
-
-
-## Matrix Orbital driver ##
-[MtxOrb]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/ttyS0
-
-# Set the display size [default: 20x4]
-Size=20x4
-
-# Set the display type [default: lcd; legal: lcd, lkd, vfd, vkd]
-Type=lkd
-
-# Set the initial contrast [default: 480]
-# NOTE: The driver will ignore this if the display
-# is a vfd or vkd as they don't have this feature
-Contrast=480
-
-# Set the initial brightness [default: 1000; legal: 0 - 1000]
-Brightness=1000
-# Set the initial off-brightness [default: 0; legal: 0 - 1000]
-# This value is used when the display is normally
-# switched off in case LCDd is inactive
-OffBrightness=0
-
-# Set the communication speed [default: 19200; legal: 1200, 2400, 9600, 19200]
-Speed=19200
-
-# The following table translates from MtxOrb key letters to logical key names.
-# By default no keys are mapped, meaning the keypad is not used at all.
-#KeyMap_A=Left
-#KeyMap_B=Right
-#KeyMap_C=Up
-#KeyMap_D=Down
-#KeyMap_E=Enter
-#KeyMap_F=Escape
-# See the [menu] section for an explanation of the key mappings
-
-# You can find out which key of your display sends which
-# character by setting keypad_test_mode to yes and running
-# LCDd. LCDd will output all characters it receives.
-# Afterwards you can modify the settings above and set
-# keypad_set_mode to no again.
-keypad_test_mode=no
-
-
-
-## Noritake VFD driver ##
-[NoritakeVFD]
-# device where the VFD is. Usual values are /dev/ttyS0 and /dev/ttyS1 [default: /dev/lcd]
-Device=/dev/ttyS0
-
-# Specifies the size of the LCD.
-Size=20x4
-
-# set the brightness
-Brightness=255
-
-# set the serial port speed [default: 9600, legal: 1200, 2400, 9600, 19200, 115200]
-Speed=9600
-
-# re-initialize VFD ?
-#Reboot=yes
-
-
-
-## Mini-box.com picoLCD (usblcd) driver ##
-[picolcd]
-# This is for the Mini-Box.com usblcd device that ships with the M300. It can
-# also be purchased separately but this driver has only been tested on the M300
-# setup.
-
-# KeyTimeout is the time that LCDd spends waiting for a key press before cycling
-# through other duties. Higher values make LCDd use less CPU time and make
-# key presses more detectable. Lower values make LCDd more responsive but a
-# little prone to missing key presses. 500 (.5 second) is the default and a
-# balanced value.
-KeyTimeout=500
-
-# Contrast: [default: 1000; legal: 0 - 1000]
-Contrast=1000
-
-# Light the keys? i[default: on; legal: on, off]
-Keylights=on
-
-# If Keylights is on, the you can unlight specific keys below:
-# Key0 is the directional pad. Key1 - Key5 correspond to the F1 - F5 keys.
-# There is no LED for the +/- keys. This is a handy way to indicate to users
-# which keys are disabled. [default: on; legal: on, off]
-Key0Light=on
-Key1Light=on
-Key2Light=on
-Key3Light=on
-Key4Light=on
-Key5Light=on
-
-
-
-## Pyramid LCD driver ##
-[pyramid]
-
-# device to connect to [default: /dev/lcd]
-Device=/dev/ttyUSB0
-
-
-
-## Seiko Epson 1330 driver ##
-[sed1330]
-
-# Port where the LPT is. Common values are 0x278, 0x378 and 0x3BC
-Port=0x378
-
-# Type of LCD module (legal: G321D, G121C, G242C, G191D, G2446, SP14Q002)
-# Note: Currently only tested with G321D & SP14Q002.
-Type=G321D
-
-# Width x Height of a character cell in pixels [legal: 6x7 - 8x16; default: 6x10]
-CellSize=6x10
-
-# Select what type of connection [legal: classic, bitshaker; default: classic]
-ConnectionType=classic
-
-
-## Seiko Epson 1520 driver ##
-[sed1520]
-
-# Port where the LPT is. Usual values are 0x278, 0x378 and 0x3BC
-Port=0x378
-
-
-
-## serial POS display driver ##
-[serialPOS]
-
-# Device to use in serial modea [default: /dev/lcd]
-Device=/dev/lcd
-
-# Specifies the size of the display in characters. [default: 16x2]
-Size=16x2
-
-# Set the communication protocol to use with the POS display.
-# [default: AEDEX; legal: IEE, Epson, Emax, IBM, LogicControls, Ultimate]
-Type=AEDEX
-
-# communication baud rate with the display [default: 9600; legal: 1200, 2400, 19200, 115200]
-Speed=9600
-
-
-
-## Serial VFD driver ##
-## Drives various (see below) serial 5x7dot VFD's. ##
-[serialVFD]
-
-# Specifies the displaytype.[default: 0]
-# 0 NEC (FIPC8367 based) VFDs.
-# 1 KD Rev 2.1.
-# 2 Noritake VFDs (*).
-# 3 Futaba VFDs
-# (* most should work, not testet yet.)
-Type=0
-
-# "no" if display connected serial, "yes" if connected parallel. [default: no(=serial)]
-use_parallel=no
-
-# Number of Custom-Characters [default: displaytype dependent]
-#Custom-Characters=0
-
-# Portaddress where the LPT is. Used in parallelmode only. Usual values are 0x278, 0x378 and 0x3BC
-Port=0x378
-
-# Device to use in serial mode. Usual values are /dev/ttyS0 and /dev/ttyS1
-Device=/dev/ttyS1
-
-# Specifies the size of the VFD.
-Size=20x2
-
-# Set the initial brightness [default: 1000; legal: 0 - 1000]
-# (4 steps 0-250, 251-500, 501-750, 751-1000)
-Brightness=1000
-# Set the initial off-brightness [default: 0; legal: 0 - 1000]
-# This value is used when the display is normally
-# switched off in case LCDd is inactive
-# (4 steps 0-250, 251-500, 501-750, 751-1000)
-OffBrightness=0
-
-# set the serial port speed [default: 9600; legal: 1200, 2400, 9600, 19200, 115200]
-Speed=9600
-
-# enable ISO 8859 1 compatibility [default: yes; legal: yes, no]
-#ISO_8859_1=yes
-
-
-
-## stv5730 driver ##
-[stv5730]
-
-# Port the device is connected to [default: 0x378]
-Port=0x378
-
-
-
-## SVGAlib driver ##
-[svga]
-
-# svgalib mode to use [default: G320x240x256; legal: supported svgalib modes]
-#Mode=G640x480x256
-
-# set display size [default: 20x4]
-Size=20x4
-
-# Set the initial contrast [default: 500; legal: 0 - 1000]
-# Can be set but does not change anything internally
-Contrast=500
-
-# Set the initial brightness [default: 1000; legal: 1 - 1000]
-Brightness=1000
-
-# Set the initial off-brightness [default: 500; legal: 1 - 1000]
-# This value is used when the display is normally
-# switched off in case LCDd is inactive
-OffBrightness=500
-
-
-
-## Text driver ##
-[text]
-# Set the display size [default: 20x4]
-Size=20x4
-
-
-
-## Toshiba T6963 driver ##
-[t6963]
-
-# set display size [default: 20x6]
-Size=20x6
-
-# port to use [default: 0x378; legal: 0x200 - 0x400]
-Port=0x378
-
-# Is ECP mode on? [default: yes; legal: yes, no]
-#ECPlpt=yes
-
-# Use graphics? [default: no; legal: yes, no]
-#graphic=no
-
-
-
-## Tyan Barebones LCD driver (GS10 & GS12 series) ##
-[tyan]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/lcd
-
-# Set the communication speed [default: 9600; legal: 4800, 9600]
-Speed=9600
-
-# set display size [default: 16x2]
-Size=16x2
-
-
-
-## ELV ula200 driver ##
-[ula200]
-
-# Select the LCD size [default: 20x4]
-Size=20x4
-
-# If you have a non standard keypad you can associate any keystrings to keys.
-# There are 6 input key in the CwLnx hardware that generate characters
-# from 'A' to 'F'.
-#
-# The following it the built-in default mapping hardcoded in the driver.
-# You can leave those unchanged if you have a standard keypad.
-# You can change it if you want to report other keystrings or have a non
-# standard keypad.
-# KeyMap_A=Up
-# KeyMap_B=Down
-# KeyMap_C=Left
-# KeyMap_D=Right
-# KeyMap_E=Enter
-# KeyMap_F=Escape
-
-
-
-## Wirz SLI LCD driver ##
-[sli]
-
-# Select the output device to use [default: /dev/lcd]
-Device=/dev/lcd
-
-# Set the communication speed [default: 19200; legal: 1200, 2400, 9600, 19200, 38400, 57600, 115200]
-Speed=19200
-
-
-
-## OnScreen Display using libxosd ##
-[xosd]
-
-# set display size [default: 20x4]
-Size=20x4
-
-# font to use, in XLFD format, as given by "xfontsel"
-Font=-*-clean-*-*-*-*-*-160-*-*-*-*-*-*
-
-
-# EOF
diff --git a/abs/mv-core/MythVantage-config/templates/audio/space_battle_A.wav b/abs/mv-core/MythVantage-config/templates/audio/space_battle_A.wav
deleted file mode 100644
index 3f1dd1c..0000000
--- a/abs/mv-core/MythVantage-config/templates/audio/space_battle_A.wav
+++ /dev/null
Binary files differ
diff --git a/abs/mv-core/MythVantage-config/templates/cc.orig.sh b/abs/mv-core/MythVantage-config/templates/cc.orig.sh
deleted file mode 100755
index d8fd2dc..0000000
--- a/abs/mv-core/MythVantage-config/templates/cc.orig.sh
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/usr/bin/perl
-# rwraithr added segment for 4 digit channels
-# make sure to set this string to
-# the corresponding remote in /etc/remoted.conf
-#$remote_name = "RC-u43c-1h";
-$remote_name = "$REMOTE_NAME";
-
-sub change_channel {
- my($channel_digit) = @_;
- system ("/usr/bin/irsend SEND_ONCE $remote_name $channel_digit");
- sleep .5;
-}
-
-$channel=$ARGV[0];
-sleep 1;
-if (length($channel) > 3) {
- change_channel(substr($channel,0,1));
- change_channel(substr($channel,1,1));
- change_channel(substr($channel,2,1));
- change_channel(substr($channel,3,1));
-} elsif (length($channel) > 2) {
- change_channel(substr($channel,0,1));
- change_channel(substr($channel,1,1));
- change_channel(substr($channel,2,1));
-} elsif (length($channel) > 1) {
- change_channel(substr($channel,0,1));
- change_channel(substr($channel,1,1));
-} else {
- change_channel(substr($channel,0,1));
-}
-system ("/usr/bin/irsend SEND_ONCE $remote_name SELECT");
-
-#system ("sleep 2");
-#system ("/usr/bin/ivtvctl -p 2 -d /dev/video2");
-#system ("/usr/bin/ivtvctl -p 1 -d /dev/video2");
diff --git a/abs/mv-core/MythVantage-config/templates/cc.sh b/abs/mv-core/MythVantage-config/templates/cc.sh
deleted file mode 100755
index 0cce308..0000000
--- a/abs/mv-core/MythVantage-config/templates/cc.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-/usr/local/bin/cc.orig.sh $@ &
-/usr/local/bin/cc_vol.sh &
-
-
diff --git a/abs/mv-core/MythVantage-config/templates/cc_vol.sh b/abs/mv-core/MythVantage-config/templates/cc_vol.sh
deleted file mode 100755
index 819008d..0000000
--- a/abs/mv-core/MythVantage-config/templates/cc_vol.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-sleep 2
-/usr/local/bin/ivtvctl -p 2 -d /dev/video2
-/usr/local/bin/ivtvctl -p 1 -d /dev/video2
-
diff --git a/abs/mv-core/MythVantage-config/templates/change_chan.sh b/abs/mv-core/MythVantage-config/templates/change_chan.sh
deleted file mode 100755
index 5ad8765..0000000
--- a/abs/mv-core/MythVantage-config/templates/change_chan.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-REMOTE_NAME=SA3250
-cmd="$1"
-
-case $cmd in
- [0-9]*)
- for digit in $(echo $1 | sed -e 's/./& /g'); do
- irsend SEND_ONCE $REMOTE_NAME $digit
- sleep 0.3
- # If things work OK with sleep 1, try this for faster channel changes:
- # sleep 0.3
- done
- ;;
-
- *)
- irsend SEND_ONCE $REMOTE_NAME $cmd
- ;;
- esac
-# /usr/bin/fix_audio.sh &
diff --git a/abs/mv-core/MythVantage-config/templates/cron.template b/abs/mv-core/MythVantage-config/templates/cron.template
deleted file mode 100644
index 3fcea10..0000000
--- a/abs/mv-core/MythVantage-config/templates/cron.template
+++ /dev/null
@@ -1,4 +0,0 @@
-# <minute> <hour> <day> <month> <dow> <command>
-
-
-00 HOUR * * * /usr/bin/sudo /sbin/halt-runit >/dev/null 2>&1 \ No newline at end of file
diff --git a/abs/mv-core/MythVantage-config/templates/etcnet/eth/ipv4address b/abs/mv-core/MythVantage-config/templates/etcnet/eth/ipv4address
deleted file mode 100644
index 1df28d2..0000000
--- a/abs/mv-core/MythVantage-config/templates/etcnet/eth/ipv4address
+++ /dev/null
@@ -1,2 +0,0 @@
-192.168.1.158/24
-
diff --git a/abs/mv-core/MythVantage-config/templates/etcnet/eth/ipv4route b/abs/mv-core/MythVantage-config/templates/etcnet/eth/ipv4route
deleted file mode 100644
index 373a4d1..0000000
--- a/abs/mv-core/MythVantage-config/templates/etcnet/eth/ipv4route
+++ /dev/null
@@ -1,2 +0,0 @@
-default via 192.168.1.1
-
diff --git a/abs/mv-core/MythVantage-config/templates/etcnet/eth/iwconfig b/abs/mv-core/MythVantage-config/templates/etcnet/eth/iwconfig
deleted file mode 100644
index b1f14e0..0000000
--- a/abs/mv-core/MythVantage-config/templates/etcnet/eth/iwconfig
+++ /dev/null
@@ -1,2 +0,0 @@
-essid home_lan
-#key ababababab
diff --git a/abs/mv-core/MythVantage-config/templates/etcnet/eth/options b/abs/mv-core/MythVantage-config/templates/etcnet/eth/options
deleted file mode 100644
index 929da58..0000000
--- a/abs/mv-core/MythVantage-config/templates/etcnet/eth/options
+++ /dev/null
@@ -1,7 +0,0 @@
-# If you want to change current interface name, edit /etc/net/iftab,
-# rename current directory and uncomment this line:
-TYPE=eth
-DISABLED=no
-BOOTPROTO=dhcp
-ONBOOT=yes
-CONFIG_WIRELESS=no
diff --git a/abs/mv-core/MythVantage-config/templates/evrouter/MythVantage-4 b/abs/mv-core/MythVantage-config/templates/evrouter/MythVantage-4
deleted file mode 100644
index e69de29..0000000
--- a/abs/mv-core/MythVantage-config/templates/evrouter/MythVantage-4
+++ /dev/null
diff --git a/abs/mv-core/MythVantage-config/templates/evrouter/MythVantage-8 b/abs/mv-core/MythVantage-config/templates/evrouter/MythVantage-8
deleted file mode 100644
index e69de29..0000000
--- a/abs/mv-core/MythVantage-config/templates/evrouter/MythVantage-8
+++ /dev/null
diff --git a/abs/mv-core/MythVantage-config/templates/evrouter/MythVantage-Full b/abs/mv-core/MythVantage-config/templates/evrouter/MythVantage-Full
deleted file mode 100644
index e69de29..0000000
--- a/abs/mv-core/MythVantage-config/templates/evrouter/MythVantage-Full
+++ /dev/null
diff --git a/abs/mv-core/MythVantage-config/templates/evrouter/MythVantage8-minipac b/abs/mv-core/MythVantage-config/templates/evrouter/MythVantage8-minipac
deleted file mode 100644
index 0e3a708..0000000
--- a/abs/mv-core/MythVantage-config/templates/evrouter/MythVantage8-minipac
+++ /dev/null
@@ -1,3 +0,0 @@
-"Ultimarc Button/Joystick/Trackball Interface " "" none key/127 "Shell//usr/bin/restartfrontend.sh"
-"Ultimarc Button/Joystick/Trackball Interface " "" none key/18 "Shell/eject"
-
diff --git a/abs/mv-core/MythVantage-config/templates/evrouter/MythVantage8-uhid b/abs/mv-core/MythVantage-config/templates/evrouter/MythVantage8-uhid
deleted file mode 100644
index 7cb2e34..0000000
--- a/abs/mv-core/MythVantage-config/templates/evrouter/MythVantage8-uhid
+++ /dev/null
@@ -1,3 +0,0 @@
-"Universal Human Interface Device Universal Human Interface Device" "" none key/125 "Shell//usr/bin/restartfrontend.sh"
-"Universal Human Interface Device Universal Human Interface Device" "" none key/18 "Shell/eject"
-
diff --git a/abs/mv-core/MythVantage-config/templates/exports.template b/abs/mv-core/MythVantage-config/templates/exports.template
deleted file mode 100644
index b946287..0000000
--- a/abs/mv-core/MythVantage-config/templates/exports.template
+++ /dev/null
@@ -1,8 +0,0 @@
-# /etc/exports
-#
-# See exports(5) for a description.
-
-# use exportfs -arv to reread
-/data/media REPLACEME(rw,all_squash,anonuid=1000,anongid=1000)
-/data/var/cache REPLACEME(rw,all_squash,anonuid=1000,anongid=1000)
-
diff --git a/abs/mv-core/MythVantage-config/templates/fstab.conf.template b/abs/mv-core/MythVantage-config/templates/fstab.conf.template
deleted file mode 100755
index d27bcd9..0000000
--- a/abs/mv-core/MythVantage-config/templates/fstab.conf.template
+++ /dev/null
@@ -1,16 +0,0 @@
-#
-# /etc/fstab: static file system information
-#
-# <file system> <dir> <type> <options> <dump> <pass>
-none /dev/pts devpts defaults 0 0
-none /dev/shm tmpfs defaults 0 0
-
-/dev/cdrom /mnt/cd iso9660 ro,user,noauto,unhide 0 0
-/dev/dvd /mnt/dvd udf ro,user,noauto,unhide 0 0
-/dev/fd0 /mnt/fl vfat user,noauto 0 0
-
-/dev/sda1 / reiserfs defaults 0 1
-/dev/sda2 swap swap defaults 0 0
-/dev/sda3 /data reiserfs defaults 0 0
-192.168.1.6:/media /data/media nfs
-
diff --git a/abs/mv-core/MythVantage-config/templates/modules/lirc_i2c.conf b/abs/mv-core/MythVantage-config/templates/modules/lirc_i2c.conf
deleted file mode 100644
index 7b99f78..0000000
--- a/abs/mv-core/MythVantage-config/templates/modules/lirc_i2c.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-alias char-major-61 lirc_i2c
-options lirc_i2c debug=0 minor=3
diff --git a/abs/mv-core/MythVantage-config/templates/mysql.service b/abs/mv-core/MythVantage-config/templates/mysql.service
deleted file mode 100644
index 160450e..0000000
--- a/abs/mv-core/MythVantage-config/templates/mysql.service
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
-<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
-
-<service-group>
-
- <name replace-wildcards="yes">mysql_myth on %h</name>
-
- <service>
- <type>_mysql._tcp</type>
- <port>3306</port>
- </service>
-
-</service-group>
diff --git a/abs/mv-core/MythVantage-config/templates/mysql.txt b/abs/mv-core/MythVantage-config/templates/mysql.txt
deleted file mode 100755
index 04531b5..0000000
--- a/abs/mv-core/MythVantage-config/templates/mysql.txt
+++ /dev/null
@@ -1,29 +0,0 @@
-DBHostName=127.0.0.1
-DBUserName=mythtv
-DBPassword=mythtv
-DBName=mythconverg
-DBType=QMYSQL3
-
-# Set the following if you want to use something other than the
-# machine's real hostname for identifying settings in the database.
-# This is useful if your hostname changes often, as otherwise
-# you'll need to reconfigure mythtv (or futz with the DB) every time.
-# TWO HOSTS MUST NOT USE THE SAME VALUE
-#
-#LocalHostName=my-unique-identifier-goes-here
-
-# If you want your frontend to be able to wake your MySQL server
-# using WakeOnLan, have a look at the following settings:
-#
-# Set the time the frontend waits (in seconds) between reconnect tries.
-# This should be the rough time your MySQL server needs for startup
-#WOLsqlReconnectWaitTime=0
-#
-#
-# This is the amount of retries to wake the MySQL server until the frontend
-# gives up
-#WOLsqlConnectRetry=5
-#
-#
-# This is the command executed to wake your MySQL server.
-#WOLsqlCommand=echo 'WOLsqlServerCommand not set'
diff --git a/abs/mv-core/MythVantage-config/templates/ncid.conf.template b/abs/mv-core/MythVantage-config/templates/ncid.conf.template
deleted file mode 100755
index 43ef490..0000000
--- a/abs/mv-core/MythVantage-config/templates/ncid.conf.template
+++ /dev/null
@@ -1,51 +0,0 @@
-# tcl/tk configuration file
-
-# Directory NCID uses to find the helper scripts
-set ProgDir /usr/share/ncid
-
-# default helper script
-set EXTPROG ncid-osd
-
-# Set Host to the NCID server address
-# Host defaults to 127.0.0.1
-#set Host 127.0.0.1
-set Host 192.168.1.5
-
-# The NCID port default is 3333
-set Port 3333
-
-# If the connection to the server is lost,
-# try every Delay seconds to reconnect
-# The Default: 60
-set Delay 20
-
-# If set to 1, display raw data received from the NCID server
-# If set to 0, do not display raw data received from the NCID server
-# Default: 0
-set Raw 0
-
-# If set to 1, output: date time number name
-# If set to 0, output: name number
-# Default: 0
-set All 1
-
-# If set to 1, display formatted CID, and CID log file on connect
-# If set to 0, ddo not isplay formatted CID, and CID log file on connect
-# Default: 0
-set Verbose 0
-
-# If set to 1, display information in terminal progran or external program
-# If set to 0, display information using a GUI
-# Default: 0
-set NoGUI 1
-
-# output name and number to external program
-# Default: 0
-set Callprog 1
-
-# ring number to call external program
-# Default: 0
-set CallOnRing 0
-
-# external called program
-set Program [list $ProgDir/$EXTPROG]
diff --git a/abs/mv-core/MythVantage-config/templates/ncidd.conf.template b/abs/mv-core/MythVantage-config/templates/ncidd.conf.template
deleted file mode 100644
index daa2e79..0000000
--- a/abs/mv-core/MythVantage-config/templates/ncidd.conf.template
+++ /dev/null
@@ -1,143 +0,0 @@
-# ncid - Network CallerID Server Config File
-
-################################
-# Definitions and Line formats #
-################################
-
-# lines can be blank, or start with the words: send, set #
-#
-# A line is divided into words, separated by spaces
-#
-# A word is either a string of non-blank characters, everything
-# between double quotes, or an equal sign.
-#
-# SEND LINE FORMAT:
-# send DATATYPE [DATATYPE] ...
-# where DATATYPE = cidlog, cidinfo
-#
-# SET LINE FORMAT:
-# set ITEM = VALUE [ITEM = VALUE] ...
-# where ITEM = cidalias, cidlog, datalog, initcid, initstr,
-# lockfile, port, ttyclocal, ttyport, ttyspeed,
-# nomodem
-
-############################
-# Log and Info for Clients #
-############################
-
-# Send the call log to a client when connected
-# The default is not to send the call log file
-send cidlog
-
-# Send call info (LINE and RING) to a client at each ring
-# The default is not to send the call info line
-send cidinfo
-
-############################
-# NCID Communications Port #
-############################
-
-# The default TCP/IP port is 3333
- set port = 3333
-
-#######################
-# Alias and Log Files #
-#######################
-
-# The default CID alias file: /etc/ncid/ncidd.alias
-# set cidalias = /etc/ncid/ncidd.alias
-
-# The default CID call log file: /var/log/cidcall.log
-# the log file must exist, ncidd will not create it
-# (also make the change in /etc/logrotate.d/ncidd
-# and also /etc/ncid/ncidrotate.conf)
-# set cidlog = /var/log/cidcall.log
-
-# The default tty data log file: /var/log/ciddata.log
-# the log file must exist, ncidd will not create it
-# (also make the change in /etc/logrotate.d/ncidd
-# and also /etc/ncid/ncidrotate.conf)
-# set datalog = /var/log/ciddata.log
-
-#####################
-# TTY Configuration #
-#####################
-
-# The default tty port: /dev/modem
-# set ttyport = /dev/cu.modem # Macintosh OS X
- set ttyport = /dev/ttyS1
-
-# The default tty port speed: 19200
-# The tty speed can be one of: 38400, 19200, 9600, 4800
-# set ttyspeed = 4800 # NetCallerID port speed
-
-# Ignore tty control signals for internal modems and 3 wire serial cables
-# Disable tty control signals: ttyclocal = 1
-# Enable tty control signals: ttyclocal = 0 (default)
-# set ttyclocal = 1
-
-# The lockfile name is generated automatically
-# If tty port is /dev/modem, lockfile is: /var/lock/LCK..modem
-# set lockfile = /var/lock/LCK..ttyS0
-
-#####################
-# Modem or No Modem #
-#####################
-
-# Obtain CallerID from a CID device or a modem
-# device: nomodem = 1 (do not send AT commands)
-# modem: nomodem = 0 (default - send AT commands)
-# set nomodem = 1
-
-########################
-# Modem Initialization #
-########################
-
-# The default modem initialization is: "AT Z S0=0 E1 V1 Q0"
-# set initstr = "ATE1V1Q0"
-#
-# Alternate modem initialization string
-# set initstr = "AT&FE1V1Q0+VIP"
-
-# Addon strings to set modem for Distinctive Ring:
-# http://www.modemsite.com/56k/dring.asp
-#
-# 3Com/USR/TI chipset: ATS41=1
-# Reported Ring Codes: RING A, RING B, RING C
-# Rockwell/Conexant chipset: AT-SDR=7
-# Reported Ring Codes: RING 1, RING 2, RING 3
-# Lucent/Agere chipset: AT+VDR=1,0
-# Reported DROF/DRON messages: DRON=5 DROF=11, DRON=5 DROF=34
-#
-# Example adds 3Com DR to the default modem initialization
-# set initstr = "ATE1V1Q0S41=1"
-
-# The default for ncidd is to try two CID strings to setup
-# CallerID: "AT+VCID=1" and if that fails: "AT#CID=1".
-# set initcid = "AT#CID=1"
-#
-# Alternate CID strings to try if default does not work:
-# set initcid = "AT+FCLASS=8;+VCID=1"
-# set initcid = "AT-STE=1;+VCID=1"
-# set initcid = "AT-STE=1;#CID=1"
-
-#################
-# TiVo Settings #
-#################
-# set ttyclocal = 1 # TiVo requires CLOCAL
-# set ttyport = /dev/ttyS1 # TiVo Modem Port
-# set lockfile = /var/tmp/modemlock # needed for TiVo Modem Port
-#
-# To use a modem on the TiVo serial port
-# Tivo (stereo mini jack) ->
-# -> (stereo mini plug) TiVo serial cable (9-pin male) ->
-# -> (9-pin Female) PC modem cable (25-pin Male ->
-# -> (25-pin Female) Modem
-# if the modem has switches, disable DTR
-# Use this string to set the modem before attaching it to the TiVo:
-# AT&F0&D0&B1&W
-#
-# set ttyport = /dev/ttyS3 # TiVo Serial Port
-#
-# End TiVo Settings
-
diff --git a/abs/mv-core/MythVantage-config/templates/real_change_chan.sh b/abs/mv-core/MythVantage-config/templates/real_change_chan.sh
deleted file mode 100755
index efeba88..0000000
--- a/abs/mv-core/MythVantage-config/templates/real_change_chan.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-REMOTE_NAME=SA3250
-cmd="$1"
-
-case $cmd in
- [0-9]*)
- for digit in $(echo $1 | sed -e 's/./& /g'); do
- irsend SEND_ONCE $REMOTE_NAME $digit
- sleep 0.3
- # If things work OK with sleep 1, try this for faster channel changes:
- # sleep 0.3
- done
- ;;
-
- *)
- irsend SEND_ONCE $REMOTE_NAME $cmd
- ;;
- esac
- /usr/bin/fix_audio.sh &
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/ATI_wonder/lircd.ATI.conf b/abs/mv-core/MythVantage-config/templates/remotes/ATI_wonder/lircd.ATI.conf
deleted file mode 100644
index e7c1539..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/ATI_wonder/lircd.ATI.conf
+++ /dev/null
@@ -1,357 +0,0 @@
-
-# Please make this file available to others
-# by sending it to <lirc@bartelmus.de>
-#
-# this config file was automatically generated
-# using lirc-0.7.0pre2(atiusb) on Fri Jan 2 19:09:02 2004
-#
-# contributed by
-#
-# brand: ATI Remote Wonder
-# model no. of remote control:
-# devices being controlled by this remote:
-#
-
-begin remote
-
- name wonder
- bits 32
- eps 30
- aeps 100
-
- one 0 0
- zero 0 0
- gap 147987
- toggle_bit 0
-
-
- begin codes
- A 0x0000000014C500F0
- B 0x0000000014C601F0
- POWER 0x0000000014C702F0
- TV 0x0000000014C803F0
- DVD 0x0000000014C904F0
- WEB 0x0000000014CA05F0
- GUIDE 0x0000000014CB06F0
- GRAB 0x0000000014CC07F0
- VOL_DOWN 0x0000000014CE09F0
- VOL_UP 0x0000000014CD08F0
- MUTE 0x0000000014CF0AF0
- CH_DOWN 0x0000000014D10CF0
- CH_UP 0x0000000014D00BF0
- A 0x0000000014C500F0
- B 0x0000000014C601F0
- 1 0x0000000014D20DF0
- 2 0x0000000014D30EF0
- 3 0x0000000014D40FF0
- 4 0x0000000014D510F0
- 5 0x0000000014D611F0
- 6 0x0000000014D712F0
- 7 0x0000000014D813F0
- 8 0x0000000014D914F0
- 9 0x0000000014DA15F0
- 0 0x0000000014DC17F0
- MENU 0x0000000014DB16F0
- CHECK 0x0000000014DD18F0
- C 0x0000000014DE19F0
- D 0x0000000014E01BF0
- UP 0x0000000014DF1AF0
- LEFT 0x0000000014E21DF0
- DOWN 0x0000000014E722F0
- RIGHT 0x0000000014E41FF0
- OK 0x0000000014E31EF0
- REPLAY 0x0000000014E11CF0
- FULLSCREEN 0x0000000014E520F0
- E 0x0000000014E621F0
- F 0x0000000014E823F0
- REWIND 0x0000000014E924F0
- FORWARD 0x0000000014EB26F0
- PLAY 0x0000000014EA25F0
- RECORD 0x0000000014EC27F0
- STOP 0x0000000014ED28F0
- PAUSE 0x0000000014EE29F0
- end codes
-
-end remote
-
-
-
-# this config file was automatically generated
-# using lirc-0.7.0(atiusb) on Sat Feb 12 13:22:29 2005
-#
-# contributed by Steffen
-#
-# brand: ATI Sapphire Remote Bob II USB
-# model no. of remote control: 5000024400
-# devices being controlled by this remote: MythTV
-#
-
-begin remote
-
-name wonder II
-bits 16
-eps 30
-aeps 100
-
-one 0 0
-zero 0 0
-pre_data_bits 8
-pre_data 0x0
-post_data_bits 16
-post_data 0x0
-gap 299851
-toggle_bit 0
-
-
-begin codes
-aux1 0x023F
-aux2 0x023F
-aux3 0x023F
-aux4 0x023F
-mouse_left_btn 0x02A9
-mouse_right_btn 0x02AA
-a 0x0278
-b 0x0279
-power 0x020C
-dvd 0x0238
-tv 0x0239
-help 0x02BE
-pc 0x023F
-resize 0x02D5
-hand 0x02D0
-ati 0x028E
-vol_up 0x0210
-vol_down 0x0211
-mute 0x020D
-ch_up 0x0220
-ch_down 0x0221
-mouse_up 0x013F
-mouse_down 0x013F
-mouse_left 0x013F
-mouse_right 0x013F
-1 0x0201
-2 0x0202
-3 0x0203
-4 0x0204
-5 0x0205
-6 0x0206
-7 0x0207
-8 0x0208
-9 0x0209
-0 0x0200
-list 0x0254
-check 0x0282
-info 0x02F9
-timer 0x0296
-arrow_up 0x0258
-arrow_left 0x025A
-arrow_right 0x025B
-arrow_down 0x0259
-ok 0x025C
-c 0x017A
-d 0x027B
-play 0x022C
-e 0x027C
-f 0x027D
-rewind 0x0229
-rec 0x0237
-stop 0x0231
-pause 0x0230
-ffwd 0x0228
-end codes
-
-end remote
-
-
-# Please make this file available to others
-# by sending it to <lirc at bartelmus.de>
-#
-# this config file was automatically generated
-# using lirc-0.7.0-CVS(atiusb) on Sat Jun 19 16:27:14 2004
-#
-# contributed by gLaNDix
-#
-# brand: ATI
-# model no. of remote control: 5000023600
-# devices being controlled by this remote: MythTV 0.14
-#
-# USB ID: 0bc7:0004
-#
-
-begin remote
-
- name REMOTE_WONDER
- bits 16
- eps 30
- aeps 100
-
- one 0 0
- zero 0 0
- pre_data_bits 8
- pre_data 0x14
- post_data_bits 16
- post_data 0x0
- gap 227933
- toggle_bit 0
-
-
- begin codes
- A 0x000000000000D500
- B 0x000000000000D601
- C 0x000000000000EE19
- D 0x000000000000F01B
- E 0x000000000000F621
- F 0x000000000000F823
- POWER 0x000000000000D702
- TV 0x000000000000D803
- DVD 0x000000000000D904
- WEB 0x000000000000DA05
- BOOK 0x000000000000DB06
- HAND 0x000000000000DC07
- MOUSE_LEFT_BTN 0x0000000000004D78
- MOUSE_LEFTBUTTONUP 0x0000000000004E79
- MOUSE_LEFTBUTTONDBLCLICK 0x0000000000004E79
- MOUSE_RIGHT_BTN 0x000000000000517C
- MOUSE_RIGHTBUTTONUP 0x000000000000527D
- MOUSE_RIGHTBUTTONDBLCLICK 0x000000000000537E
- MOUSE_LEFT 0x0000000000004570
- MOUSE_RIGHT 0x0000000000004671
- MOUSE_UP 0x0000000000004772
- MOUSE_DOWN 0x0000000000004873
- MOUSE_UPRIGHT 0x0000000000004A75
- MOUSE_DOWNRIGHT 0x0000000000004B76
- MOUSE_DOWNLEFT 0x0000000000004C77
- MOUSE_UPLEFT 0x0000000000004974
- VOL_UP 0x000000000000DD08
- VOL_DOWN 0x000000000000DE09
- MUTE 0x000000000000DF0A
- CH_DOWN 0x000000000000E10C
- CH_UP 0x000000000000E00B
- 1 0x000000000000E20D
- 2 0x000000000000E30E
- 3 0x000000000000E40F
- 4 0x000000000000E510
- 5 0x000000000000E611
- 6 0x000000000000E712
- 7 0x000000000000E813
- 8 0x000000000000E914
- 9 0x000000000000EA15
- 0 0x000000000000EC17
- DVD_ROOTMENU 0x000000000000EB16
- SETUP 0x000000000000ED18
- ARROW_UP 0x000000000000EF1A
- ARROW_RIGHT 0x000000000000F41F
- ARROW_DOWN 0x000000000000F722
- ARROW_LEFT 0x000000000000F21D
- OK 0x000000000000F31E
- MAXAMIZE 0x000000000000F520
- TV_ON_DEMAND 0x000000000000F11C
- BACK 0x000000000000F924
- PLAY 0x000000000000FA25
- NEXT 0x000000000000FB26
- RECORD 0x000000000000FC27
- STOP 0x000000000000FD28
- PAUSE 0x000000000000FE29
- end codes
-
-end remote
-
-
-# Please make this file available to others
-# by sending it to <lirc@bartelmus.de>
-#
-# this config file was automatically generated
-# using lirc-0.7.0pre1(atiusb) on Fri Nov 28 16:56:46 2003
-#
-# contributed by Jason Piterak
-#
-# brand: ati
-# This uses the atiusb driver
-#=20
-# model no. of remote control: 5000022000
-#
-# devices being controlled by this remote:
-# MythTV PVR using knopmyth by Cecil and Dale at
-# http://mysettopbox.tv
-# Key map names are as per ATI's website:
-#http://www.ati.com/support/connectors/remotecontrol/atiremotecontrolbutton=s.html
-# Feel free to change them as you see fit :-)
-#
-# NOTE: There are 16 channels for this remote; this file only
-# supports one channel. See the GATOS project for information
-# on how to change the channel. Not tested. Unknown channel.
-#
-
-begin remote
-
- name atiusb
- bits 16
- eps 30
- aeps 100
-
- one 0 0
- zero 0 0
- pre_data_bits 8
- pre_data 0x14
- post_data_bits 16
- post_data 0xF000
- gap 139891
- toggle_bit 0
-
-
- begin codes
- a 0x000000000000C500
- b 0x000000000000C601
- power 0x000000000000C702
- tv 0x000000000000C803
- dvd 0x000000000000C904
- web 0x000000000000CA05
- media_library 0x000000000000CB06
- drag 0x000000000000CC07
- mouse-button_left 0x0000000000003D78
- mouse-button_right 0x000000000000417C
- mouse-up 0x0000000000003772
- mouse-down 0x0000000000003873
- mouse-left 0x0000000000003570
- mouse-right 0x0000000000003671
- mouse-left_up 0x0000000000003974
- mouse-right_up 0x0000000000003A75
- mouse-left_down 0x0000000000003C77
- mouse-right_down 0x0000000000003B76
- vol-up 0x000000000000CD08
- vol-down 0x000000000000CE09
- mute 0x000000000000CF0A
- chan-up 0x000000000000D00B
- chan-down 0x000000000000D10C
- 1 0x000000000000D20D
- 2 0x000000000000D30E
- 3 0x000000000000D40F
- 4 0x000000000000D510
- 5 0x000000000000D611
- 6 0x000000000000D712
- 7 0x000000000000D813
- 8 0x000000000000D914
- 9 0x000000000000DA15
- 0 0x000000000000DC17
- dvd-root_menu 0x000000000000DB16
- launch_setup 0x000000000000DD18
- c 0x000000000000DE19
- d 0x000000000000E01B
- tv_on_demand 0x000000000000E11C
- max_window 0x000000000000E520
- cursor-up 0x000000000000DF1A
- cursor-down 0x000000000000E722
- cursor-left 0x000000000000E21D
- cursor-right 0x000000000000E41F
- ok 0x000000000000E31E
- e 0x000000000000E621
- f 0x000000000000E823
- rewind 0x000000000000E924
- play 0x000000000000EA25
- fast_forward 0x000000000000EB26
- record 0x000000000000EC27
- stop 0x000000000000ED28
- pause 0x000000000000EE29
- end codes
-
-end remote
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/ATI_wonder/lircrc-atiwonder.txt b/abs/mv-core/MythVantage-config/templates/remotes/ATI_wonder/lircrc-atiwonder.txt
deleted file mode 100644
index 80eec07..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/ATI_wonder/lircrc-atiwonder.txt
+++ /dev/null
@@ -1,922 +0,0 @@
-# ~/.mythtv/lircrc
-#
-# MythTV native LIRC config file for
-# the ATI-Wonder Remote
-# using lirc_atiusb driver
-#
-
-begin
-prog = mythtv
-button = a
-config = E
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = A
-config = E
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = b
-config = O
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = B
-config = O
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = B
-config = O
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = stop
-config = Esc
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = STOP
-config = Esc
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = ffwd
-config = Right
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = FORWARD
-config = Right
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = rewind
-config = Left
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = REWIND
-config = Left
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = pause
-config = P
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = PAUSE
-config = P
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = play
-config = P
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = PLAY
-config = P
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = mute
-config = |
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = MUTE
-config = |
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = vol_down
-config = F10
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = VOL_DOWN
-config = F10
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = vol_up
-config = F11
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = VOL_UP
-config = F11
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = f
-config = PgDown
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = F
-config = PgDown
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = e
-config = Esc
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = E
-config = Esc
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = ch_up
-config = Up
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = CH_UP
-config = Up
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = ch_down
-config = Down
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = CH_DOWN
-config = Down
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = ok
-config = Enter
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = OK
-config = Enter
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = 1
-config = 1
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = 2
-config = 2
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = 3
-config = 3
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = 4
-config = 4
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = 5
-config = 5
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = 6
-config = 6
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = 7
-config = 7
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = 8
-config = 8
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = 9
-config = 9
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = 0
-config = 0
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = rec
-config = R
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = RECORD
-config = R
-repeat = 5
-end
-
-
-# ~/.mythtv/lircrc
-#
-# MythTV native LIRC config file for
-# the ATI-Wonder Remote
-# using lirc_atiusb driver
-#
-
-begin
-#Jumppoint for Program Guide created in Mythweb
- prog = mythtv
- button = TV
- config = !
-end
-
-begin
-#Jumppoint for DVD playback created in Mythweb
- prog = mythtv
- button = DVD
- config = @
-end
-
-begin
- prog = mythtv
-#Jumppoint for MythWeater created in Mythweb
- button = WEB
- config = #
-end
-
-begin
- prog = mythtv
-#Jumppoint for MythVideo created in Mythweb
- button = BOOK
- config = $
-end
-
-begin
- prog = mythtv
-#Jumppoint for MythWeater created in Mythweb
- button = HAND
- config = %
-end
-
-begin
-prog = mythtv
-button = 1
-config = 1
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = 2
-config = 2
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = 3
-config = 3
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = 4
-config = 4
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = 5
-config = 5
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = 6
-config = 6
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = 7
-config = 7
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = 8
-config = 8
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = 9
-config = 9
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = 0
-config = 0
-repeat = 5
-end
-
-begin
- prog = mythtv
- button = MOUSE_UP
- config = Up
-end
-
-begin
- prog = mythtv
- button = MOUSE_DOWN
- config = Down
-end
-
-begin
- prog = mythtv
- button = MOUSE_LEFT
- config = Left
-end
-
-begin
- prog = mythtv
- button = MOUSE_RIGHT
- config = Right
-end
-
-begin
- prog = mythtv
- button = MOUSE_RIGHT_BTN
- config = Esc
-end
-
-begin
- prog = mythtv
-# Enter button
- button = MOUSE_LEFT_BTN
- config = Return
-end
-
-begin
- prog = mythtv
- button = POWER
- config = Esc
-end
-
-begin
- prog = mythtv
-# Enter button
- button = OK
- config = Return
-end
-
-begin
- prog = mythtv
- button = ARROW_UP
- config = Up
-end
-
-begin
- prog = mythtv
- button = ARROW_DOWN
- config = Down
-end
-
-begin
- prog = mythtv
- button = ARROW_LEFT
- config = Left
-end
-
-begin
- prog = mythtv
- button = ARROW_RIGHT
- config = Right
-end
-
-begin
- prog = mythtv
- button = D
- config = Esc
-end
-
-begin
-prog = mythtv
-button = CH_UP
-config = Up
-end
-
-begin
-prog = mythtv
-button = CH_DOWN
-config = Down
-end
-
-begin
- prog = mythtv
- button = VOL_DOWN
- repeat = 3
- config = F10
-end
-
-begin
- prog = mythtv
- button = VOL_UP
- repeat = 3
- config = F11
-end
-
-begin
- prog = mythtv
- button = MUTE
- config = |
-end
-
-begin
- prog = mythtv
- button = DVD_ROOTMENU
- config = M
-end
-
-begin
- prog = mythtv
-# Enter button
- button = SETUP
- config = Return
-end
-
-
-begin
- prog = mythtv
- button = A
- config = S
-end
-
-begin
- prog = mythtv
- button = B
- config = I
-end
-
-begin
- prog = mythtv
- button = C
- config = T
-end
-
-begin
-prog = mythtv
-# Change focus for PiP (to change channel in the other window)
-button = MAXAMIZE
-config = B
-end
-
-begin
-prog = mythtv
-# Toggle PiP on/off
-button = TV_ON_DEMAND
-config = V
-end
-
-begin
- prog = mythtv
- button = BACK
- config = <
-end
-
-begin
- prog = mythtv
- button = NEXT
- config = >
-end
-
-begin
- prog = mythtv
- button = BACK
- config = Left
-end
-
-
-begin
- prog = mythtv
- button = NEXT
- config = Right
-end
-
-begin
-prog = mythtv
-button = RECORD
-config = R
-end
-
-begin
-prog = mythtv
-button = STOP
-config = Esc
-end
-
-begin
-prog = mythtv
-button = PLAY
-config = P
-end
-
-begin
-prog = mythtv
-button = PAUSE
-config = P
-end
-
-#Page Up/Down
-begin
-prog = mythtv
-button = E
-config = PgUp
-end
-
-begin
-prog = mythtv
-button = F
-config = PgDown
-end
-
-begin
-prog = mythtv
-button = E
-# Use for backwards commercial skip
-config = Q
-end
-
-begin
-prog = mythtv
-button = F
-# Use for forward commercial skip
-config = Z
-end
-
-#Mplayer
-
-begin
-prog = mplayer
-button = PLAY
-config = pause
-end
-
-begin
-prog = mplayer
-button = PAUSE
-config = pause
-end
-
-begin
-prog = mplayer
-button = STOP
-config = quit
-end
-
-begin
-prog = mplayer
-button = POWER
-config = quit
-end
-
-begin
-prog = mplayer
-button = D
-config = quit
-end
-
-begin
-prog = mplayer
-button = MOUSE_RIGHT_BTN
-config = quit
-end
-
-begin
-prog = mplayer
-button = MUTE
-config = mute
-end
-
-begin
-prog = mplayer
-button = E
-repeat = 6
-config = seek -10
-end
-
-begin
-prog = mplayer
-button = F
-repeat = 6
-config = seek 10
-end
-
-begin
-prog = mplayer
-button = BACK
-repeat = 6
-config = seek -70
-end
-
-begin
-prog = mplayer
-button = NEXT
-repeat = 6
-config = seek 70
-end
-
-begin
-prog = mplayer
-button = VOL_DOWN
-repeat = 6
-config = volume -1
-end
-
-begin
-prog = mplayer
-button = VOL_UP
-repeat = 6
-config = volume 1
-end
-
-#Xine
-
-begin
-prog = xine
-button = PLAY
-config = Play
-end
-
-begin
-prog = xine
-button = PAUSE
-config = PAUSE
-end
-
-begin
-prog = xine
-button = Mute
-config = Mute
-end
-
-begin
-prog = xine
-button = STOP
-config = Stop
-end
-
-begin
-prog = xine
-button = POWER
-config = Quit
-end
-
-begin
-prog = xine
-button = D
-config = quit
-end
-
-begin
-prog = xine
-button = MOUSE_RIGHT_BTN
-config = quit
-end
-
-begin
-prog = xine
-button = ARROW_UP
-repeat = 4
-config = EventUp
-end
-
-begin
-prog = xine
-button = ARROW_DOWN
-repeat = 4
-config = EventDown
-end
-
-begin
-prog = xine
-button = ARROW_LEFT
-repeat = 4
-config = EventLeft
-end
-
-begin
-prog = xine
-button = ARROW_RIGHT
-repeat = 4
-config = EventRight
-end
-
-begin
-prog = xine
-button = OK
-repeat = 0
-config = EventSelect
-end
-
-begin
-prog = xine
-button = MOUSE_UP
-repeat = 4
-config = EventUp
-end
-
-begin
-prog = xine
-button = MOUSE_DOWN
-repeat = 4
-config = EventDown
-end
-
-begin
-prog = xine
-button = MOUSE_LEFT
-repeat = 4
-config = EventLeft
-end
-
-begin
-prog = xine
-button = MOUSE_RIGHT
-repeat = 4
-config = EventRight
-end
-
-begin
-prog = xine
-button = MOUSE_LEFT_BTN
-repeat = 0
-config = EventSelect
-end
-
-begin
-prog = xine
-button = DVD_ROOTMENU
-repeat = 0
-config = Menu
-end
-
-#vol down
-begin
-prog = xine
-button = VOL_DOWN
-repeat = 1
-config = Volume-
-end
-
-#vol up
-begin
-prog = xine
-button = VOL_UP
-repeat = 1
-config = Volume+
-end
-
-begin
-prog = xine
-button = TV_ON_DEMAND
-repeat = 1
-config = ZoomIn
-end
-
-begin
-prog = xine
-button = MAXAMIZE
-repeat = 1
-config = ZoomOut
-end
-
-#skip chapter forward
-begin
-prog = xine
-button = NEXT
-repeat = 1
-config = EventNext
-end
-
-#skip chapter backward
-begin
-prog = xine
-button = BACK
-repeat = 1
-config = EventPrior
-end
-
-begin
-prog = xine
-button = F
-repeat = 2
-config = SeekRelative+45
-end
-
-begin
-prog = xine
-button = E
-repeat = 2
-config = SeekRelative-45
-end
-
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/ATI_wonder/preview.jpg b/abs/mv-core/MythVantage-config/templates/remotes/ATI_wonder/preview.jpg
deleted file mode 100644
index 351a111..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/ATI_wonder/preview.jpg
+++ /dev/null
Binary files differ
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/MX-500-jams/lircd.conf.MX-500-JAMS b/abs/mv-core/MythVantage-config/templates/remotes/MX-500-jams/lircd.conf.MX-500-JAMS
deleted file mode 100644
index b76d32c..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/MX-500-jams/lircd.conf.MX-500-JAMS
+++ /dev/null
@@ -1,115 +0,0 @@
-#
-# this config file was automatically generated
-# using lirc-0.7.1-CVS(serial) on Fri Feb 4 23:20:56 2005
-#
-# contributed by Christoph Bartelmus
-#
-# brand: Streamzap
-# model no. of remote control: PC Remote
-# devices being controlled by this remote: USB receiver
-#
-
-begin remote
-
- name Streamzap_PC_Remote
- bits 6
- flags RC5|CONST_LENGTH
- eps 30
- aeps 100
-
- one 889 889
- zero 889 889
- plead 889
- pre_data_bits 8
- pre_data 0xA3
- gap 108344
- toggle_bit 2
-
-
- begin codes
- 0 0x00
- 1 0x01
- 2 0x02
- 3 0x03
- 4 0x04
- 5 0x05
- 6 0x06
- 7 0x07
- 8 0x08
- 9 0x09
- POWER 0x0A
- MUTE 0x0B
- CH_UP 0x0C
- VOL_UP 0x0D
- CH_DOWN 0x0E
- VOL_DOWN 0x0F
- UP 0x10
- LEFT 0x11
- OK 0x12
- RIGHT 0x13
- DOWN 0x14
- MENU 0x15
- EXIT 0x16
- PLAY 0x17
- PAUSE 0x18
- STOP 0x19
- |<< 0x1A
- >>| 0x1B
- RECORD 0x1C
- << 0x1D
- >> 0x1E
- RED 0x20
- GREEN 0x21
- YELLOW 0x22
- BLUE 0x23
- end codes
-
-end remote
-
-
-
-# Please make this file available to others
-# by sending it to <lirc@bartelmus.de>
-#
-# this config file was automatically generated
-# using lirc-0.7.2(streamzap) on Mon Dec 5 08:45:02 2005
-#
-# contributed by
-#
-# brand: RS_LD_120-MX500
-# model no. of remote control:
-# devices being controlled by this remote:
-#
-
-begin remote
-
- name RS_LD
- bits 15
- flags SPACE_ENC|CONST_LENGTH
- eps 30
- aeps 100
-
- one 384 1920
- zero 384 896
- ptrail 384
- gap 70400
- min_repeat 2
- toggle_bit 0
-
-
- begin codes
- RESET 0x19FD
- TIME 0X1902
- BLANK 0X1B02
- PICTURE 0X1882
- ASPECT 0X1A82
- BROWSE 0X1982
- DELETE 0X1B82
- CARD 0X1842
- CARD_SOURCE 0X1A42
- SPARE1 0X1942
- end codes
-
-end remote
-
-
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/MX-500-jams/lircrc b/abs/mv-core/MythVantage-config/templates/remotes/MX-500-jams/lircrc
deleted file mode 100644
index 5e668b5..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/MX-500-jams/lircrc
+++ /dev/null
@@ -1,832 +0,0 @@
-# StreamZap Remote
-# 'config' must either be a literal key, e.g. 'config = l' or must
-# refer to a defined key in MythTV, e.g. 'config = PLAY'a
-
-
-#restart frontend
-begin
- remote = RS_LD
- button = RESET
- prog = irexec
- repeat = 0
- config = /usr/bin/restartfrontend.sh
-end
-
-#time
-begin
- remote = RS_LD
- button = TIME
- prog = irexec
- repeat = 10
- config = /usr/bin/saytime.sh
-end
-
-#screen blank
-begin
- remote = RS_LD
- button = BLANK
- prog = irexec
- repeat = 0
-# config = ls
- config = xset s activate ; xset s blank
-end
-
-
-#picture
-begin
-REMOTE = RS_LD
-prog = mythtv
-button = PICTURE
-repeat = 4
-config = f
-end
-
-#change aspect
-begin
-remote = RS_LD
-prog = mythtv
-button = ASPECT
-# change aspect ratio
-config = w
-end
-
-#Browse
-begin
-remote = RS_LD
-prog = mythtv
-button = BROWSE
-repeat = 8
-config = o
-end
-
-# delete key
-begin
-remote = RS_LD
-prog = mythtv
-button = DELETE
-repeat = 8
-config = d
-end
-
-
-#change card
-begin
-remote = RS_LD
-prog = mythtv
-button = CARD
-repeat = 8
-config = y
-end
-
-# Change TV card input
-begin
-remote = RS_LD
-prog = mythtv
-button = CARD_SOURCE
-repeat = 4
-config = C
-end
-
-
-
-# Cycle through channel history
-begin
-remote = Streamzap_PC_Remote
-prog = mythtv
-button = BLUE
-repeat = 4
-config = H
-end
-
-# Bring up OSD info
-begin
-remote = Streamzap_PC_Remote
-prog = mythtv
-button = YELLOW
-repeat = 4
-config = i
-end
-
-
-
-
-begin
-prog = mythtv
-button = 0
-config = 0
-end
-
-begin
-prog = mythtv
-button = 1
-config = 1
-end
-
-begin
-prog = mythtv
-button = 2
-config = 2
-end
-
-begin
-prog = mythtv
-button = 3
-config = 3
-end
-
-begin
-prog = mythtv
-button = 4
-config = 4
-end
-
-begin
-prog = mythtv
-button = 5
-config = 5
-end
-
-begin
-prog = mythtv
-button = 6
-config = 6
-end
-
-begin
-prog = mythtv
-button = 7
-config = 7
-end
-
-begin
-prog = mythtv
-button = 8
-config = 8
-end
-
-begin
-prog = mythtv
-button = 9
-config = 9
-end
-
-begin
-prog = mythtv
-button = POWER
-config = Esc
-end
-
-# ???
-begin
-prog = mythtv
-button = MUTE
-config = F9
-end
-
-begin
-prog = mythtv
-button = CH_UP
-repeat = 3
-config = PgUp
-end
-
-begin
-prog = mythtv
-button = VOL_UP
-repeat = 3
-config = ]
-end
-
-begin
-prog = mythtv
-button = CH_DOWN
-repeat = 3
-config = PgDown
-end
-
-begin
-prog = mythtv
-button = VOL_DOWN
-repeat = 3
-config = [
-end
-
-begin
-prog = mythtv
-button = UP
-repeat = 3
-config = Up
-end
-
-begin
-prog = mythtv
-button = LEFT
-# navigates, or skips back during playback or live tv.
-config = Left
-end
-
-begin
-prog = mythtv
-button = OK
-config = Return
-end
-
-begin
-prog = mythtv
-button = RIGHT
-# navigates, or skips forwards during playback or live tv.
-config = Right
-end
-
-begin
-prog = mythtv
-button = DOWN
-repeat = 3
-config = Down
-end
-
-begin
-prog = mythtv
-button = MENU
-config = m
-end
-
-begin
-prog = mythtv
-button = EXIT
-config = Esc
-end
-
-begin
-prog = mythtv
-button = PLAY
-config = Space
-end
-
-begin
-prog = mythtv
-button = PAUSE
-config = p
-end
-
-begin
-prog = mythtv
-button = STOP
-config = Esc
-end
-
-begin
-prog = mythtv
-# skip backward
-button = |<<
-config = PgUp
-end
-
-begin
-prog = mythtv
-# skip forward
-button = >>|
-config = PgDown
-end
-
-begin
-prog = mythtv
-button = RECORD
-config = r
-end
-
-begin
-prog = mythtv
-# rewind
-button = <<
-config = Home
-end
-
-begin
-prog = mythtv
-# fast forward
-button = >>
-config = End
-end
-
-begin
-prog = mythtv
-button = RED
-# Delete
-config = d
-end
-
-begin
-prog = mythtv
-button = GREEN
-# Info
-config = i
-end
-
-#begin
-#prog = mythtv
-#button = YELLOW
-# change aspect ratio
-#config = w
-#end
-
-begin
-prog = mythtv
-button = BLUE
-config = Tab
-end
-
-# MPLAYER
-begin
-prog = mplayer
-button = POWER
-config = quit
-end
-
-begin
-prog = mplayer
-button = MUTE
-config = mute
-end
-
-begin
-prog = mplayer
-button = VOL_UP
-repeat = 3
-config = volume +1
-end
-
-begin
-prog = mplayer
-button = VOL_DOWN
-repeat = 3
-config = volume -1
-end
-
-begin
-prog = mplayer
-button = UP
-repeat = 3
-config = seek +10
-end
-
-begin
-prog = mplayer
-button = LEFT
-# navigates, or skips back during playback or live tv.
-config = seek -60
-end
-
-begin
-prog = mplayer
-button = RIGHT
-# navigates, or skips forwards during playback or live tv.
-config = seek +60
-end
-
-begin
-prog = mplayer
-button = DOWN
-repeat = 3
-config = seek -10
-end
-
-begin
-prog = mplayer
-button = EXIT
-config = quit
-end
-
-begin
-prog = mplayer
-button = play
-config = speed_set 1.0
-end
-
-begin
- prog = mplayer
- button = pause
- config = pause
-end
-
-begin
-prog = mplayer
-button = STOP
-config = quit
-end
-
-begin
-prog = mplayer
-# skip backward
-button = |<<
-config = seek -600
-end
-
-begin
-prog = mplayer
-# skip forward
-button = >>|
-config = seek +600
-end
-
-begin
-prog = mplayer
-# slow forward
-button = <<
-config = speed_mult 0.5
-end
-
-begin
-prog = mplayer
-# fast forward
-button = >>
-config = speed_mult 2.0
-end
-
-### xine commands
-
-begin
-prog = xine
-button = YELLOW
-repeat = 4
-#config = ToggleVisiblity
-config = OSDStreamInfos
-end
-
-begin
-prog = xine
-button = MENU
-repeat = 4
-config = SeekRelative+60
-end
-
-# increase brightness by 10
-begin
- button = DELETE
- prog = xine
- repeat = 4
- config = BrightnessControl+
-end
-
-# decrease brightness by 10
-begin
- button = PICTURE
- prog = xine
- repeat = 4
- config = BrightnessControl-
-end
-
-
-begin
-prog = xine
-button = PAUSE
-repeat = 4
-config = Pause
-end
-
-begin
-prog = xine
-button = PLAY
-repeat = 4
-config = Play
-end
-
-begin
-prog = xine
-button = STOP
-repeat = 4
-config = quit
-end
-
-begin
-prog = xine
-button = MUTE
-repeat = 4
-config = mute
-end
-
-begin
-prog = xine
-button = <<
-repeat = 4
-config = SeekRelative-30
-end
-
-begin
-prog = xine
-button = >>
-repeat = 4
-#config = SeekRelative+30
-config = SpeedFaster
-end
-
-begin
-prog = xine
-button = POWER
-repeat = 4
-config = quit
-end
-
-begin
-prog = xine
-button = EXIT
-repeat = 4
-config = quit
-end
-
-
-begin
-prog = xine
-button = FREEZE
-repeat = 4
-config = SeekRelative+1200
-end
-
-begin
-prog = xine
-button = MOVE
-repeat = 4
-config = SeekRelative-1200
-end
-
-begin
-prog = xine
-button = 3
-config = SpuNext
-repeat = 0
-end
-
-# Select previous sub picture (subtitle) channel.
-begin
-button = 1
-prog = xine
-repeat = 0
-config = SpuPrior
-end
-
-# Select next audio channel.
-begin
-button = 9
-prog = xine
-repeat = 0
-config = AudioChannelNext
-end
-
-# Select previous audio channel.
-begin
-button = 7
-prog = xine
-repeat = 0
-config = AudioChannelPrior
-end
-
-
-
-# Up event.
-begin
-
-button = UP
-prog = xine
-repeat = 8
-config = EventUp
-end
-
-# Down event.
-begin
-
-button = DOWN
-prog = xine
-repeat = 8
-config = EventDown
-end
-
-# Left event.
-begin
-
-button = LEFT
-prog = xine
-repeat = 8
-config = EventLeft
-end
-
-# Right event.
-begin
-
-button = RIGHT
-prog = xine
-repeat = 8
-config = EventRight
-end
-
-# Select event.
-begin
-prog = xine
-button = ok
-repeat = 8
-config = EventSelect
-end
-
-# Down Chapter
-begin
-
-button = CH_DOWN
-prog = xine
-repeat = 8
-config = EventPrior
-end
-
-# Next Chapter.
-begin
-
-button = CH_UP
-prog = xine
-repeat = 8
-config = EventNext
-end
-
-# menu.
-begin
-
-button = record
-prog = xine
-repeat = 8
-config = RootMenu
-end
-
-# Toggle aspect ratio
-begin
-prog = xine
-button = ASPECT
-repeat = 0
-config = ToggleAspectRatio
-end
-
-
-
-#######xmms
-begin xmms
- begin
- prog = xmms
- button = PLAY
- config = PLAY
- end
- begin
- prog = xmms
- button = clear
- config = PLAYLIST_CLEAR
- end
- begin
- prog = xmms
- button = load
- config = PLAYLIST_ADD .xmms/xmms.m3u
- end
- begin
- prog = xmms
- button = PAUSE
- config = PAUSE
- end
- begin
- prog = xmms
- button = STOP
- config = STOP
- end
- begin
- prog = xmms
- button = EXIT
- config = QUIT
- flags = mode
- end
-
- begin
- prog = xmms
- button = POWER
- config = QUIT
- flags = mode
- end
-
- begin
- prog = xmms
- button = CH_UP
- config = NEXT
- end
- begin
- prog = xmms
- button = CH_DOWN
- config = PREV
- end
-
-
-
-begin
- prog = xmms
- button = >>|
- config = NEXT
- end
-begin
- prog = xmms
- button = |<<
- config = PREV
-end
-
-
-begin
- prog = xmms
- button = <<
- config = FWD 10
- repeat = 2
- end
- begin
- prog = xmms
- button = <<
- config = BWD 10
- repeat = 2
- end
- begin
- prog = xmms
- button = volup
- config = VOL_UP 10
- repeat = 2
- end
- begin
- prog = xmms
- button = voldown
- config = VOL_DOWN 10
- repeat = 2
- end
- begin
- prog = xmms
- button = 1
- config = ONE
- end
- begin
- prog = xmms
- button = 2
- config = TWO
- end
- begin
- prog = xmms
- button = 3
- config = THREE
- end
- begin
- prog = xmms
- button = 4
- config = FOUR
- end
- begin
- prog = xmms
- button = 5
- config = FIVE
- end
- begin
- prog = xmms
- button = 6
- config = SIX
- end
- begin
- prog = xmms
- button = 7
- config = SEVEN
- end
- begin
- prog = xmms
- button = 8
- config = EIGHT
- end
- begin
- prog = xmms
- button = 9
- config = NINE
- end
- begin
- prog = xmms
- button = 0
- config = ZERO
- end
- begin
- prog = xmms
- button = enter
- config = SETPOS
- end
-end xmms
-
-#
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/MX-500-jams/preview.jpg b/abs/mv-core/MythVantage-config/templates/remotes/MX-500-jams/preview.jpg
deleted file mode 100644
index 38857f9..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/MX-500-jams/preview.jpg
+++ /dev/null
Binary files differ
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/MythVantage-one/lircd.conf b/abs/mv-core/MythVantage-config/templates/remotes/MythVantage-one/lircd.conf
deleted file mode 100644
index b76d32c..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/MythVantage-one/lircd.conf
+++ /dev/null
@@ -1,115 +0,0 @@
-#
-# this config file was automatically generated
-# using lirc-0.7.1-CVS(serial) on Fri Feb 4 23:20:56 2005
-#
-# contributed by Christoph Bartelmus
-#
-# brand: Streamzap
-# model no. of remote control: PC Remote
-# devices being controlled by this remote: USB receiver
-#
-
-begin remote
-
- name Streamzap_PC_Remote
- bits 6
- flags RC5|CONST_LENGTH
- eps 30
- aeps 100
-
- one 889 889
- zero 889 889
- plead 889
- pre_data_bits 8
- pre_data 0xA3
- gap 108344
- toggle_bit 2
-
-
- begin codes
- 0 0x00
- 1 0x01
- 2 0x02
- 3 0x03
- 4 0x04
- 5 0x05
- 6 0x06
- 7 0x07
- 8 0x08
- 9 0x09
- POWER 0x0A
- MUTE 0x0B
- CH_UP 0x0C
- VOL_UP 0x0D
- CH_DOWN 0x0E
- VOL_DOWN 0x0F
- UP 0x10
- LEFT 0x11
- OK 0x12
- RIGHT 0x13
- DOWN 0x14
- MENU 0x15
- EXIT 0x16
- PLAY 0x17
- PAUSE 0x18
- STOP 0x19
- |<< 0x1A
- >>| 0x1B
- RECORD 0x1C
- << 0x1D
- >> 0x1E
- RED 0x20
- GREEN 0x21
- YELLOW 0x22
- BLUE 0x23
- end codes
-
-end remote
-
-
-
-# Please make this file available to others
-# by sending it to <lirc@bartelmus.de>
-#
-# this config file was automatically generated
-# using lirc-0.7.2(streamzap) on Mon Dec 5 08:45:02 2005
-#
-# contributed by
-#
-# brand: RS_LD_120-MX500
-# model no. of remote control:
-# devices being controlled by this remote:
-#
-
-begin remote
-
- name RS_LD
- bits 15
- flags SPACE_ENC|CONST_LENGTH
- eps 30
- aeps 100
-
- one 384 1920
- zero 384 896
- ptrail 384
- gap 70400
- min_repeat 2
- toggle_bit 0
-
-
- begin codes
- RESET 0x19FD
- TIME 0X1902
- BLANK 0X1B02
- PICTURE 0X1882
- ASPECT 0X1A82
- BROWSE 0X1982
- DELETE 0X1B82
- CARD 0X1842
- CARD_SOURCE 0X1A42
- SPARE1 0X1942
- end codes
-
-end remote
-
-
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/MythVantage-one/lircrc b/abs/mv-core/MythVantage-config/templates/remotes/MythVantage-one/lircrc
deleted file mode 100755
index 2663c63..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/MythVantage-one/lircrc
+++ /dev/null
@@ -1,857 +0,0 @@
-# StreamZap Remote
-# 'config' must either be a literal key, e.g. 'config = l' or must
-# refer to a defined key in MythTV, e.g. 'config = PLAY'a
-
-
-#restart frontend
-begin
- remote = RS_LD
- button = RESET
- prog = irexec
- repeat = 0
- config = /usr/bin/restartfrontend.sh
-end
-
-#time
-begin
- remote = RS_LD
- button = TIME
- prog = irexec
- repeat = 10
- config = /usr/bin/saytime.sh
-end
-
-#screen blank
-begin
- remote = RS_LD
- button = BLANK
- prog = irexec
- repeat = 0
-# config = ls
- config = xset s activate ; xset s blank
-end
-
-
-#picture
-begin
-REMOTE = RS_LD
-prog = mythtv
-button = PICTURE
-repeat = 5
-config = f
-end
-
-#change aspect
-begin
-remote = RS_LD
-prog = mythtv
-button = ASPECT
-# change aspect ratio
-config = w
-repeat = 5
-end
-
-#Browse
-begin
-remote = RS_LD
-prog = mythtv
-button = BROWSE
-repeat = 8
-config = o
-end
-
-# delete key
-begin
-remote = RS_LD
-prog = mythtv
-button = DELETE
-repeat = 8
-config = d
-end
-
-
-#change card
-begin
-remote = RS_LD
-prog = mythtv
-button = CARD
-repeat = 8
-config = y
-end
-
-# Change TV card input
-begin
-remote = RS_LD
-prog = mythtv
-button = CARD_SOURCE
-repeat = 4
-config = C
-end
-
-
-
-# Cycle through channel history
-begin
-remote = Streamzap_PC_Remote
-prog = mythtv
-button = BLUE
-repeat = 4
-config = H
-end
-
-# Bring up OSD info
-begin
-remote = Streamzap_PC_Remote
-prog = mythtv
-button = YELLOW
-repeat = 4
-config = i
-end
-
-
-
-
-begin
-prog = mythtv
-button = 0
-config = 0
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = 1
-config = 1
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = 2
-config = 2
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = 3
-config = 3
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = 4
-config = 4
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = 5
-config = 5
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = 6
-config = 6
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = 7
-config = 7
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = 8
-config = 8
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = 9
-config = 9
-repeat = 5
-end
-
-
-begin
-prog = mythtv
-button = POWER
-config = Esc
-end
-
-# ???
-begin
-prog = mythtv
-button = MUTE
-config = F9
-end
-
-begin
-prog = mythtv
-button = CH_UP
-repeat = 3
-config = PgUp
-end
-
-begin
-prog = mythtv
-button = VOL_UP
-repeat = 3
-config = ]
-end
-
-begin
-prog = mythtv
-button = CH_DOWN
-repeat = 3
-config = PgDown
-end
-
-begin
-prog = mythtv
-button = VOL_DOWN
-repeat = 3
-config = [
-end
-
-begin
-prog = mythtv
-button = UP
-repeat = 3
-config = Up
-end
-
-begin
-prog = mythtv
-button = LEFT
-# navigates, or skips back during playback or live tv.
-config = Left
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = OK
-config = Return
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = RIGHT
-# navigates, or skips forwards during playback or live tv.
-config = Right
-end
-
-begin
-prog = mythtv
-button = DOWN
-repeat = 3
-config = Down
-end
-
-begin
-prog = mythtv
-button = MENU
-config = m
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = EXIT
-config = Esc
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = PLAY
-config = Space
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = PAUSE
-config = p
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = STOP
-config = Esc
-repeat = 5
-end
-
-begin
-prog = mythtv
-# skip backward
-button = |<<
-config = PgUp
-repeat = 5
-end
-
-begin
-prog = mythtv
-# skip forward
-button = >>|
-config = PgDown
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = RECORD
-config = r
-repeat = 5
-end
-
-begin
-prog = mythtv
-# rewind
-button = <<
-config = Home
-repeat = 5
-end
-
-begin
-prog = mythtv
-# fast forward
-button = >>
-config = End
-repeat = 5
-end
-
-begin
-prog = mythtv
-button = RED
-# Delete
-config = d
-end
-
-begin
-prog = mythtv
-button = GREEN
-# Info
-config = S
-repeat = 5
-end
-
-#begin
-#prog = mythtv
-#button = YELLOW
-# change aspect ratio
-#config = w
-#end
-
-begin
-prog = mythtv
-button = BLUE
-config = Tab
-end
-
-# MPLAYER
-begin
-prog = mplayer
-button = POWER
-config = quit
-end
-
-begin
-prog = mplayer
-button = MUTE
-config = mute
-end
-
-begin
-prog = mplayer
-button = VOL_UP
-repeat = 3
-config = volume +1
-end
-
-begin
-prog = mplayer
-button = VOL_DOWN
-repeat = 3
-config = volume -1
-end
-
-begin
-prog = mplayer
-button = UP
-repeat = 3
-config = seek +10
-end
-
-begin
-prog = mplayer
-button = LEFT
-# navigates, or skips back during playback or live tv.
-config = seek -60
-end
-
-begin
-prog = mplayer
-button = RIGHT
-# navigates, or skips forwards during playback or live tv.
-config = seek +60
-end
-
-begin
-prog = mplayer
-button = DOWN
-repeat = 3
-config = seek -10
-end
-
-begin
-prog = mplayer
-button = EXIT
-config = quit
-end
-
-begin
-prog = mplayer
-button = play
-config = speed_set 1.0
-end
-
-begin
- prog = mplayer
- button = pause
- config = pause
-end
-
-begin
-prog = mplayer
-button = STOP
-config = quit
-end
-
-begin
-prog = mplayer
-# skip backward
-button = |<<
-config = seek -600
-end
-
-begin
-prog = mplayer
-# skip forward
-button = >>|
-config = seek +600
-end
-
-begin
-prog = mplayer
-# slow forward
-button = <<
-config = speed_mult 0.5
-end
-
-begin
-prog = mplayer
-# fast forward
-button = >>
-config = speed_mult 2.0
-end
-
-### xine commands
-
-begin
-prog = xine
-button = YELLOW
-repeat = 4
-#config = ToggleVisiblity
-config = OSDStreamInfos
-end
-
-begin
-prog = xine
-button = MENU
-repeat = 4
-config = SeekRelative+60
-end
-
-# increase brightness by 10
-begin
- button = DELETE
- prog = xine
- repeat = 4
- config = BrightnessControl+
-end
-
-# decrease brightness by 10
-begin
- button = PICTURE
- prog = xine
- repeat = 4
- config = BrightnessControl-
-end
-
-
-begin
-prog = xine
-button = PAUSE
-repeat = 4
-config = Pause
-end
-
-begin
-prog = xine
-button = PLAY
-repeat = 4
-config = Play
-end
-
-begin
-prog = xine
-button = STOP
-repeat = 4
-config = quit
-end
-
-begin
-prog = xine
-button = MUTE
-repeat = 4
-config = mute
-end
-
-begin
-prog = xine
-button = <<
-repeat = 4
-config = SeekRelative-30
-end
-
-begin
-prog = xine
-button = >>
-repeat = 4
-#config = SeekRelative+30
-config = SpeedFaster
-end
-
-begin
-prog = xine
-button = POWER
-repeat = 4
-config = quit
-end
-
-begin
-prog = xine
-button = EXIT
-repeat = 4
-config = quit
-end
-
-
-begin
-prog = xine
-button = FREEZE
-repeat = 4
-config = SeekRelative+1200
-end
-
-begin
-prog = xine
-button = MOVE
-repeat = 4
-config = SeekRelative-1200
-end
-
-begin
-prog = xine
-button = 3
-config = SpuNext
-repeat = 0
-end
-
-# Select previous sub picture (subtitle) channel.
-begin
-button = 1
-prog = xine
-repeat = 0
-config = SpuPrior
-end
-
-# Select next audio channel.
-begin
-button = 9
-prog = xine
-repeat = 0
-config = AudioChannelNext
-end
-
-# Select previous audio channel.
-begin
-button = 7
-prog = xine
-repeat = 0
-config = AudioChannelPrior
-end
-
-
-
-# Up event.
-begin
-
-button = UP
-prog = xine
-repeat = 8
-config = EventUp
-end
-
-# Down event.
-begin
-
-button = DOWN
-prog = xine
-repeat = 8
-config = EventDown
-end
-
-# Left event.
-begin
-
-button = LEFT
-prog = xine
-repeat = 8
-config = EventLeft
-end
-
-# Right event.
-begin
-
-button = RIGHT
-prog = xine
-repeat = 8
-config = EventRight
-end
-
-# Select event.
-begin
-prog = xine
-button = ok
-repeat = 8
-config = EventSelect
-end
-
-# Down Chapter
-begin
-
-button = CH_DOWN
-prog = xine
-repeat = 8
-config = EventPrior
-end
-
-# Next Chapter.
-begin
-
-button = CH_UP
-prog = xine
-repeat = 8
-config = EventNext
-end
-
-# menu.
-begin
-
-button = record
-prog = xine
-repeat = 8
-config = RootMenu
-end
-
-# Toggle aspect ratio
-begin
-prog = xine
-button = ASPECT
-repeat = 0
-config = ToggleAspectRatio
-end
-
-
-
-#######xmms
-begin xmms
- begin
- prog = xmms
- button = PLAY
- config = PLAY
- end
- begin
- prog = xmms
- button = clear
- config = PLAYLIST_CLEAR
- end
- begin
- prog = xmms
- button = load
- config = PLAYLIST_ADD .xmms/xmms.m3u
- end
- begin
- prog = xmms
- button = PAUSE
- config = PAUSE
- end
- begin
- prog = xmms
- button = STOP
- config = STOP
- end
- begin
- prog = xmms
- button = EXIT
- config = QUIT
- flags = mode
- end
-
- begin
- prog = xmms
- button = POWER
- config = QUIT
- flags = mode
- end
-
- begin
- prog = xmms
- button = CH_UP
- config = NEXT
- end
- begin
- prog = xmms
- button = CH_DOWN
- config = PREV
- end
-
-
-
-begin
- prog = xmms
- button = >>|
- config = NEXT
- end
-begin
- prog = xmms
- button = |<<
- config = PREV
-end
-
-
-begin
- prog = xmms
- button = <<
- config = FWD 10
- repeat = 2
- end
- begin
- prog = xmms
- button = <<
- config = BWD 10
- repeat = 2
- end
- begin
- prog = xmms
- button = volup
- config = VOL_UP 10
- repeat = 2
- end
- begin
- prog = xmms
- button = voldown
- config = VOL_DOWN 10
- repeat = 2
- end
- begin
- prog = xmms
- button = 1
- config = ONE
- end
- begin
- prog = xmms
- button = 2
- config = TWO
- end
- begin
- prog = xmms
- button = 3
- config = THREE
- end
- begin
- prog = xmms
- button = 4
- config = FOUR
- end
- begin
- prog = xmms
- button = 5
- config = FIVE
- end
- begin
- prog = xmms
- button = 6
- config = SIX
- end
- begin
- prog = xmms
- button = 7
- config = SEVEN
- end
- begin
- prog = xmms
- button = 8
- config = EIGHT
- end
- begin
- prog = xmms
- button = 9
- config = NINE
- end
- begin
- prog = xmms
- button = 0
- config = ZERO
- end
- begin
- prog = xmms
- button = enter
- config = SETPOS
- end
-end xmms
-
-#
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/MythVantage-one/preview.jpg b/abs/mv-core/MythVantage-config/templates/remotes/MythVantage-one/preview.jpg
deleted file mode 100644
index e2af610..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/MythVantage-one/preview.jpg
+++ /dev/null
Binary files differ
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/RadioShack_15-2116-Jarod_Wilson/lircd-rs.conf b/abs/mv-core/MythVantage-config/templates/remotes/RadioShack_15-2116-Jarod_Wilson/lircd-rs.conf
deleted file mode 100644
index f8175f3..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/RadioShack_15-2116-Jarod_Wilson/lircd-rs.conf
+++ /dev/null
@@ -1,87 +0,0 @@
-# this config file was generated
-# using lirc-0.7.0pre2(hauppauge) on Thu Jan 1 00:35:50 2004
-#
-# contributed by Jarod Wilson <jcw@wilsonet.com>
-#------------------------------------------------------------------------------
-#
-# filename: RadioShack_15-2116-vcr0081.lirc
-# encoding: RC-5
-# brand: RadioShack Universal (and others)
-# model: 15-2116, set as VCR type 0081
-# supported devices: all
-#
-# note: requires quite a bit of key reassignment w/keymover and EFCs...
-# see http://wilsonet.com/mythtv/rs15-2116.html for HOWTO
-#
-#------------------------------------------------------------------------------
-
-begin remote
-
- name rs15-2116-vcr0081
- bits 11
- flags RC5|CONST_LENGTH
- eps 20
- aeps 0
- header 0 0
- one 889 889
- zero 889 889
- plead 889
- ptrail 0
- foot 0 0
- repeat 0 0
- pre_data_bits 2
- pre_data 0x02
- post_data_bits 0
- post_data 0x0
- pre 0 0
- post 0 0
- gap 113792
- toggle_bit 2
- frequency 36000
- duty_cycle 50
-
- begin codes
- 0 0x0000000000000140
- 1 0x0000000000000141
- 2 0x0000000000000142
- 3 0x0000000000000143
- 4 0x0000000000000144
- 5 0x0000000000000145
- 6 0x0000000000000146
- 7 0x0000000000000147
- 8 0x0000000000000148
- 9 0x0000000000000149
- INFO 0x000000000000014a
- SELECT 0x000000000000014b
- POWER 0x000000000000014c
- MUTE 0x000000000000014d
- MOVE 0x000000000000014e
- VOL+ 0x0000000000000150
- VOL- 0x0000000000000151
- RIGHT 0x000000000000015a
- LEFT 0x000000000000015b
- ENTER 0x000000000000015c
- MENU 0x000000000000015d
- CH+ 0x0000000000000160
- CH- 0x0000000000000161
- PIP 0x0000000000000162
- SWAP 0x0000000000000163
- SLEEP 0x0000000000000166
- FREEZE 0x0000000000000168
- PAUSE 0x0000000000000169
- SKIP 0x000000000000016a
- EXIT 0x0000000000000171
- REW 0x0000000000000172
- REPLAY 0x0000000000000173
- FFWD 0x0000000000000174
- PLAY 0x0000000000000175
- STOP 0x0000000000000176
- REC 0x0000000000000177
- SKIP 0x0000000000000178
- +100 0x0000000000000179
- LAST 0x000000000000017b
- GUIDE 0x000000000000017c
- TV/VIDEO 0x000000000000017e
- end codes
-
-end remote
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/RadioShack_15-2116-Jarod_Wilson/lircrc-rs b/abs/mv-core/MythVantage-config/templates/remotes/RadioShack_15-2116-Jarod_Wilson/lircrc-rs
deleted file mode 100644
index 91c0de5..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/RadioShack_15-2116-Jarod_Wilson/lircrc-rs
+++ /dev/null
@@ -1,539 +0,0 @@
-# ~/.mythtv/lircrc
-#
-# MythTV native LIRC config file for
-# the RadioShack 15-2116, VCR type 0081
-# using Hauppauge IR receiver
-#
-# By Jarod Wilson, 2003/12/31
-# Amalgamated from Harry O's
-# .lircrc, the mythtv.org docs, and
-# a few touches of my own. :)
-#
-
-# Channel Up
-begin
-prog = mythtv
-button = CH+
-repeat = 4
-config = Up
-end
-
-# Channel Down
-begin
-prog = mythtv
-button = CH-
-repeat = 4
-config = Down
-end
-
-# OK/Select
-begin
-prog = mythtv
-button = SELECT
-repeat = 4
-config = Return
-end
-
-# Play
-begin
-prog = mythtv
-button = PLAY
-repeat = 4
-config = Space
-end
-
-# Stop
-begin
-prog = mythtv
-button = STOP
-repeat = 4
-config = Esc
-end
-
-# Escape/Exit/Back
-begin
-prog = mythtv
-button = EXIT
-repeat = 4
-config = Esc
-end
-
-# Power Off/Exit
-begin
-prog = mythtv
-button = POWER
-repeat = 4
-config = Esc
-end
-
-# Pause
-begin
-prog = mythtv
-button = PAUSE
-repeat = 4
-config = P
-end
-
-# Mute
-begin
-prog = mythtv
-button = MUTE
-repeat = 4
-config = |
-end
-
-# Rewind (10 sec default)
-begin
-prog = mythtv
-button = REW
-repeat = 4
-config = Left
-end
-
-begin
-prog = mythtv
-button = LEFT
-repeat = 4
-config = Left
-end
-
-# Fast forward (30 sec default)
-begin
-prog = mythtv
-button = FFWD
-repeat = 4
-config = Right
-end
-
-begin
-prog = mythtv
-button = RIGHT
-repeat = 4
-config = Right
-end
-
-# Skip forward (10 min default)
-begin
-prog = mythtv
-button = FREEZE
-repeat = 4
-config = PgDown
-end
-
-# Skip backward (10 min default)
-begin
-prog = mythtv
-button = MOVE
-repeat = 4
-config = PgUp
-end
-
-# Record
-begin
-prog = mythtv
-button = REC
-repeat = 4
-config = R
-end
-
-# OSD browse
-begin
-prog = mythtv
-button = GUIDE
-repeat = 4
-config = O
-end
-
-# Display EPG while in live TV,
-# View selected show while in EPG
-begin
-prog = mythtv
-button = MENU
-repeat = 4
-config = M
-end
-
-# Bring up OSD info
-begin
-prog = mythtv
-button = INFO
-repeat = 4
-config = I
-end
-
-# Change display aspect ratio
-begin
-prog = mythtv
-button = +100
-repeat = 4
-config = W
-end
-
-# Seek to previous commercial cut point
-begin
-prog = mythtv
-button = SLEEP
-repeat = 4
-config = Q
-end
-
-# Seek to next commercial cut point
-begin
-prog = mythtv
-button = ENTER
-repeat = 4
-config = Z
-end
-
-# Change TV card input
-begin
-prog = mythtv
-button = TV/VIDEO
-repeat = 4
-config = C
-end
-
-# Toggle Picture-In-Picture
-begin
-prog = mythtv
-button = PIP
-repeat = 4
-config = V
-end
-
-# Swap PIP
-begin
-prog = mythtv
-button = SWAP
-repeat = 4
-config = N
-end
-
-# Cycle through channel history
-begin
-prog = mythtv
-button = LAST
-repeat = 4
-config = H
-end
-
-# Numbers 0-9
-
-begin
-prog = mythtv
-button = 0
-repeat = 4
-config = 0
-end
-
-begin
-prog = mythtv
-button = 1
-repeat = 4
-config = 1
-end
-
-begin
-prog = mythtv
-button = 2
-repeat = 4
-config = 2
-end
-
-begin
-prog = mythtv
-button = 3
-repeat = 4
-config = 3
-end
-
-begin
-prog = mythtv
-button = 4
-repeat = 4
-config = 4
-end
-
-begin
-prog = mythtv
-button = 5
-repeat = 4
-config = 5
-end
-
-begin
-prog = mythtv
-button = 6
-repeat = 4
-config = 6
-end
-
-begin
-prog = mythtv
-button = 7
-repeat = 4
-config = 7
-end
-
-begin
-prog = mythtv
-button = 8
-repeat = 4
-config = 8
-end
-
-begin
-prog = mythtv
-button = 9
-repeat = 4
-config = 9
-end
-
-### MPlayer commands
-
-begin
-prog = mplayer
-button = MENU
-repeat = 4
-config = osd
-end
-
-begin
-prog = mplayer
-button = PAUSE
-repeat = 4
-config = pause
-end
-
-begin
-prog = mplayer
-button = PLAY
-repeat = 4
-config = seek +1
-end
-
-begin
-prog = mplayer
-button = STOP
-repeat = 4
-config = quit
-end
-
-begin
-prog = mplayer
-button = MUTE
-repeat = 4
-config = mute
-end
-
-begin
-prog = mplayer
-button = REW
-repeat = 4
-config = seek -10
-end
-
-begin
-prog = mplayer
-button = LEFT
-repeat = 4
-config = seek -10
-end
-
-begin
-prog = mplayer
-button = FFWD
-repeat = 4
-config = seek +30
-end
-
-begin
-prog = mplayer
-button = RIGHT
-repeat = 4
-config = seek +30
-end
-
-begin
-prog = mplayer
-button = EXIT
-repeat = 4
-config = quit
-end
-
-begin
-prog = mplayer
-button = FREEZE
-repeat = 4
-config = seek +1200
-end
-
-begin
-prog = mplayer
-button = MOVE
-repeat = 4
-config = seek -1200
-end
-
-begin
-prog = mplayer
-button = +100
-repeat = 4
-config = vo_fullscreen
-end
-
-### Xine commands
-
-begin
-prog = xine
-button = PLAY
-repeat = 3
-config = Play
-end
-
-begin
-prog = xine
-button = STOP
-repeat = 3
-config = Stop
-end
-
-begin
-prog = xine
-button = POWER
-repeat = 3
-config = Quit
-end
-
-begin
-prog = xine
-button = EXIT
-repeat = 3
-config = Quit
-end
-
-begin
-prog = xine
-button = PAUSE
-repeat = 3
-config = Pause
-end
-
-begin
-prog = xine
-button = CH+
-repeat = 3
-config = EventUp
-end
-
-begin
-prog = xine
-button = CH-
-repeat = 3
-config = EventDown
-end
-
-begin
-prog = xine
-button = LEFT
-repeat = 3
-config = EventLeft
-end
-
-begin
-prog = xine
-button = RIGHT
-repeat = 3
-config = EventRight
-end
-
-begin
-prog = xine
-button = SELECT
-repeat = 3
-config = EventSelect
-end
-
-begin
-prog = xine
-button = GUIDE
-repeat = 3
-config = Menu
-end
-
-begin
-prog = xine
-button = FFWD
-repeat = 3
-config = SeekRelative+30
-end
-
-begin
-prog = xine
-button = REW
-repeat = 3
-config = SeekRelative-30
-end
-
-begin
-prog = xine
-button = VOL+
-repeat = 3
-config = Volume+
-end
-
-begin
-prog = xine
-button = VOL-
-repeat = 3
-config = Volume-
-end
-
-begin
-prog = xine
-button = MUTE
-repeat = 3
-config = Mute
-end
-
-begin
-prog = xine
-button = MENU
-repeat = 3
-config = RootMenu
-end
-
-begin
-prog = xine
-button = FREEZE
-repeat = 3
-config = EventNext
-end
-
-begin
-prog = xine
-button = LAST
-repeat = 3
-config = EventPrior
-end
-
-begin
-prog = xine
-button = INFO
-repeat = 3
-config = OSDStreamInfos
-end
-
-begin
-prog = xine
-button = ENTER
-repeat = 3
-config = SpeedFaster
-end
-
-begin
-prog = xine
-button = SLEEP
-repeat = 3
-config = SpeedSlower
-end
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/RadioShack_15-2116-Jarod_Wilson/preview.jpg b/abs/mv-core/MythVantage-config/templates/remotes/RadioShack_15-2116-Jarod_Wilson/preview.jpg
deleted file mode 100644
index d465839..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/RadioShack_15-2116-Jarod_Wilson/preview.jpg
+++ /dev/null
Binary files differ
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/gr8zap/lircd.conf.streamzap b/abs/mv-core/MythVantage-config/templates/remotes/gr8zap/lircd.conf.streamzap
deleted file mode 100644
index 8e453b9..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/gr8zap/lircd.conf.streamzap
+++ /dev/null
@@ -1,69 +0,0 @@
-#
-# this config file was automatically generated
-# using lirc-0.7.1-CVS(serial) on Fri Feb 4 23:20:56 2005
-#
-# contributed by Christoph Bartelmus
-#
-# brand: Streamzap
-# model no. of remote control: PC Remote
-# devices being controlled by this remote: USB receiver
-#
-
-begin remote
-
- name Streamzap_PC_Remote
- bits 6
- flags RC5|CONST_LENGTH
- eps 30
- aeps 100
-
- one 889 889
- zero 889 889
- plead 889
- pre_data_bits 8
- pre_data 0xA3
- gap 108344
- toggle_bit 2
-
-
- begin codes
- 0 0x00
- 1 0x01
- 2 0x02
- 3 0x03
- 4 0x04
- 5 0x05
- 6 0x06
- 7 0x07
- 8 0x08
- 9 0x09
- POWER 0x0A
- MUTE 0x0B
- CH_UP 0x0C
- VOL_UP 0x0D
- CH_DOWN 0x0E
- VOL_DOWN 0x0F
- UP 0x10
- LEFT 0x11
- OK 0x12
- RIGHT 0x13
- DOWN 0x14
- MENU 0x15
- EXIT 0x16
- PLAY 0x17
- PAUSE 0x18
- STOP 0x19
- |<< 0x1A
- >>| 0x1B
- RECORD 0x1C
- << 0x1D
- >> 0x1E
- RED 0x20
- GREEN 0x21
- YELLOW 0x22
- BLUE 0x23
- end codes
-
-end remote
-
-
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/gr8zap/lircrc b/abs/mv-core/MythVantage-config/templates/remotes/gr8zap/lircrc
deleted file mode 100644
index 6f86bfe..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/gr8zap/lircrc
+++ /dev/null
@@ -1,472 +0,0 @@
-# StreamZap Remote
-# 'config' must either be a literal key, e.g. 'config = l' or must
-# refer to a defined key in MythTV, e.g. 'config = PLAY'
-begin
- prog = mythtv
- button = 0
- config = 0
-end
-
-begin
- prog = mythtv
- button = 1
- config = 1
-end
-
-begin
- prog = mythtv
- button = 2
- config = 2
-end
-
-begin
- prog = mythtv
- button = 3
- config = 3
-end
-
-begin
- prog = mythtv
- button = 4
- config = 4
-end
-
-begin
- prog = mythtv
- button = 5
- config = 5
-end
-
-begin
- prog = mythtv
- button = 6
- config = 6
-end
-
-begin
- prog = mythtv
- button = 7
- config = 7
-end
-
-begin
- prog = mythtv
- button = 8
- config = 8
-end
-
-begin
- prog = mythtv
- button = 9
- config = 9
-end
-
-begin
- prog = mythtv
- button = POWER
- config = Esc
-end
-
-# ???
-begin
- prog = mythtv
- button = MUTE
- config = F9
-end
-
-begin
- prog = mythtv
- button = CH_UP
- repeat = 3
- config = Up
-end
-
-begin
- prog = mythtv
- button = VOL_UP
- repeat = 3
- config = ]
-end
-
-begin
- prog = mythtv
- button = CH_DOWN
- repeat = 3
- config = Down
-end
-
-begin
- prog = mythtv
- button = VOL_DOWN
- repeat = 3
- config = [
-end
-
-begin
- prog = mythtv
- button = UP
- repeat = 3
- config = Up
-end
-
-begin
- prog = mythtv
- button = LEFT
-# navigates, or skips back during playback or live tv.
- config = Left
-end
-
-begin
- prog = mythtv
- button = OK
- config = Return
-end
-
-begin
- prog = mythtv
- button = RIGHT
-# navigates, or skips forwards during playback or live tv.
- config = Right
-end
-
-begin
- prog = mythtv
- button = DOWN
- repeat = 3
- config = Down
-end
-
-begin
- prog = mythtv
- button = MENU
- config = m
-end
-
-begin
- prog = mythtv
- button = EXIT
- config = Esc
-end
-
-begin
- prog = mythtv
- button = PLAY
- config = l
-end
-
-begin
- prog = mythtv
- button = PAUSE
- config = p
-end
-
-begin
- prog = mythtv
- button = STOP
- config = Esc
-end
-
-begin
- prog = mythtv
- # skip backward
- button = |<<
- config = PgUp
-end
-
-begin
- prog = mythtv
- # skip forward
- button = >>|
- config = PgDown
-end
-
-begin
- prog = mythtv
- button = RECORD
- config = r
-end
-
-begin
- prog = mythtv
- # rewind
- button = <<
- config = <
-end
-
-begin
- prog = mythtv
- # fast forward
- button = >>
- config = >
-end
-
-begin
- prog = mythtv
- button = RED
- # Delete
- config = z
-end
-
-begin
- prog = mythtv
- button = GREEN
- # Info
- config = i
-end
-
-begin
- prog = mythtv
- button = YELLOW
- # change aspect ratio
- config = w
-end
-
-begin
- prog = mythtv
- button = BLUE
- config = Tab
-end
-
-# MPLAYER
-begin
- prog = mplayer
- button = POWER
- config = quit
-end
-
-begin
- prog = mplayer
- button = MUTE
- config = mute
-end
-
-begin
- prog = mplayer
- button = VOL_UP
- repeat = 3
- config = volume +1
-end
-
-begin
- prog = mplayer
- button = VOL_DOWN
- repeat = 3
- config = volume -1
-end
-
-begin
- prog = mplayer
- button = UP
- repeat = 3
- config = seek +10
-end
-
-begin
- prog = mplayer
- button = LEFT
-# navigates, or skips back during playback or live tv.
- config = seek -30
-end
-
-begin
- prog = mplayer
- button = RIGHT
-# navigates, or skips forwards during playback or live tv.
- config = seek +60
-end
-
-begin
- prog = mplayer
- button = DOWN
- repeat = 3
- config = seek -10
-end
-
-begin
- prog = mplayer
- button = EXIT
- config = quit
-end
-
-begin
- prog = mplayer
- button = play
- config = speed_set 1.0
-end
-
-begin
- prog = mplayer
- button = pause
- config = pause
-end
-
-begin
- prog = mplayer
- button = STOP
- config = quit
-end
-
-begin
- prog = mplayer
- # skip backward
- button = |<<
- config = seek -600
-end
-
-begin
- prog = mplayer
- # skip forward
- button = >>|
- config = seek +600
-end
-
-begin
- prog = mplayer
- # slow forward
- button = <<
- config = speed_mult 0.5
-end
-
-begin
- prog = mplayer
- # fast forward
- button = >>
- config = speed_mult 2.0
-end
-
-### Xine lirc setup By AnDy!
-
-begin
-prog = xine
-button = PLAY
-repeat = 3
-config = Play
-end
-
-begin
-prog = xine
-button = STOP
-repeat = 3
-config = Stop
-end
-
-begin
-prog = xine
-button = PAUSE
-repeat = 3
-config = Pause
-end
-
-begin
-prog = xine
-button = UP
-repeat = 3
-config = EventUp
-end
-
-begin
-prog = xine
-button = DOWN
-repeat = 3
-config = EventDown
-end
-
-begin
-prog = xine
-button = LEFT
-repeat = 3
-config = EventLeft
-end
-
-begin
-prog = xine
-button = RIGHT
-repeat = 3
-config = EventRight
-end
-
-begin
-prog = xine
-button = OK
-repeat = 3
-config = EventSelect
-end
-
-begin
-prog = xine
-button = EXIT
-repeat = 3
-config = Menu
-end
-
-begin
-prog = xine
-button = >>
-repeat = 3
-#config = SpeedFaster
-config = SeekRelative+60
-end
-
-begin
-prog = xine
-button = <<
-repeat = 3
-#config = SpeedSlower
-config = SeekRelative-60
-end
-
-begin
-prog = xine
-button = VOL_UP
-repeat = 3
-config = Volume+
-end
-
-begin
-prog = xine
-button = VOL_DOWN
-repeat = 3
-config = Volume-
-end
-
-begin
-prog = xine
-button = MUTE
-repeat = 3
-config = Mute
-end
-
-begin
-prog = xine
-button = MENU
-repeat = 3
-config = RootMenu
-end
-
-begin
-prog = xine
-button = >>|
-repeat = 3
-config = EventNext
-end
-
-begin
-prog = xine
-button = |<<
-repeat = 3
-config = EventPrior
-end
-
-begin
-prog = xine
-button = GREEN
-repeat = 3
-config = OSDStreamInfos
-end
-
-begin
-prog = xine
-button = POWER
-repeat = 3
-config = Quit
-end
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/gr8zap/preview.jpg b/abs/mv-core/MythVantage-config/templates/remotes/gr8zap/preview.jpg
deleted file mode 100644
index 4d1a5fe..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/gr8zap/preview.jpg
+++ /dev/null
Binary files differ
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/hauppauge/lircd.conf.hauppauge b/abs/mv-core/MythVantage-config/templates/remotes/hauppauge/lircd.conf.hauppauge
deleted file mode 100644
index 4987807..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/hauppauge/lircd.conf.hauppauge
+++ /dev/null
@@ -1,274 +0,0 @@
-#
-# this config file was automatically generated
-# using lirc-0.5.5pre8 on Sun Apr 18 11:43:45 1999
-#
-# contributed by Jens Leuschner <leuschner@gmx.net>
-#
-# brand: Hauppauge
-# model:
-# supported devices: WinTV primo; WinTV pci; WinTV radio
-#
-# This config file will work with both homebrew receivers and
-# original Hauppauge TV cards !!!
-#
-
-begin remote
-
- name Hauppauge
- bits 13
- flags SHIFT_ENC
- eps 30
- aeps 100
-
- one 950 830
- zero 950 830
- plead 960
- gap 89584
- repeat_bit 2
-
- begin codes
- TV 0x000000000000100F
- RADIO 0x000000000000100C
- FULL_SCREEN 0x000000000000102E
- CH+ 0x0000000000001020
- CH- 0x0000000000001021
- VOL- 0x0000000000001011
- VOL+ 0x0000000000001010
- MUTE 0x000000000000100D
- SOURCE 0x0000000000001022
- 1 0x0000000000001001
- 2 0x0000000000001002
- 3 0x0000000000001003
- 4 0x0000000000001004
- 5 0x0000000000001005
- 6 0x0000000000001006
- 7 0x0000000000001007
- 8 0x0000000000001008
- 9 0x0000000000001009
- 0 0x0000000000001000
- RESERVED 0x000000000000101E
- MINIMIZE 0x0000000000001026
- end codes
-
-end remote
-
-
-#
-# this config file was automatically generated
-# using lirc-0.6.6(animax) on Tue Apr 15 19:50:27 2003
-#
-# contributed by
-#
-# brand: Hauppauge
-# model no. of remote control:
-# devices being controlled by this remote: PVR 2/350
-#
-
-begin remote
-
- name hauppauge_pvr
- bits 13
- flags RC5|CONST_LENGTH
- eps 30
- aeps 100
-
- one 969 811
- zero 969 811
- plead 1097
- gap 114605
- toggle_bit 2
-
-
- begin codes
- Power 0x00000000000017FD
- Go 0x00000000000017FB
- 1 0x00000000000017C1
- 2 0x00000000000017C2
- 3 0x00000000000017C3
- 4 0x00000000000017C4
- 5 0x00000000000017C5
- 6 0x00000000000017C6
- 7 0x00000000000017C7
- 8 0x00000000000017C8
- 9 0x00000000000017C9
- Back/Exit 0x00000000000017DF
- 0 0x00000000000017C0
- Menu 0x00000000000017CD
- Red 0x00000000000017CB
- Green 0x00000000000017EE
- Yellow 0x00000000000017F8
- Blue 0x00000000000017E9
- Ch+ 0x00000000000017E0
- Ch- 0x00000000000017E1
- Vol- 0x00000000000017D1
- Vol+ 0x00000000000017D0
- Ok 0x00000000000017E5
- Mute 0x00000000000017CF
- Blank 0x00000000000017CC
- Full 0x00000000000017FC
- Rewind 0x00000000000017F2
- Play 0x00000000000017F5
- Forward 0x00000000000017F4
- Record 0x00000000000017F7
- Stop 0x00000000000017F6
- Pause 0x00000000000017F0
- Replay 0x00000000000017E4
- Skip 0x00000000000017DE
- end codes
-
-end remote
-
-
-#
-# this config file was automatically generated
-# using lirc-0.7.0(any) on Sun Nov 28 20:25:09 2004
-#
-# contributed by
-#
-# brand: Hauppauge 350
-# Created: G.J. Werler (The Netherlands)
-# Project: Mythtv Fedora Pundit-R www.mythtvportal.com
-# Date: 2004/11/28
-# model no. of remote control: Hauppauge A415-HPG
-# devices being controlled by this remote: PVR-350
-#
-
-begin remote
-
- name Hauppauge_350
- bits 13
- flags RC5|CONST_LENGTH
- eps 30
- aeps 100
-
- one 969 811
- zero 969 811
- plead 1097
- gap 114605
- toggle_bit 2
-
-
- begin codes
- Go 0x00000000000017BB
- Power 0x00000000000017BD
- TV 0x000000000000179C
- Videos 0x0000000000001798
- Music 0x0000000000001799
- Pictures 0x000000000000179A
- Guide 0x000000000000179B
- Radio 0x000000000000178C
- Up 0x0000000000001794
- Left 0x0000000000001796
- Right 0x0000000000001797
- Down 0x0000000000001795
- OK 0x00000000000017A5
- Back/Exit 0x000000000000179F
- Menu/i 0x000000000000178D
- Vol+ 0x0000000000001790
- Vol- 0x0000000000001791
- Prev.Ch 0x0000000000001792
- Mute 0x000000000000178F
- Ch+ 0x00000000000017A0
- Ch- 0x00000000000017A1
- Record 0x00000000000017B7
- Stop 0x00000000000017B6
- Rewind 0x00000000000017B2
- Play 0x00000000000017B5
- Forward 0x00000000000017B4
- Replay/SkipBackward 0x00000000000017A4
- Pause 0x00000000000017B0
- SkipForward 0x000000000000179E
- 1 0x0000000000001781
- 2 0x0000000000001782
- 3 0x0000000000001783
- 4 0x0000000000001784
- 5 0x0000000000001785
- 6 0x0000000000001786
- 7 0x0000000000001787
- 8 0x0000000000001788
- 9 0x0000000000001789
- Asterix 0x000000000000178A
- 0 0x0000000000001780
- # 0x000000000000178E
- Red 0x000000000000178B
- Green 0x00000000000017AE
- Yellow 0x00000000000017B8
- Blue 0x00000000000017A9
- end codes
-
-end remote
-#
-# this config file was automatically generated
-# using lirc-0.7.0pre4(serial) on Sun Oct 2 00:24:32 2005
-#
-# contributed by anton|ganthaler.at and juergen.wilhelm|aon.at
-# members of linux user group Vorarlberg www.lugv.at
-#
-# for ir remote controler from Hauppauge WinTV Nexus-S
-# most of the keys are supported
-#
-# brand: Hauppauge
-# model no. of remote control: WinTV Nexus-S
-# devices being controlled by this remote:
-#
-
-begin remote
-
- name Hauppauge_WinTV_Nexus-S
- bits 13
- flags RC5|CONST_LENGTH
- eps 30
- aeps 100
-
- one 944 828
- zero 944 828
- plead 980
- gap 113932
- min_repeat 1
- toggle_bit 2
-
-
- begin codes
- Up 0x0000000000001794
- Down 0x0000000000001795
- Left 0x0000000000001796
- Right 0x0000000000001797
- Power 0x00000000000017BD
- Ok 0x00000000000017A5
- Menu 0x000000000000178D
- Back 0x000000000000179F
- Red 0x000000000000178B
- Green 0x00000000000017AE
- Yellow 0x00000000000017B8
- Blue 0x00000000000017A9
- 0 0x0000000000001780
- 1 0x0000000000001781
- 2 0x0000000000001782
- 3 0x0000000000001783
- 4 0x0000000000001784
- 5 0x0000000000001785
- 6 0x0000000000001786
- 7 0x0000000000001787
- 8 0x0000000000001788
- 9 0x0000000000001789
- Play 0x00000000000017B5
- Pause 0x00000000000017B0
- Stop 0x00000000000017B6
- Record 0x00000000000017B7
- FastFwd 0x00000000000017B4
- FastRwd 0x00000000000017B2
- Channel+ 0x00000000000017A0
- Channel- 0x00000000000017A1
- Volume+ 0x0000000000001790
- Volume- 0x0000000000001791
- Mute 0x000000000000178F
- Timers 0x000000000000178A
- Recordings 0x000000000000178E
- Back 0x000000000000179F
- Record 0x00000000000017B7
- Pause 0x00000000000017B0
- end codes
-
-end remote
-
-
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/hauppauge/lircmd.conf.hauppauge b/abs/mv-core/MythVantage-config/templates/remotes/hauppauge/lircmd.conf.hauppauge
deleted file mode 100644
index d0f36e8..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/hauppauge/lircmd.conf.hauppauge
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# lircmd config file
-#
-
-PROTOCOL IntelliMouse
-
-# ACCELERATOR start max multiplier
-
-ACCELERATOR 2 30 5
-
-ACTIVATE * RESERVED
-
-MOVE_N * 2
-MOVE_NE * 3
-MOVE_E * 6
-MOVE_SE * 9
-MOVE_S * 8
-MOVE_SW * 7
-MOVE_W * 4
-MOVE_NW * 1
-MOVE_IN * CH+
-MOVE_OUT * CH-
-
-BUTTON1_TOGGLE * 5
-BUTTON1_TOGGLE * RADIO
-BUTTON2_TOGGLE * VOL+
-BUTTON3_TOGGLE * SOURCE
-
-BUTTON1_CLICK * TV
-BUTTON1_CLICK * VOL-
-BUTTON3_CLICK * MUTE
-
-# BUTTONx_CLICK, BUTTONx_UP, BUTTONx_DOWN are also possible
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/hauppauge/preview.jpg b/abs/mv-core/MythVantage-config/templates/remotes/hauppauge/preview.jpg
deleted file mode 100644
index a40a1e8..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/hauppauge/preview.jpg
+++ /dev/null
Binary files differ
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/i2c.id b/abs/mv-core/MythVantage-config/templates/remotes/i2c.id
deleted file mode 100644
index 50e89e9..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/i2c.id
+++ /dev/null
@@ -1,5 +0,0 @@
-0070:4000|Hauppauge|WinTV PVR 250|hauppauge-grey
-0070:4009|Hauppauge|WinTV PVR 250|hauppauge-grey
-0070:4801|Hauppauge|WinTV PVR 250|hauppauge-grey
-0070:4803|Hauppauge|WinTV PVR 250|hauppauge-grey
-0070:0003|Hauppauge|WinTV PVR 250|hauppauge-grey \ No newline at end of file
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/imon-pad/lircd.conf b/abs/mv-core/MythVantage-config/templates/remotes/imon-pad/lircd.conf
deleted file mode 100644
index 97bbf4c..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/imon-pad/lircd.conf
+++ /dev/null
@@ -1,88 +0,0 @@
-# Please make this file available to others
-# by sending it to <lirc@bartelmus.de>
-#
-# this config file was automatically generated
-# using lirc-0.8.0(imon_pad) on Mon Jan 23 20:22:11 2006
-#
-# contributed by M.Brakemeier
-#
-# brand: SoundGraph
-# model no. of remote control: iMON-PAD
-# devices being controlled by this remote:
-#
-
-begin remote
-
- name iMON-PAD
- bits 32
- eps 30
- aeps 100
-
- one 0 0
- zero 0 0
- gap 235965
- min_repeat 1
- toggle_bit 0
-
- begin codes
- AppExit 0x288195B7
- Power 0x289115B7
- Record 0x298115B7
- Play 0x2A8115B7
- Open 0x29B1d5B7
- Rewind 0x2A8195B7
- Pause 0x2A9115B7
- FastForward 0x2B8115B7
- PrevChapter 0x2B9115B7
- Stop 0x2B9715B7
- NextChapter 0x298195B7
- Esc 0x2BB715B7
- Eject 0x299395B7
- AppLauncher 0x29B715B7
- MultiMon 0x2AB195B7
- TaskSwitcher 0x2A9395B7
- Mute 0x2B9595B7
- Vol+ 0x28A395B7
- Vol- 0x28A595B7
- Ch+ 0x289395B7
- Ch- 0x288795B7
- Timer 0x2B8395B7
- 1 0x28B595B7
- 2 0x2BB195B7
- 3 0x28B195B7
- 4 0x2A8595B7
- 5 0x299595B7
- 6 0x2AA595B7
- 7 0x2B9395B7
- 8 0x2A8515B7
- 9 0x2AA115B7
- 0 0x2BA595B7
- ShiftTab 0x28B515B7
- Tab 0x29A115B7
- Red 0x2B8515B7 # MyMovie
- Green 0x299195B7 # MyMusic
- Blue 0x2BA115B7 # MyPhoto
- Yellow 0x28A515B7 # MyTV
- Bookmark 0x288515B7
- Thumbnail 0x2AB715B7
- AspectRatio 0x29A595B7
- FullScreen 0x2AA395B7
- Purple 0x29A295B7 # MyDVD
- Menu 0x2BA385B7
- Caption 0x298595B7
- Language 0x2B8595B7
- MouseKeyboard 0x299115B7
- SelectSpace 0x2A9315B7
- MouseMenu 0x28B715B7
- MouseRightClick 0x688481B7
- Enter 0x28A195B7
- MouseLeftClick 0x688301B7
- WindowsKey 0x2B8195B7
- Backspace 0x28A115B7
- Mouse_N 0x690281B7
- Mouse_S 0x688291B7
- Mouse_W 0x6A8281B7
- Mouse_E 0x688A81B7
- end codes
-
-end remote
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/imon-pad/lircrc b/abs/mv-core/MythVantage-config/templates/remotes/imon-pad/lircrc
deleted file mode 100644
index 3ad34d8..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/imon-pad/lircrc
+++ /dev/null
@@ -1,240 +0,0 @@
-###################################
-# lircrc config as used by Stev391 June 2007
-# Not all of the buttons are configured yet, only the commonly used buttons
-###################################
-
-# Escape
-begin
- prog = mythtv
- button = AppExit
- config = Esc
- repeat = 3
-end
-
-# Escape Key 2
-begin
- prog = mythtv
- button = Esc
- config = Esc
-end
-
-# Channel Up
-begin
- prog = mythtv
- button = Ch+
- config = Up
- repeat = 3
-end
-
-# Channel Down
-begin
- prog = mythtv
- button = Ch-
- config = Down
- repeat = 3
-end
-
-# Volume Up
-begin
- prog = mythtv
- button = Vol+
- repeat = 3
- config = Right
-end
-
-# Volume Down
-begin
- prog = mythtv
- button = Vol-
- repeat = 3
- config = Left
-end
-
-# Enter/Return
-begin
- prog = mythtv
- button = Enter
- config = Return
-end
-
-# Menu Button
-begin
- prog = mythtv
- button = Menu
- config = M
-end
-
-# Mute
-begin
- prog = mythtv
- button = Mute
- config = F9
-end
-
-# Rewind
-begin
- prog = mythtv
- button = Rewind
- config = PgUp
-end
-
-# Fast Forward
-begin
- prog = mythtv
- button = FastForward
- config = PgDown
-end
-
-# Play
-begin
- prog = mythtv
- button = Play
- config = P
-end
-
-# Pause
-begin
- prog = mythtv
- button = Pause
- config = P
-end
-
-# Record
-begin
- prog = mythtv
- button = Record
- config = R
-end
-
-# Stop
-begin
- prog = mythtv
- button = Stop
- config = O
-end
-
-# Previous Track/Chapter
-begin
- prog = mythtv
- button = PrevChapter
- config = Home
-end
-
-# Next Track/Chapter
-begin
- prog = mythtv
- button = NextChapter
- config = End
-end
-
-# Jump Point to MythVideo
-begin
- prog = mythtv
- button = MyMovie
- config = F12
-end
-
-# Jump Point to MythMusic
-begin
- prog = mythtv
- button = MyMusic
- config = F11
-end
-
-# Jump Point to LiveTV
-begin
- prog = mythtv
- button = MyTV
- config = F10
-end
-
-# Jump Point to Main Menu
-begin
- prog = mythtv
- button = Multimon
- config = F2
-end
-
-# Jump Point to Myth Gallery
-begin
- prog = mythtv
- button = MyPhoto
- config = F3
-end
-
-# Jump Point to Play DVD
-begin
- prog = mythtv
- button = MyDVD
- config = F4
-end
-
-# Display Information
-begin
- prog = mythtv
- button = Caption
- config = I
-end
-
-##############################
-# Numbers
-##############################
-begin
- prog = mythtv
- button = 0
- config = 0
-end
-
-begin
- prog = mythtv
- button = 1
- config = 1
-end
-
-begin
- prog = mythtv
- button = 2
- config = 2
-end
-
-begin
- prog = mythtv
- button = 3
- config = 3
-end
-
-begin
- prog = mythtv
- button = 4
- config = 4
-end
-
-begin
- prog = mythtv
- button = 5
- config = 5
-end
-
-begin
- prog = mythtv
- button = 6
- config = 6
-end
-
-begin
- prog = mythtv
- button = 7
- config = 7
-end
-
-begin
- prog = mythtv
- button = 8
- config = 8
-end
-
-begin
- prog = mythtv
- button = 9
- config = 9
-end
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/imon-pad/preview.jpg b/abs/mv-core/MythVantage-config/templates/remotes/imon-pad/preview.jpg
deleted file mode 100644
index 47368c5..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/imon-pad/preview.jpg
+++ /dev/null
Binary files differ
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/mceusb/lircd-mceusb.conf b/abs/mv-core/MythVantage-config/templates/remotes/mceusb/lircd-mceusb.conf
deleted file mode 100644
index ec3b73e..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/mceusb/lircd-mceusb.conf
+++ /dev/null
@@ -1,88 +0,0 @@
-#
-# RC-6 config file
-#
-# source: http://home.hccnet.nl/m.majoor/projects__remote_control.htm
-# http://home.hccnet.nl/m.majoor/pronto.pdf
-#
-# used by: Philips
-#
-#########
-#
-# Philips Media Center Edition remote control
-# For use with the USB MCE ir receiver
-#
-# Dan Conti dconti|acm.wwu.edu
-#
-# Radio, Print, RecTV are only available on the HP Media Center remote control
-#
-
-begin remote
-
- name mceusb
- bits 16
- flags RC6|CONST_LENGTH
- eps 30
- aeps 100
-
- header 2667 889
- one 444 444
- zero 444 444
- pre_data_bits 21
- pre_data 0x37FF0
- gap 105000
- toggle_bit 22
- rc6_mask 0x100000000
-
-
- begin codes
-
-# starts at af
- Radio 0x00007baf
- Print 0x00007bb1
- Videos 0x00007bb5
- Pictures 0x00007bb6
- RecTV 0x00007bb7
- Music 0x00007bb8
- TV 0x00007bb9
-# no ba - d8
- Guide 0x00007bd9
- LiveTV 0x00007bda
- DVD 0x00007bdb
- Back 0x00007bdc
- OK 0x00007bdd
- Right 0x00007bde
- Left 0x00007bdf
- Down 0x00007be0
- Up 0x00007be1
-# no e2,e3
- Replay 0x00007be4
- Skip 0x00007be5
- Stop 0x00007be6
- Pause 0x00007be7
- Record 0x00007be8
- Play 0x00007be9
- Rewind 0x00007bea
- Forward 0x00007beb
- ChanDown 0x00007bec
- ChanUp 0x00007bed
- VolDown 0x00007bee
- VolUp 0x00007bef
- More 0x00007bf0
- Mute 0x00007bf1
- Home 0x00007bf2
- Power 0x00007bf3
- Enter 0x00007bf4
- Clear 0x00007bf5
- Nine 0x00007bf6
- Eight 0x00007bf7
- Seven 0x00007bf8
- Six 0x00007bf9
- Five 0x00007bfa
- Four 0x00007bfb
- Three 0x00007bfc
- Two 0x00007bfd
- One 0x00007bfe
- Zero 0x00007bff
- end codes
-
-end remote
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/mceusb/lircrc-mceusb b/abs/mv-core/MythVantage-config/templates/remotes/mceusb/lircrc-mceusb
deleted file mode 100644
index 3738bfa..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/mceusb/lircrc-mceusb
+++ /dev/null
@@ -1,393 +0,0 @@
-# lircrc.mceusb
-
-###################
-#
-# MythTV
-#
-###################
-begin
- prog = mythtv
- button = One
- config = 1
-end
-
-begin
- prog = mythtv
- button = Two
- config = 2
-end
-
-begin
- prog = mythtv
- button = Three
- config = 3
-end
-
-begin
- prog = mythtv
- button = Four
- config = 4
-end
-
-begin
- prog = mythtv
- button = Five
- config = 5
-end
-
-begin
- prog = mythtv
- button = Six
- config = 6
-end
-
-begin
- prog = mythtv
- button = Seven
- config = 7
-end
-
-begin
- prog = mythtv
- button = Eight
- config = 8
-end
-
-begin
- prog = mythtv
- button = Nine
- config = 9
-end
-
-begin
- prog = mythtv
- button = Zero
- config = 0
-end
-
-begin
- prog = mythtv
- button = Back
- config = Esc
-end
-
-begin
- prog = mythtv
- button = Guide
- config = M
-end
-
-begin
- prog = mythtv
- button = More
- config = I
-end
-
-begin
- prog = mythtv
- button = VolDown
- config = F10
-end
-
-begin
- prog = mythtv
- button = VolUp
- config = F11
-end
-
-begin
- prog = mythtv
- button = Up
- config = Up
-end
-
-begin
- prog = mythtv
- button = Down
- config = Down
-end
-
-begin
- prog = mythtv
- button = Left
- config = Left
-end
-
-begin
- prog = mythtv
- button = Right
- config = Right
-end
-
-begin
- prog = mythtv
- button = Play
- config = Return
-end
-
-begin
- prog = mythtv
- button = OK
- config = Return
-end
-
-begin
- prog = mythtv
- button = Mute
- config = |
-end
-
-begin
- prog = mythtv
- button = Rewind
- config = Left
-end
-
-begin
- prog = mythtv
- button = Forward
- config = Right
-end
-
-begin
- prog = mythtv
- button = Record
- config = R
-end
-
-begin
- prog = mythtv
- button = Stop
- config = O
-end
-
-begin
- prog = mythtv
- button = Pause
- config = P
-end
-
-# Use for backwards commercial skip
-begin
- prog = mythtv
- button = Replay
- config = Q
-end
-
-# Use for forward commercial skip
-begin
- prog = mythtv
- button = Skip
- config = Z
-end
-
-
-###################
-#
-# MPlayer
-#
-###################
-begin
- prog = mplayer
- button = Stop
- config = quit
-end
-
-begin
- prog = mplayer
- button = Play
- config = seek +1
-end
-
-begin
- prog = mplayer
- button = More
- config = osd
-end
-
-begin
- prog = mplayer
- button = Replay
- config = seek -10
- repeat = 1
-end
-
-begin
- prog = mplayer
- button = Skip
- config = seek +10
- repeat = 1
-end
-
-begin
- prog = mplayer
- button = Rewind
- config = seek -30
- repeat = 1
-end
-
-begin
- prog = mplayer
- button = Forward
- config = seek +30
- repeat = 1
-end
-
-begin
- prog = mplayer
- button = Pause
- config = pause
-end
-
-begin
- prog = mplayer
- button = VolUp
- config = volume +1
- repeat = 1
-end
-
-begin
- prog = mplayer
- button = VolDown
- config = volume -1
- repeat = 1
-end
-
-begin
- prog = mplayer
- button = Mute
- config = mute
-end
-
-###################
-#
-# Xine
-#
-###################
-# Xine lirc setup
-begin
-prog = xine
-button = Play
-repeat = 3
-config = Play
-end
-
-begin
-prog = xine
-button = Stop
-repeat = 3
-config = Stop
-end
-
-begin
-prog = xine
-button = Back
-repeat = 3
-config = Quit
-end
-
-begin
-prog = xine
-button = Pause
-repeat = 3
-config = Pause
-end
-
-begin
-prog = xine
-button = Up
-repeat = 3
-config = EventUp
-end
-
-begin
-prog = xine
-button = Down
-repeat = 3
-config = EventDown
-end
-
-begin
-prog = xine
-button = Left
-repeat = 3
-config = EventLeft
-end
-
-begin
-prog = xine
-button = Right
-repeat = 3
-config = EventRight
-end
-
-begin
-prog = xine
-button = OK
-repeat = 3
-config = EventSelect
-end
-
-begin
-prog = xine
-button = Home
-repeat = 3
-config = Menu
-end
-
-begin
-prog = xine
-button = Forward
-repeat = 3
-config = SpeedFaster
-end
-
-begin
-prog = xine
-button = Rewind
-repeat = 3
-config = SpeedSlower
-end
-
-begin
-prog = xine
-button = VolUp
-repeat = 3
-config = Volume+
-end
-
-begin
-prog = xine
-button = VolDown
-repeat = 3
-config = Volume-
-end
-
-begin
-prog = xine
-button = Mute
-repeat = 3
-config = Mute
-end
-
-begin
-prog = xine
-button = ChanUp
-repeat = 3
-config = EventNext
-end
-
-begin
-prog = xine
-button = ChanDown
-repeat = 3
-config = EventPrior
-end
-
-begin
-prog = xine
-button = More
-repeat = 3
-config = OSDStreamInfos
-end
-
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/mceusb/preview.jpg b/abs/mv-core/MythVantage-config/templates/remotes/mceusb/preview.jpg
deleted file mode 100644
index 0aa6a4a..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/mceusb/preview.jpg
+++ /dev/null
Binary files differ
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/no_remote/preview.jpg b/abs/mv-core/MythVantage-config/templates/remotes/no_remote/preview.jpg
deleted file mode 100644
index 1d887dd..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/no_remote/preview.jpg
+++ /dev/null
Binary files differ
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/one-for-juski/lircd.conf.juski b/abs/mv-core/MythVantage-config/templates/remotes/one-for-juski/lircd.conf.juski
deleted file mode 100644
index 879f9ac..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/one-for-juski/lircd.conf.juski
+++ /dev/null
@@ -1,59 +0,0 @@
-
-begin remote
-
- name juski
- bits 13
- flags RC5|CONST_LENGTH
- eps 30
- aeps 100
-
- one 912 852
- zero 912 852
- plead 936
- gap 113882
- toggle_bit 2
-
-
- begin codes
- menu 0x0000000000001013
- 1 0x0000000000001001
- 2 0x0000000000001002
- 3 0x0000000000001003
- 4 0x0000000000001004
- 5 0x0000000000001005
- 6 0x0000000000001006
- 7 0x0000000000001007
- 8 0x0000000000001008
- 9 0x0000000000001009
- 10 0x000000000000101C
- 0 0x0000000000001000
- av 0x0000000000001014
- left 0x0000000000001017
- up 0x0000000000001015
- right 0x0000000000001018
- down 0x0000000000001016
- vol- 0x000000000000100B
- ch+ 0x000000000000100D
- vol+ 0x000000000000100A
- ok 0x0000000000001010
- ch- 0x000000000000100E
- rew 0x0000000000001021
- play 0x000000000000101F
- pause 0x0000000000001020
- ffw 0x0000000000001022
- red 0x0000000000001025
- green 0x0000000000001023
- yellow 0x0000000000001011
- blue 0x0000000000001010
- a 0x000000000000102F
- b 0x0000000000001030
- c 0x0000000000001031
- d 0x0000000000001032
- e 0x0000000000001033
- f 0x0000000000001034
- g 0x0000000000001035
- h 0x0000000000001036
- end codes
-
-end remote
-
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/one-for-juski/lircrc b/abs/mv-core/MythVantage-config/templates/remotes/one-for-juski/lircrc
deleted file mode 100644
index 584cfec..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/one-for-juski/lircrc
+++ /dev/null
@@ -1,394 +0,0 @@
-# ~/.mythtv/lircrc
-#
-# Mythtv LIRC config file for 'OFA' remote control
-#
-# By Justin Hornsby, 02 July 2005
-#
-#
-
-# Menu (m key)
-begin
-prog = mythtv
-button = red
-repeat = 3
-config = m
-end
-
-# Volume Up
-begin
-prog = mythtv
-button = vol+
-repeat = 3
-config = ]
-end
-
-# Volume Down
-begin
-prog = mythtv
-button = vol-
-repeat = 3
-config = [
-end
-
-# Arrow Up
-begin
-prog = mythtv
-button = up
-repeat = 3
-config = Up
-end
-
-# Arrow down
-begin
-prog = mythtv
-button = down
-repeat = 3
-config = Down
-end
-
-# Arrow left
-begin
-prog = mythtv
-button = left
-repeat = 3
-config = Left
-end
-
-# Arrow right
-begin
-prog = mythtv
-button = right
-repeat = 3
-config = Right
-end
-
-# OK / Select
-begin
-prog = mythtv
-button = ok
-repeat = 3
-config = Space
-end
-
-# Info
-begin
-prog = mythtv
-button = 10
-repeat = 3
-config = i
-end
-
-begin
-prog = mythtv
-button = blue
-repeat = 3
-config = Space
-end
-
-# Play
-begin
-prog = mythtv
-button = play
-repeat = 3
-config = Return
-end
-
-# Stop
-begin
-prog = mythtv
-button = green
-repeat = 3
-config = Esc
-end
-
-# ESC/Exit/Back
-begin
-prog = mythtv
-button = av
-repeat = 3
-
-config = Esc
-end
-
-# Pause
-begin
-prog = mythtv
-button = pause
-repeat = 3
-config = P
-end
-
-# Fast Forward
-begin
-prog = mythtv
-button = ffw
-repeat = 3
-config = Right
-end
-
-# Rewind
-begin
-prog = mythtv
-button = rew
-repeat = 3
-config = Left
-end
-
-# Skip forward (10 min default)
-begin
-prog = mythtv
-button = a
-repeat = 3
-config = PgDown
-end
-
-# Skip backward (10 min default)
-begin
-prog = mythtv
-button = b
-repeat = 3
-config = PgUP
-end
-
-# OSD browse
-begin
-prog = mythtv
-button = 10
-repeat = 3
-config = O
-end
-
-# Display EPG while in live TV,
-# View selected show while in EPG
-begin
-prog = mythtv
-button = blue
-repeat = 3
-config = M
-end
-
-# Change display aspect ratio
-begin
-prog = mythtv
-button = 0
-repeat = 3
-config = W
-end
-
-# Numbers 0-9
-
-begin
-prog = mythtv
-button = 0
-repeat = 3
-config = 0
-end
-
-begin
-prog = mythtv
-button = 1
-repeat = 3
-config = 1
-end
-
-begin
-prog = mythtv
-button = 2
-repeat = 3
-config = 2
-end
-
-begin
-prog = mythtv
-button = 3
-repeat = 3
-config = 3
-end
-
-begin
-prog = mythtv
-button = 4
-repeat = 3
-config = 4
-end
-
-begin
-prog = mythtv
-button = 5
-repeat = 3
-config = 5
-end
-
-begin
-prog = mythtv
-button = 6
-repeat = 3
-config = 6
-end
-
-begin
-prog = mythtv
-button = 7
-repeat = 3
-config = 7
-end
-
-begin
-prog = mythtv
-button = 8
-repeat = 3
-config = 8
-end
-
-begin
-prog = mythtv
-button = 9
-repeat = 3
-config = 9
-end
-
-### Xine lirc setup
-
-begin
-prog = xine
-button = play
-repeat = 3
-config = Play
-end
-
-begin
-prog = xine
-button = blue
-repeat = 3
-config = ToggleAspectRatio
-end
-
-begin
-prog = xine
-button = green
-repeat = 3
-config = Stop
-end
-
-
-begin
-prog = xine
-button = av
-repeat = 3
-config = Quit
-end
-
-begin
-prog = xine
-button = pause
-repeat = 3
-config = Pause
-end
-
-begin
-prog = xine
-button = up
-repeat = 3
-config = EventUp
-end
-
-begin
-prog = xine
-button = down
-repeat = 3
-config = EventDown
-end
-
-
-begin
-prog = xine
-button = left
-repeat = 3
-config = EventLeft
-end
-
-begin
-prog = xine
-button = right
-repeat = 3
-config = EventRight
-end
-
-begin
-prog = xine
-button = ok
-repeat = 3
-config = EventSelect
-end
-
-begin
-prog = xine
-button = red
-repeat = 3
-config = Menu
-end
-
-begin
-prog = xine
-button = ffw
-repeat = 3
-config = SeekRelative+60
-end
-
-begin
-prog = xine
-button = rew
-repeat = 3
-config = SeekRelative-60
-end
-
-begin
-prog = xine
-button = vol+
-repeat = 3
-config = Volume+
-end
-
-begin
-prog = xine
-button = vol-
-repeat = 3
-config = Volume-
-end
-
-#begin
-#prog = xine
-#button = MUTE
-#repeat = 3
-#config = Mute
-#end
-
-begin
-prog = xine
-button = blue
-repeat = 3
-config = RootMenu
-end
-
-begin
-prog = xine
-button = a
-repeat = 3
-config = EventNext
-end
-
-begin
-prog = xine
-button = b
-repeat = 3
-config = EventPrior
-end
-
-begin
-prog = xine
-button = 10
-repeat = 3
-#config = OSDStreamInfos
-config = ToggleInterleave
-end
-
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/one-for-juski/preview.jpg b/abs/mv-core/MythVantage-config/templates/remotes/one-for-juski/preview.jpg
deleted file mode 100644
index 6d683c7..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/one-for-juski/preview.jpg
+++ /dev/null
Binary files differ
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/receiver_usb.id b/abs/mv-core/MythVantage-config/templates/remotes/receiver_usb.id
deleted file mode 100644
index 4070964..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/receiver_usb.id
+++ /dev/null
@@ -1,33 +0,0 @@
-0bc7:0005|snapstream_firefly| "X10 Wireless Technology, Inc."
-0bc7:0008|SnapStream_Firefly| "SnapStream Firefly"
-10c4:0003|CommandIR_Tranceiver| " CommandIR Transceiver"
-0bc7:0004|ATI_Remote_Wonder| " ATI Remote Wonder"
-0e9c:0000|streamzap| "Streamzap Remote"
-0fe9:9010|dvico| "DVICO Remote:"
-6253:0100|Twinhan_USB| "the VisionPlus is a Twinhan clone "
-1509:9242|MCEUSB-new| "FIC eHome Infrared Transceiver 1509/9242"
-1934:0602|MCEUSB-new| "Fintek eHome Infrared Transceiver 1934/0602"
-147a:e015|MCEUSB-new| "Formosa eHome Infrared Transceiver 147a/e015"
-147a:e017|MCEUSB-new| "Formosa aim / Trust MCE Infrared Receiver147a/e017"
-147a:e018|MCEUSB-new| "Formosa Industrial Computing 147a/e018"
-107b:3009|MCEUSB-new| "Gateway eHome Infrared Transceiver 107b/3009"
-195d:7002|MCEUSB-new| "Itron ione Libra Q-11 195d/7002"
-043e:9803|MCEUSB-new| "LG eHome Infrared Transceiver 043e/9803"
-045e:00a0|MCEUSB-new| "Microsoft MCE Infrared Transceiver 045e/00a0"
-03ee:2501|MCEUSB-new| "Mitsumi 03ee/2501"
-0471:060c|MCEUSB-new| "Philips Infrared Transciever - HP branded 0471/060C"
-0471:060d|MCEUSB-new| "Philips SRM5100 0471/060d"
-0471:0815|MCEUSB-new| "Philips eHome Infrared Transciever 0471/0815"
-2304:0225|MCEUSB-new| "Pinnacle Systems, Inc. 2304/0225"
-179d:0010|MCEUSB-new| "Ricavision internal Infrared Transceiver 179d/0010"
-1308:c001|MCEUSB-new| "Shuttle eHome Infrared Transceiver 1308/c001"
-051c:c001|MCEUSB-new| "Shuttle2 eHome Infrared Transceiver 051c/c001"
-0609:031d|MCEUSB-new| "SMK/Toshiba G83C0004D410 0609/031d"
-0609:0322|MCEUSB-new| "SMK eHome Infrared Transceiver (Sony VAIO)0609/0322"
-0609:0334|MCEUSB-new| "SKM bundled with Hauppauge PVR-150 0609/0334"
-1460:9150|MCEUSB-new| "Tatung eHome Infrared Transceiver 1460/9150"
-1784:0001|MCEUSB-new| "Topseed eHome Infrared Transceiver 1784/0001"
-1784:0006|MCEUSB-new| "Topseed HP eHome Infrared Transceiver 1784/0006"
-1784:0007|MCEUSB-new| "Topseed HP eHome Infrared Transceiver 1784/0007"
-1784:0008|MCEUSB-new| "Topseed eHome Infrared Transceiver 1784/0008"
-045e:006d|MCEUSB-old| "USB Microsoft IR Transceiver Driver 045e/006d"
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/snapstream_firefly/lircd.snapstrm.conf b/abs/mv-core/MythVantage-config/templates/remotes/snapstream_firefly/lircd.snapstrm.conf
deleted file mode 100644
index 288bb51..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/snapstream_firefly/lircd.snapstrm.conf
+++ /dev/null
@@ -1,127 +0,0 @@
-# Please make this file available to others
-# by sending it to <lirc@bartelmus.de>
-#
-# this config file was automatically generated
-# using lirc-0.7.0(any) on Fri Mar 11 08:51:45 2005
-#
-# contributed by
-#
-# brand: Snapstream Firefly Remote
-# model no. of remote control:
-# devices being controlled by this remote:
-#
-
-begin remote
-
-name Snapstream_Firefly
-bits 40
-eps 30
-aeps 100
-
-one 0 0
-zero 0 0
-gap 219964
-toggle_bit 0
-
-
-begin codes
-MAXI 0x0000001481AC0000
-MAXI 0x00000014012C0000
-CLOSE 0x00000014D7020000
-CLOSE 0x0000001457820000
-1 0x00000014628D0000
-1 0x00000014E20D0000
-2 0x00000014E30E0000
-2 0x00000014638E0000
-3 0x00000014648F0000
-3 0x00000014E40F0000
-4 0x00000014E5100000
-4 0x0000001465900000
-5 0x0000001466910000
-5 0x00000014E6110000
-6 0x00000014E7120000
-6 0x0000001467920000
-7 0x0000001468930000
-7 0x00000014E8130000
-8 0x00000014E9140000
-8 0x0000001469940000
-9 0x000000146A950000
-9 0x00000014EA150000
-0 0x00000014EC170000
-0 0x000000146C970000
-BACK 0x000000146B960000
-BACK 0x00000014EB160000
-ENT 0x00000014ED180000
-ENT 0x000000146D980000
-VOL+ 0x000000145E890000
-VOL+ 0x00000014DE090000
-VOL- 0x000000145D880000
-VOL- 0x00000014DD080000
-MUTE 0x000000145F8A0000
-MUTE 0x00000014DF0A0000
-FIREFLY 0x0000001455800000
-FIREFLY 0x00000014D5000000
-CH+ 0x00000014608B0000
-CH+ 0x00000014E00B0000
-CH- 0x00000014618C0000
-CH- 0x00000014E10C0000
-INFO 0x0000001483AE0000
-INFO 0x00000014032E0000
-OPTION 0x0000001484AF0000
-OPTION 0x00000014042F0000
-UP 0x000000146F9A0000
-UP 0x00000014EF1A0000
-LEFT 0x00000014729D0000
-LEFT 0x00000014F21D0000
-DOWN 0x0000001477A20000
-DOWN 0x00000014F7220000
-RIGHT 0x00000014749F0000
-RIGHT 0x00000014F41F0000
-OK 0x00000014739E0000
-OK 0x00000014F31E0000
-MENU 0x00000014719C0000
-MENU 0x00000014F11C0000
-EXIT 0x0000001475A00000
-EXIT 0x00000014F5200000
-REC 0x00000014FC270000
-REC 0x000000147CA70000
-PLAY 0x00000014FA250000
-PLAY 0x000000147AA50000
-STOP 0x00000014FD280000
-STOP 0x000000147DA80000
-REW 0x00000014F9240000
-REW 0x0000001479A40000
-FWD 0x00000014FB260000
-FWD 0x000000147BA60000
-PREV 0x00000014002B0000
-PREV 0x0000001480AB0000
-PAUSE 0x00000014FE290000
-PAUSE 0x000000147EA90000
-NEXT 0x00000014FF2A0000
-NEXT 0x000000147FAA0000
-MUSIC 0x00000014DB060000
-MUSIC 0x000000145B860000
-PHOTOS 0x00000014DA050000
-PHOTOS 0x000000145A850000
-DVD 0x00000014D9040000
-DVD 0x0000001459840000
-TV 0x00000014D8030000
-TV 0x0000001458830000
-VIDEO 0x00000014DC070000
-VIDEO 0x000000145C870000
-HELP 0x00000014D6010000
-HELP 0x0000001456810000
-MOUSE 0x00000014022D0000
-MOUSE 0x0000001482AD0000
-A 0x00000014EE190000
-A 0x000000146E990000
-B 0x00000014F01B0000
-B 0x00000014709B0000
-C 0x00000014F6210000
-C 0x0000001476A10000
-D 0x00000014F8230000
-D 0x0000001478A30000
-
-end codes
-
-end remote \ No newline at end of file
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/snapstream_firefly/lircrc-snapstrm.txt b/abs/mv-core/MythVantage-config/templates/remotes/snapstream_firefly/lircrc-snapstrm.txt
deleted file mode 100644
index e918011..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/snapstream_firefly/lircrc-snapstrm.txt
+++ /dev/null
@@ -1,590 +0,0 @@
-# ~/.mythtv/lircrc
-#
-# MythTV native LIRC config file for
-# the new grey Hauppauge remote
-#
-# Modified from Jarod Wilson's which came from Jeff Campbell's
-# By Brad Templeton
-
-
-# Here we have the jump point commands. They only work if you have
-# defined function keys for these jump points. For me the most
-# common command is the menu of recordings, so I put that on "videos"
-# even though that's counter-intuitive
-
-begin
-prog = mythtv
-button = TV
-repeat = 3
-config = F5
-end
-
-begin
-prog = mythtv
-button = Videos
-repeat = 3
-config = F2
-end
-
-# Not yet defined
-begin
-prog = mythtv
-button = Music
-repeat = 3
-config = Up
-end
-
-# Given another function for now, I don't use mythgallery
-begin
-prog = mythtv
-button = Pictures
-repeat = 3
-config = F
-end
-
-begin
-prog = mythtv
-button = Guide
-repeat = 3
-config = F3
-end
-
-# I stuck the "todo" list on here as Myth has no radio function
-begin
-prog = mythtv
-button = Radio
-repeat = 3
-config = F4
-end
-
-begin
-prog = mythtv
-button = UP
-repeat = 3
-config = Up
-end
-
-begin
-prog = mythtv
-button = DOWN
-repeat = 3
-config = Down
-end
-
-begin
-prog = mythtv
-button = LEFT
-repeat = 3
-config = Left
-end
-
-begin
-prog = mythtv
-button = RIGHT
-repeat = 3
-config = Right
-end
-
-# Channel Up
-begin
-prog = mythtv
-button = Channel-UP
-repeat = 3
-config = Up
-end
-
-# Channel Down
-begin
-prog = mythtv
-button = Channel-DOWN
-repeat = 3
-config = Down
-end
-
-# OK/Select
-begin
-prog = mythtv
-button = Ok
-config = Space
-end
-
-# Play
-begin
-prog = mythtv
-button = Play
-config = Return
-end
-
-# Stop
-begin
-prog = mythtv
-button = Stop
-config = I
-end
-
-# Escape/Exit/Back
-begin
-prog = mythtv
-button = BACK
-config = Esc
-end
-
-# Power Off/Exit
-begin
-prog = mythtv
-button = POWER
-config = Esc
-end
-
-
-# Pause
-begin
-prog = mythtv
-button = Pause
-repeat = 3
-config = P
-end
-
-# Mute
-begin
-prog = mythtv
-button = Mute
-repeat = 3
-config = |
-end
-
-# Fast forward (30 sec default)
-begin
-prog = mythtv
-button = Rewind
-repeat = 3
-config = PgUp
-end
-
-# Rewind (10 sec default)
-begin
-prog = mythtv
-button = Forward
-repeat = 3
-config = PgDown
-end
-
-# Skip forward (10 min default)
-begin
-prog = mythtv
-button = Next
-repeat = 3
-config = End
-end
-
-# Skip backward (10 min default)
-begin
-prog = mythtv
-button = Previous
-repeat = 3
-config = Home
-end
-
-# Record
-begin
-prog = mythtv
-button = Record
-repeat = 3
-config = R
-end
-
-# Delete
-begin
-prog = mythtv
-button = Red
-repeat = 3
-config = D
-end
-
-# Decrease play speed
-begin
-prog = mythtv
-button = Green
-repeat = 3
-config = J
-end
-
-# Display EPG while in live TV,
-# View selected show while in EPG
-begin
-prog = mythtv
-button = Menu
-repeat = 3
-config = M
-end
-
-# Scroll up
-begin
-prog = mythtv
-button = Volume-UP
-repeat = 3
-config = F11
-end
-
-# Scroll down
-begin
-prog = mythtv
-button = Volume-DOWN
-repeat = 3
-config = F10
-end
-
-# Bring up OSD info
-begin
-prog = mythtv
-button = Go
-repeat = 3
-config = I
-end
-
-# Change display aspect ratio
-begin
-prog = mythtv
-button = Prev-Channel
-repeat = 3
-config = W
-end
-
-# double speed watch
-begin
-prog = mythtv
-button = Yellow
-repeat = 3
-config = J
-end
-
-# change tuners
-#begin
-#prog = mythtv
-#button = hash
-#repeat = 3
-#config = Y
-#end
-
-# Bring up Time stretch
-begin
-prog = mythtv
-button = Blue
-repeat = 3
-config = Y
-end
-
-# Numbers 0-9
-
-begin
-prog = mythtv
-button = 0
-repeat = 3
-config = 0
-end
-
-begin
-prog = mythtv
-button = 1
-repeat = 3
-config = 1
-end
-
-begin
-prog = mythtv
-button = 2
-repeat = 3
-config = 2
-end
-
-begin
-prog = mythtv
-button = 3
-repeat = 3
-config = 3
-end
-
-begin
-prog = mythtv
-button = 4
-repeat = 3
-config = 4
-end
-
-begin
-prog = mythtv
-button = 5
-repeat = 3
-config = 5
-end
-
-begin
-prog = mythtv
-button = 6
-repeat = 3
-config = 6
-end
-
-begin
-prog = mythtv
-button = 7
-repeat = 3
-config = 7
-end
-
-begin
-prog = mythtv
-button = 8
-repeat = 3
-config = 8
-end
-
-begin
-prog = mythtv
-button = 9
-repeat = 3
-config = 9
-end
-
-
-### MPlayer lirc setup
-
-# Show OSD
-begin
-prog = mplayer
-button = MENU
-repeat = 3
-config = osd
-end
-
-# Pause playback
-begin
-prog = mplayer
-button = PAUSE
-repeat = 3
-config = pause
-end
-
-# Skip ahead a minute if playing
-# If paused, resume playing
-begin
-prog = mplayer
-button = PLAY
-repeat = 3
-config = seek +1
-end
-
-# Stop playback and exit
-begin
-prog = mplayer
-button = Back
-repeat = 3
-config = quit
-end
-
-# Mute
-begin
-prog = mplayer
-button = MUTE
-repeat = 3
-config = mute
-end
-
-# Seek back 10 seconds
-begin
-prog = mplayer
-button = LEFT
-repeat = 3
-config = seek -7
-end
-
-# Seek forward 30 seconds
-begin
-prog = mplayer
-button = RIGHT
-repeat = 3
-config = seek +30
-end
-
-# Quit
-begin
-prog = mplayer
-button = EXIT
-repeat = 3
-config = quit
-end
-
-# Seek forward 10 minutes
-begin
-prog = mplayer
-button = SKIP
-repeat = 3
-config = seek +600
-end
-
-# Seek backward 10 minutes
-begin
-prog = mplayer
-button = REPLAY
-repeat = 3
-config = seek -600
-end
-
-# Toggle full-screen
-begin
-prog = mplayer
-button = FULL
-repeat = 3
-config = vo_fullscreen
-end
-
-### Xine lirc setup
-
-begin
-prog = xine
-button = PLAY
-repeat = 3
-config = Play
-end
-
-begin
-prog = xine
-button = STOP
-repeat = 3
-config = Stop
-end
-
-begin
-prog = xine
-button = OFF
-repeat = 3
-config = Quit
-end
-
-begin
-prog = xine
-button = PAUSE
-repeat = 3
-config = Pause
-end
-
-begin
-prog = xine
-button = CH+
-repeat = 3
-config = EventUp
-end
-
-begin
-prog = xine
-button = CH-
-repeat = 3
-config = EventDown
-end
-
-begin
-prog = xine
-button = VOL-
-repeat = 3
-config = EventLeft
-end
-
-begin
-prog = xine
-button = VOL+
-repeat = 3
-config = EventRight
-end
-
-begin
-prog = xine
-button = OK
-repeat = 3
-config = EventSelect
-end
-
-begin
-prog = xine
-button = BACK
-repeat = 3
-config = Menu
-end
-
-begin
-prog = xine
-button = FFW
-repeat = 3
-#config = SpeedFaster
-config = SeekRelative+60
-end
-
-begin
-prog = xine
-button = REW
-repeat = 3
-#config = SpeedSlower
-config = SeekRelative-60
-end
-
-begin
-prog = xine
-button = FULL
-repeat = 3
-config = Volume+
-end
-
-begin
-prog = xine
-button = BLANK
-repeat = 3
-config = Volume-
-end
-
-begin
-prog = xine
-button = MUTE
-repeat = 3
-config = Mute
-end
-
-begin
-prog = xine
-button = MENU
-repeat = 3
-config = RootMenu
-end
-
-begin
-prog = xine
-button = SKIP
-repeat = 3
-config = EventNext
-end
-
-begin
-prog = xine
-button = REPLAY
-repeat = 3
-config = EventPrior
-end
-
-begin
-prog = xine
-button = GO
-repeat = 3
-config = OSDStreamInfos
-end
-
-begin
-prog = xine
-button = RED
-repeat = 3
-config = Quit
-end
-
-begin
-prog = xine
-button = RED
-repeat = 3
-config = Quit
-end \ No newline at end of file
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/snapstream_firefly/preview.jpg b/abs/mv-core/MythVantage-config/templates/remotes/snapstream_firefly/preview.jpg
deleted file mode 100644
index a1fbc6e..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/snapstream_firefly/preview.jpg
+++ /dev/null
Binary files differ
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/streamzap/lircd.conf.streamzap b/abs/mv-core/MythVantage-config/templates/remotes/streamzap/lircd.conf.streamzap
deleted file mode 100644
index 8e453b9..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/streamzap/lircd.conf.streamzap
+++ /dev/null
@@ -1,69 +0,0 @@
-#
-# this config file was automatically generated
-# using lirc-0.7.1-CVS(serial) on Fri Feb 4 23:20:56 2005
-#
-# contributed by Christoph Bartelmus
-#
-# brand: Streamzap
-# model no. of remote control: PC Remote
-# devices being controlled by this remote: USB receiver
-#
-
-begin remote
-
- name Streamzap_PC_Remote
- bits 6
- flags RC5|CONST_LENGTH
- eps 30
- aeps 100
-
- one 889 889
- zero 889 889
- plead 889
- pre_data_bits 8
- pre_data 0xA3
- gap 108344
- toggle_bit 2
-
-
- begin codes
- 0 0x00
- 1 0x01
- 2 0x02
- 3 0x03
- 4 0x04
- 5 0x05
- 6 0x06
- 7 0x07
- 8 0x08
- 9 0x09
- POWER 0x0A
- MUTE 0x0B
- CH_UP 0x0C
- VOL_UP 0x0D
- CH_DOWN 0x0E
- VOL_DOWN 0x0F
- UP 0x10
- LEFT 0x11
- OK 0x12
- RIGHT 0x13
- DOWN 0x14
- MENU 0x15
- EXIT 0x16
- PLAY 0x17
- PAUSE 0x18
- STOP 0x19
- |<< 0x1A
- >>| 0x1B
- RECORD 0x1C
- << 0x1D
- >> 0x1E
- RED 0x20
- GREEN 0x21
- YELLOW 0x22
- BLUE 0x23
- end codes
-
-end remote
-
-
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/streamzap/lircrc b/abs/mv-core/MythVantage-config/templates/remotes/streamzap/lircrc
deleted file mode 100755
index 5e668b5..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/streamzap/lircrc
+++ /dev/null
@@ -1,832 +0,0 @@
-# StreamZap Remote
-# 'config' must either be a literal key, e.g. 'config = l' or must
-# refer to a defined key in MythTV, e.g. 'config = PLAY'a
-
-
-#restart frontend
-begin
- remote = RS_LD
- button = RESET
- prog = irexec
- repeat = 0
- config = /usr/bin/restartfrontend.sh
-end
-
-#time
-begin
- remote = RS_LD
- button = TIME
- prog = irexec
- repeat = 10
- config = /usr/bin/saytime.sh
-end
-
-#screen blank
-begin
- remote = RS_LD
- button = BLANK
- prog = irexec
- repeat = 0
-# config = ls
- config = xset s activate ; xset s blank
-end
-
-
-#picture
-begin
-REMOTE = RS_LD
-prog = mythtv
-button = PICTURE
-repeat = 4
-config = f
-end
-
-#change aspect
-begin
-remote = RS_LD
-prog = mythtv
-button = ASPECT
-# change aspect ratio
-config = w
-end
-
-#Browse
-begin
-remote = RS_LD
-prog = mythtv
-button = BROWSE
-repeat = 8
-config = o
-end
-
-# delete key
-begin
-remote = RS_LD
-prog = mythtv
-button = DELETE
-repeat = 8
-config = d
-end
-
-
-#change card
-begin
-remote = RS_LD
-prog = mythtv
-button = CARD
-repeat = 8
-config = y
-end
-
-# Change TV card input
-begin
-remote = RS_LD
-prog = mythtv
-button = CARD_SOURCE
-repeat = 4
-config = C
-end
-
-
-
-# Cycle through channel history
-begin
-remote = Streamzap_PC_Remote
-prog = mythtv
-button = BLUE
-repeat = 4
-config = H
-end
-
-# Bring up OSD info
-begin
-remote = Streamzap_PC_Remote
-prog = mythtv
-button = YELLOW
-repeat = 4
-config = i
-end
-
-
-
-
-begin
-prog = mythtv
-button = 0
-config = 0
-end
-
-begin
-prog = mythtv
-button = 1
-config = 1
-end
-
-begin
-prog = mythtv
-button = 2
-config = 2
-end
-
-begin
-prog = mythtv
-button = 3
-config = 3
-end
-
-begin
-prog = mythtv
-button = 4
-config = 4
-end
-
-begin
-prog = mythtv
-button = 5
-config = 5
-end
-
-begin
-prog = mythtv
-button = 6
-config = 6
-end
-
-begin
-prog = mythtv
-button = 7
-config = 7
-end
-
-begin
-prog = mythtv
-button = 8
-config = 8
-end
-
-begin
-prog = mythtv
-button = 9
-config = 9
-end
-
-begin
-prog = mythtv
-button = POWER
-config = Esc
-end
-
-# ???
-begin
-prog = mythtv
-button = MUTE
-config = F9
-end
-
-begin
-prog = mythtv
-button = CH_UP
-repeat = 3
-config = PgUp
-end
-
-begin
-prog = mythtv
-button = VOL_UP
-repeat = 3
-config = ]
-end
-
-begin
-prog = mythtv
-button = CH_DOWN
-repeat = 3
-config = PgDown
-end
-
-begin
-prog = mythtv
-button = VOL_DOWN
-repeat = 3
-config = [
-end
-
-begin
-prog = mythtv
-button = UP
-repeat = 3
-config = Up
-end
-
-begin
-prog = mythtv
-button = LEFT
-# navigates, or skips back during playback or live tv.
-config = Left
-end
-
-begin
-prog = mythtv
-button = OK
-config = Return
-end
-
-begin
-prog = mythtv
-button = RIGHT
-# navigates, or skips forwards during playback or live tv.
-config = Right
-end
-
-begin
-prog = mythtv
-button = DOWN
-repeat = 3
-config = Down
-end
-
-begin
-prog = mythtv
-button = MENU
-config = m
-end
-
-begin
-prog = mythtv
-button = EXIT
-config = Esc
-end
-
-begin
-prog = mythtv
-button = PLAY
-config = Space
-end
-
-begin
-prog = mythtv
-button = PAUSE
-config = p
-end
-
-begin
-prog = mythtv
-button = STOP
-config = Esc
-end
-
-begin
-prog = mythtv
-# skip backward
-button = |<<
-config = PgUp
-end
-
-begin
-prog = mythtv
-# skip forward
-button = >>|
-config = PgDown
-end
-
-begin
-prog = mythtv
-button = RECORD
-config = r
-end
-
-begin
-prog = mythtv
-# rewind
-button = <<
-config = Home
-end
-
-begin
-prog = mythtv
-# fast forward
-button = >>
-config = End
-end
-
-begin
-prog = mythtv
-button = RED
-# Delete
-config = d
-end
-
-begin
-prog = mythtv
-button = GREEN
-# Info
-config = i
-end
-
-#begin
-#prog = mythtv
-#button = YELLOW
-# change aspect ratio
-#config = w
-#end
-
-begin
-prog = mythtv
-button = BLUE
-config = Tab
-end
-
-# MPLAYER
-begin
-prog = mplayer
-button = POWER
-config = quit
-end
-
-begin
-prog = mplayer
-button = MUTE
-config = mute
-end
-
-begin
-prog = mplayer
-button = VOL_UP
-repeat = 3
-config = volume +1
-end
-
-begin
-prog = mplayer
-button = VOL_DOWN
-repeat = 3
-config = volume -1
-end
-
-begin
-prog = mplayer
-button = UP
-repeat = 3
-config = seek +10
-end
-
-begin
-prog = mplayer
-button = LEFT
-# navigates, or skips back during playback or live tv.
-config = seek -60
-end
-
-begin
-prog = mplayer
-button = RIGHT
-# navigates, or skips forwards during playback or live tv.
-config = seek +60
-end
-
-begin
-prog = mplayer
-button = DOWN
-repeat = 3
-config = seek -10
-end
-
-begin
-prog = mplayer
-button = EXIT
-config = quit
-end
-
-begin
-prog = mplayer
-button = play
-config = speed_set 1.0
-end
-
-begin
- prog = mplayer
- button = pause
- config = pause
-end
-
-begin
-prog = mplayer
-button = STOP
-config = quit
-end
-
-begin
-prog = mplayer
-# skip backward
-button = |<<
-config = seek -600
-end
-
-begin
-prog = mplayer
-# skip forward
-button = >>|
-config = seek +600
-end
-
-begin
-prog = mplayer
-# slow forward
-button = <<
-config = speed_mult 0.5
-end
-
-begin
-prog = mplayer
-# fast forward
-button = >>
-config = speed_mult 2.0
-end
-
-### xine commands
-
-begin
-prog = xine
-button = YELLOW
-repeat = 4
-#config = ToggleVisiblity
-config = OSDStreamInfos
-end
-
-begin
-prog = xine
-button = MENU
-repeat = 4
-config = SeekRelative+60
-end
-
-# increase brightness by 10
-begin
- button = DELETE
- prog = xine
- repeat = 4
- config = BrightnessControl+
-end
-
-# decrease brightness by 10
-begin
- button = PICTURE
- prog = xine
- repeat = 4
- config = BrightnessControl-
-end
-
-
-begin
-prog = xine
-button = PAUSE
-repeat = 4
-config = Pause
-end
-
-begin
-prog = xine
-button = PLAY
-repeat = 4
-config = Play
-end
-
-begin
-prog = xine
-button = STOP
-repeat = 4
-config = quit
-end
-
-begin
-prog = xine
-button = MUTE
-repeat = 4
-config = mute
-end
-
-begin
-prog = xine
-button = <<
-repeat = 4
-config = SeekRelative-30
-end
-
-begin
-prog = xine
-button = >>
-repeat = 4
-#config = SeekRelative+30
-config = SpeedFaster
-end
-
-begin
-prog = xine
-button = POWER
-repeat = 4
-config = quit
-end
-
-begin
-prog = xine
-button = EXIT
-repeat = 4
-config = quit
-end
-
-
-begin
-prog = xine
-button = FREEZE
-repeat = 4
-config = SeekRelative+1200
-end
-
-begin
-prog = xine
-button = MOVE
-repeat = 4
-config = SeekRelative-1200
-end
-
-begin
-prog = xine
-button = 3
-config = SpuNext
-repeat = 0
-end
-
-# Select previous sub picture (subtitle) channel.
-begin
-button = 1
-prog = xine
-repeat = 0
-config = SpuPrior
-end
-
-# Select next audio channel.
-begin
-button = 9
-prog = xine
-repeat = 0
-config = AudioChannelNext
-end
-
-# Select previous audio channel.
-begin
-button = 7
-prog = xine
-repeat = 0
-config = AudioChannelPrior
-end
-
-
-
-# Up event.
-begin
-
-button = UP
-prog = xine
-repeat = 8
-config = EventUp
-end
-
-# Down event.
-begin
-
-button = DOWN
-prog = xine
-repeat = 8
-config = EventDown
-end
-
-# Left event.
-begin
-
-button = LEFT
-prog = xine
-repeat = 8
-config = EventLeft
-end
-
-# Right event.
-begin
-
-button = RIGHT
-prog = xine
-repeat = 8
-config = EventRight
-end
-
-# Select event.
-begin
-prog = xine
-button = ok
-repeat = 8
-config = EventSelect
-end
-
-# Down Chapter
-begin
-
-button = CH_DOWN
-prog = xine
-repeat = 8
-config = EventPrior
-end
-
-# Next Chapter.
-begin
-
-button = CH_UP
-prog = xine
-repeat = 8
-config = EventNext
-end
-
-# menu.
-begin
-
-button = record
-prog = xine
-repeat = 8
-config = RootMenu
-end
-
-# Toggle aspect ratio
-begin
-prog = xine
-button = ASPECT
-repeat = 0
-config = ToggleAspectRatio
-end
-
-
-
-#######xmms
-begin xmms
- begin
- prog = xmms
- button = PLAY
- config = PLAY
- end
- begin
- prog = xmms
- button = clear
- config = PLAYLIST_CLEAR
- end
- begin
- prog = xmms
- button = load
- config = PLAYLIST_ADD .xmms/xmms.m3u
- end
- begin
- prog = xmms
- button = PAUSE
- config = PAUSE
- end
- begin
- prog = xmms
- button = STOP
- config = STOP
- end
- begin
- prog = xmms
- button = EXIT
- config = QUIT
- flags = mode
- end
-
- begin
- prog = xmms
- button = POWER
- config = QUIT
- flags = mode
- end
-
- begin
- prog = xmms
- button = CH_UP
- config = NEXT
- end
- begin
- prog = xmms
- button = CH_DOWN
- config = PREV
- end
-
-
-
-begin
- prog = xmms
- button = >>|
- config = NEXT
- end
-begin
- prog = xmms
- button = |<<
- config = PREV
-end
-
-
-begin
- prog = xmms
- button = <<
- config = FWD 10
- repeat = 2
- end
- begin
- prog = xmms
- button = <<
- config = BWD 10
- repeat = 2
- end
- begin
- prog = xmms
- button = volup
- config = VOL_UP 10
- repeat = 2
- end
- begin
- prog = xmms
- button = voldown
- config = VOL_DOWN 10
- repeat = 2
- end
- begin
- prog = xmms
- button = 1
- config = ONE
- end
- begin
- prog = xmms
- button = 2
- config = TWO
- end
- begin
- prog = xmms
- button = 3
- config = THREE
- end
- begin
- prog = xmms
- button = 4
- config = FOUR
- end
- begin
- prog = xmms
- button = 5
- config = FIVE
- end
- begin
- prog = xmms
- button = 6
- config = SIX
- end
- begin
- prog = xmms
- button = 7
- config = SEVEN
- end
- begin
- prog = xmms
- button = 8
- config = EIGHT
- end
- begin
- prog = xmms
- button = 9
- config = NINE
- end
- begin
- prog = xmms
- button = 0
- config = ZERO
- end
- begin
- prog = xmms
- button = enter
- config = SETPOS
- end
-end xmms
-
-#
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/abs/mv-core/MythVantage-config/templates/remotes/streamzap/preview.jpg b/abs/mv-core/MythVantage-config/templates/remotes/streamzap/preview.jpg
deleted file mode 100644
index 4d1a5fe..0000000
--- a/abs/mv-core/MythVantage-config/templates/remotes/streamzap/preview.jpg
+++ /dev/null
Binary files differ
diff --git a/abs/mv-core/MythVantage-config/templates/samba/smb.conf.home b/abs/mv-core/MythVantage-config/templates/samba/smb.conf.home
deleted file mode 100755
index b850a7d..0000000
--- a/abs/mv-core/MythVantage-config/templates/samba/smb.conf.home
+++ /dev/null
@@ -1,10 +0,0 @@
-[home]
- path = /data/home/mythtv/
- public = yes
- only guest = yes
- writeable = yes
- printable = no
- force user = mythtv
- force group = mythtv
- create mask = 0755
-
diff --git a/abs/mv-core/MythVantage-config/templates/samba/smb.conf.media b/abs/mv-core/MythVantage-config/templates/samba/smb.conf.media
deleted file mode 100755
index 6a4ec91..0000000
--- a/abs/mv-core/MythVantage-config/templates/samba/smb.conf.media
+++ /dev/null
@@ -1,10 +0,0 @@
-[media]
- path = /data/media
- public = yes
- only guest = yes
- writeable = yes
- printable = no
- force user = mythtv
- force group = mythtv
- create mask = 0755
-
diff --git a/abs/mv-core/MythVantage-config/templates/samba/smb.conf.template b/abs/mv-core/MythVantage-config/templates/samba/smb.conf.template
deleted file mode 100644
index 42ddb99..0000000
--- a/abs/mv-core/MythVantage-config/templates/samba/smb.conf.template
+++ /dev/null
@@ -1,125 +0,0 @@
-#
-#======================= Global Settings =====================================
-[global]
-
- workgroup = home_lan
- server string = MythVantage
-
-# Security mode. Defines in which mode Samba will operate. Possible
-# values are share, user, server, domain and ads. Most people will want
-# user level security. See the Samba-HOWTO-Collection for details.
- security = share
-
-# This option is important for security. It allows you to restrict
-# connections to machines which are on your local network. The
-# following example restricts access to two C class networks and
-# the "loopback" interface. For more examples of the syntax see
-# the smb.conf man page
-; hosts allow = 192.168.1. 192.168.2. 127.
-
- load printers = no
-
-# you may wish to override the location of the printcap file
-; printcap name = /etc/printcap
-
-; guest account = pcguest
-
-# this tells Samba to use a separate log file for each machine
-# that connects
- log file = /var/log/samba/log.%m
-
-# Put a capping on the size of the log files (in Kb).
- max log size = 50
-
-# Use password server option only with security = server
-# The argument list may include:
-# password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
-# or to auto-locate the domain controller/s
-# password server = *
-; password server = <NT-Server-Name>
-
-# Use the realm option only with security = ads
-# Specifies the Active Directory realm the host is part of
-; realm = MY_REALM
-
-# Backend to store user information in. New installations should
-# use either tdbsam or ldapsam. smbpasswd is available for backwards
-# compatibility. tdbsam requires no further configuration.
-; passdb backend = tdbsam
-
-# Using the following line enables you to customise your configuration
-# on a per machine basis. The %m gets replaced with the netbios name
-# of the machine that is connecting.
-# Note: Consider carefully the location in the configuration file of
-# this line. The included file is read at that point.
-; include = /usr/local/samba/lib/smb.conf.%m
-
-# Configure Samba to use multiple interfaces
-# If you have multiple network interfaces then you must list them
-# here. See the man page for details.
-; interfaces = 192.168.12.2/24 192.168.13.2/24
-
-# Browser Control Options:
-# set local master to no if you don't want Samba to become a master
-# browser on your network. Otherwise the normal election rules apply
-; local master = no
-
-# OS Level determines the precedence of this server in master browser
-# elections. The default value should be reasonable
-; os level = 33
-
-# Domain Master specifies Samba to be the Domain Master Browser. This
-# allows Samba to collate browse lists between subnets. Don't use this
-# if you already have a Windows NT domain controller doing this job
-; domain master = yes
-
-# Preferred Master causes Samba to force a local browser election on startup
-# and gives it a slightly higher chance of winning the election
-; preferred master = yes
-
-# Enable this if you want Samba to be a domain logon server for
-# Windows95 workstations.
-; domain logons = yes
-
-# if you enable domain logons then you may want a per-machine or
-# per user logon script
-# run a specific logon batch file per workstation (machine)
-; logon script = %m.bat
-# run a specific logon batch file per username
-; logon script = %U.bat
-
-# Where to store roving profiles (only for Win95 and WinNT)
-# %L substitutes for this servers netbios name, %U is username
-# You must uncomment the [Profiles] share below
-; logon path = \\%L\Profiles\%U
-
-# Windows Internet Name Serving Support Section:
-# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
-; wins support = yes
-
-# WINS Server - Tells the NMBD components of Samba to be a WINS Client
-# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
-; wins server = w.x.y.z
-
-# WINS Proxy - Tells Samba to answer name resolution queries on
-# behalf of a non WINS capable client, for this to work there must be
-# at least one WINS Server on the network. The default is NO.
-; wins proxy = yes
-
-# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
-# via DNS nslookups. The default is NO.
- dns proxy = no
-
-# These scripts are used on a domain controller or stand-alone
-# machine to add or delete corresponding unix accounts
-; add user script = /usr/sbin/useradd %u
-; add group script = /usr/sbin/groupadd %g
-; add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
-; delete user script = /usr/sbin/userdel %u
-; delete user from group script = /usr/sbin/deluser %u %g
-; delete group script = /usr/sbin/groupdel %g
-
-
-#============================ Share Definitions ==============================
-
-
diff --git a/abs/mv-core/MythVantage-config/templates/settings/default_1/keybindings.txt b/abs/mv-core/MythVantage-config/templates/settings/default_1/keybindings.txt
deleted file mode 100644
index f82f2d2..0000000
--- a/abs/mv-core/MythVantage-config/templates/settings/default_1/keybindings.txt
+++ /dev/null
@@ -1,209 +0,0 @@
-context action description keylist hostname
-Music FFWD Fast forward PgDown REPLACEME
-Music STOP Stop playback O REPLACEME
-Music MUTE Mute |,\\\\,F9 REPLACEME
-Gallery SCROLLUP Scroll image up 2 REPLACEME
-Music VOLUMEDOWN Volume down [,{,F10 REPLACEME
-Music VOLUMEUP Volume up ],},F11 REPLACEME
-qt DELETE Delete D REPLACEME
-Music RWND Rewind PgUp REPLACEME
-qt EDIT Edit E REPLACEME
-Music PAUSE Pause/Start playback P REPLACEME
-Gallery RECENTER Recenter image 5 REPLACEME
-Gallery FULLSIZE Full-size (un-zoom) image 0 REPLACEME
-Gallery LOWRIGHT Go to the lower-right corner of the image PgDown REPLACEME
-Gallery SCROLLRIGHT Scroll image right 6 REPLACEME
-Gallery MENU Toggle activating menu in thumbnail view M REPLACEME
-Gallery SCROLLDOWN Scroll image down 8 REPLACEME
-Gallery ZOOMIN Zoom image in 9 REPLACEME
-Gallery UPLEFT Go to the upper-left corner of the image PgUp REPLACEME
-Gallery RANDOMSHOW Start Random Slideshow in thumbnail view R REPLACEME
-Gallery ROTLEFT Rotate image left 90 degrees [,1 REPLACEME
-Gallery SLIDESHOW Start Slideshow in thumbnail view S REPLACEME
-Gallery ROTRIGHT Rotate image right 90 degrees ],3 REPLACEME
-Gallery END Go to the last image in thumbnail view End REPLACEME
-Gallery HOME Go to the first image in thumbnail view Home REPLACEME
-Gallery SCROLLLEFT Scroll image left 4 REPLACEME
-Gallery PLAY Start/Stop Slideshow P REPLACEME
-NetFlix REMOVE Removes movie from queue D REPLACEME
-Archive TOGGLECUT Toggle use cut list state for selected program C REPLACEME
-Gallery ZOOMOUT Zoom image out 7 REPLACEME
-NetFlix MOVETOTOP Moves movie to top of queue 1 REPLACEME
-Global DOWN Down Arrow Down REPLACEME
-ITV Menu MENUTEXT Menu Text F7 REPLACEME
-ITV Menu TEXTEXIT Menu Exit F6 REPLACEME
-Global LEFT Left Arrow Left REPLACEME
-Global RIGHT Right Arrow Right REPLACEME
-Global UP Up Arrow Up REPLACEME
-Global MENU Pop-up menu M REPLACEME
-Global PREVVIEW Previous View Home REPLACEME
-Global ESCAPE Escape Esc REPLACEME
-Global PAGEUP Page Up PgUp REPLACEME
-Global SELECT Select Return,Enter,Space REPLACEME
-Global HELP Help F1 REPLACEME
-Global INFO More information I REPLACEME
-Global NEXTVIEW Next View End REPLACEME
-ITV Menu MENUBLUE Menu Blue F5 REPLACEME
-Global PAGEDOWN Page Down PgDown REPLACEME
-Global EJECT Eject Removable Media REPLACEME
-Global 3 3 3 REPLACEME
-Global 1 1 1 REPLACEME
-Global 6 6 6 REPLACEME
-Global 0 0 0 REPLACEME
-Global 2 2 2 REPLACEME
-Global 4 4 4 REPLACEME
-TV Frontend DELETE Delete Program D REPLACEME
-Global 8 8 8 REPLACEME
-Global 7 7 7 REPLACEME
-TV Frontend PAGEDOWN Page Down 9 REPLACEME
-TV Frontend PAGEUP Page Up 3 REPLACEME
-Global 5 5 5 REPLACEME
-TV Frontend CHANGERECGROUP Change Recording Group REPLACEME
-Global 9 9 9 REPLACEME
-Video END Go to the last video End REPLACEME
-Video INCPARENT Increase Parental Level ],},F11 REPLACEME
-Weather PAUSE Pause current page P REPLACEME
-TV Frontend TOGGLERECORD Toggle recording status of current program R REPLACEME
-Video BROWSE Change browsable in video manager B REPLACEME
-Welcome SHOWSETTINGS Show Mythshutdown settings F11 REPLACEME
-Video HOME Go to the first video Home REPLACEME
-Video FILTER Open video filter dialog F REPLACEME
-Welcome STARTXTERM Open an Xterm window F12 REPLACEME
-Music INCSEARCH Show incremental search dialog Ctrl+S REPLACEME
-Music BLANKSCR Blank screen 5 REPLACEME
-Video DELETE Delete video D REPLACEME
-Music THMBUP Increase rating 9 REPLACEME
-Music CYCLEVIS Cycle visualizer mode 6 REPLACEME
-Teletext Menu REVEAL Reveal hidden Text F8 REPLACEME
-Music INCSEARCHNEXT Incremental search find next match Ctrl+N REPLACEME
-TV Frontend PLAYBACK Play Program P REPLACEME
-News FORCERETRIEVE Force update news items M REPLACEME
-Video DECPARENT Decrease Parental Level [,{,F10 REPLACEME
-News RETRIEVENEWS Update news items I REPLACEME
-News CANCEL Cancel news item updating C REPLACEME
-Teletext Menu TOGGLEBACKGROUND Toggle Background F7 REPLACEME
-Teletext Menu MENUWHITE Menu White F6 REPLACEME
-ITV Menu MENURED Menu Red F2 REPLACEME
-ITV Menu MENUYELLOW Menu Yellow F4 REPLACEME
-ITV Menu MENUGREEN Menu Green F3 REPLACEME
-Teletext Menu PREVSUBPAGE Previous Subpage Left REPLACEME
-Teletext Menu MENUYELLOW Menu Yellow F4 REPLACEME
-Teletext Menu MENUGREEN Menu Green F3 REPLACEME
-Teletext Menu NEXTSUBPAGE Next Subpage Right REPLACEME
-Teletext Menu MENUBLUE Menu Blue F5 REPLACEME
-Teletext Menu TOGGLETT Toggle Teletext T REPLACEME
-Teletext Menu NEXTPAGE Next Page Down REPLACEME
-TV Editing LOADCOMMSKIP Load cut list from commercial skips Z,End REPLACEME
-TV Editing BIGJUMPREW Jump back 10x the normal amount ,,< REPLACEME
-TV Editing BIGJUMPFWD Jump forward 10x the normal amount >,. REPLACEME
-TV Playback JUMPTODVDROOTMENU Jump to the DVD Root Menu REPLACEME
-Teletext Menu MENURED Menu Red F2 REPLACEME
-TV Playback SIGNALMON Monitor Signal Quality F7 REPLACEME
-Teletext Menu PREVPAGE Previous Page Up REPLACEME
-TV Editing INVERTMAP Invert Begin/End cut points I REPLACEME
-TV Playback PLAY Play Ctrl+P REPLACEME
-TV Editing PREVCUT Jump to the previous cut point PgUp REPLACEME
-TV Editing NEXTCUT Jump to the next cut point PgDown REPLACEME
-TV Playback CYCLECOMMSKIPMODE Cycle Commercial Skip mode REPLACEME
-TV Playback TOGGLESLEEP Toggle the Sleep Timer F8 REPLACEME
-TV Playback JUMPREC Display menu of recorded programs to jump to REPLACEME
-TV Playback FINDER Show the Program Finder # REPLACEME
-TV Playback ADJUSTSTRETCH Turn on time stretch control A REPLACEME
-TV Editing CLEARMAP Clear editing cut points C,Q,Home REPLACEME
-TV Editing TOGGLEEDIT Exit out of Edit Mode E REPLACEME
-TV Playback TOGGLESTRETCH Toggle time stretch speed REPLACEME
-TV Playback TOGGLERECCONTROLS Recording picture adjustments for this recorder G REPLACEME
-TV Playback TOGGLEAUDIOSYNC Turn on audio sync adjustment controls REPLACEME
-TV Playback TOGGLEEDIT Start Edit Mode E REPLACEME
-TV Playback SPEEDINC Increase the playback speed U REPLACEME
-TV Playback STRETCHDEC Decrease time stretch speed REPLACEME
-TV Playback SPEEDDEC Decrease the playback speed J REPLACEME
-TV Playback TOGGLECHANCONTROLS Recording picture adjustments for this channel Ctrl+G REPLACEME
-TV Playback GUIDE Show the Program Guide S REPLACEME
-TV Playback JUMPPREV Jump to previously played recording REPLACEME
-TV Playback QUEUETRANSCODE Queue the current recording for transcoding X REPLACEME
-TV Playback STRETCHINC Increase time stretch speed REPLACEME
-TV Playback TOGGLEPICCONTROLS Playback picture adjustments F REPLACEME
-TV Playback PREVCC708 Previous ATSC CC track REPLACEME
-TV Playback NEXTCC708 Next ATSC CC track REPLACEME
-TV Playback NEXTCC Next of any captions REPLACEME
-TV Playback NEXTSCAN Next video scan overidemode REPLACEME
-TV Playback NEXTCC608 Next VBI CC track REPLACEME
-TV Playback PREVCC608 Previous VBI CC track REPLACEME
-TV Playback PREVAUDIO Previous audio track - REPLACEME
-TV Playback PREVSUBTITLE Previous subtitle track REPLACEME
-TV Playback NEXTSUBTITLE Next subtitle track REPLACEME
-TV Playback NEXTAUDIO Next audio track + REPLACEME
-TV Playback SELECTCC708_3 Display ATSC CC4 REPLACEME
-TV Playback SELECTCC708_0 Display ATSC CC1 REPLACEME
-TV Playback SELECTCC608_1 Display VBI CC2 REPLACEME
-TV Playback SELECTAUDIO_0 Play audio track 1 REPLACEME
-TV Playback SELECTCC608_2 Display VBI CC3 REPLACEME
-TV Playback TOGGLETTM Toggle Teletext Menu REPLACEME
-TV Playback SELECTSUBTITLE_1 Display subtitle 2 REPLACEME
-TV Playback SELECTCC608_3 Display VBI CC4 REPLACEME
-TV Playback SELECTCC708_1 Display ATSC CC2 REPLACEME
-TV Playback SELECTCC708_2 Display ATSC CC3 REPLACEME
-TV Playback SELECTAUDIO_1 Play audio track 2 REPLACEME
-TV Playback SELECTSUBTITLE_0 Display subtitle 1 REPLACEME
-TV Playback TOGGLETTC Toggle Teletext Captions REPLACEME
-TV Playback SELECTCC608_0 Display VBI CC1 REPLACEME
-TV Playback SWAPPIP Swap PiP/Main N REPLACEME
-TV Playback TOGGLEASPECT Toggle the display aspect ratio W REPLACEME
-TV Playback TOGGLECC708 Toggle ATSC CC REPLACEME
-TV Playback TOGGLECC608 Toggle VBI CC REPLACEME
-TV Playback TOGGLEPIPMODE Toggle Picture-in-Picture mode V REPLACEME
-TV Playback TOGGLEFAV Toggle the current channel as a favorite ? REPLACEME
-TV Playback TOGGLEPIPWINDOW Toggle active PiP window B REPLACEME
-TV Playback MUTE Mute |,\\\\,F9 REPLACEME
-TV Playback TOGGLEBROWSE Toggle channel browse mode O REPLACEME
-TV Playback TOGGLESUBTITLE Toggle Subtitles REPLACEME
-TV Playback VOLUMEUP Volume up ],},F11 REPLACEME
-TV Playback TOGGLECC Toggle any captions T REPLACEME
-TV Playback JUMPSTART Jump to the start of the recording. Ctrl+B REPLACEME
-TV Playback TOGGLERECORD Toggle recording status of current program R REPLACEME
-TV Playback SKIPCOMMERCIAL Skip Commercial Z,End REPLACEME
-TV Playback VOLUMEDOWN Volume down [,{,F10 REPLACEME
-TV Playback SWITCHCARDS Switch Capture Cards Y REPLACEME
-TV Playback SKIPCOMMBACK Skip Commercial (Reverse) Q,Home REPLACEME
-TV Playback TOGGLEINPUTS Toggle Inputs C REPLACEME
-TV Playback FFWDSTICKY Fast Forward (Sticky) or Forward one frame while paused >,. REPLACEME
-TV Playback JUMPFFWD Jump ahead PgDown REPLACEME
-TV Playback PREVCHAN Switch to the previous channel H REPLACEME
-TV Playback JUMPBKMRK Jump to bookmark K REPLACEME
-TV Playback RWNDSTICKY Rewind (Sticky) or Rewind one frame while paused ,,< REPLACEME
-TV Playback NEXTFAV Switch to the next favorite channel / REPLACEME
-TV Playback JUMPRWND Jump back PgUp REPLACEME
-TV Playback SEEKRWND Rewind Left REPLACEME
-TV Playback SEEKFFWD Fast Forward Right REPLACEME
-TV Playback CHANNELDOWN Channel down Down REPLACEME
-TV Playback CHANNELUP Channel up Up REPLACEME
-TV Playback ARBSEEK Arbitrary Seek * REPLACEME
-TV Playback DELETE Delete Program D REPLACEME
-TV Playback CLEAROSD Clear OSD Backspace REPLACEME
-TV Frontend DETAILS Show program details U REPLACEME
-TV Frontend CUSTOMEDIT Edit Custom Record Rule E REPLACEME
-TV Frontend UPCOMING List upcoming episodes O REPLACEME
-TV Frontend CHANUPDATE Switch channels without exiting guide in Live TV mode. X REPLACEME
-TV Frontend RANKDEC Decrease program or channel rank Left REPLACEME
-TV Frontend VIEWCARD Switch Capture Card view Y REPLACEME
-TV Playback PAUSE Pause P REPLACEME
-TV Frontend RANKINC Increase program or channel rank Right REPLACEME
-TV Frontend PAGERIGHT Page the program guide right >,. REPLACEME
-TV Frontend PAGELEFT Page the program guide left ,,< REPLACEME
-TV Frontend NEXTFAV Toggle showing all channels or just favorites in the program guide. / REPLACEME
-Gallery DELETE Delete marked images or current image if none are marked D REPLACEME
-TV Frontend DAYRIGHT Page the program guide forward one day End,1 REPLACEME
-Gallery MARK Mark image T REPLACEME
-Game TOGGLEFAV Toggle the current game as a favorite ?,/ REPLACEME
-TV Frontend TOGGLEFAV Toggle the current channel as a favorite ? REPLACEME
-TV Frontend DAYLEFT Page the program guide back one day Home,7 REPLACEME
-Music PREVTRACK Move to the previous track ,,<,Q,Home REPLACEME
-Game INCSEARCHNEXT Incremental search find next match Ctrl+N REPLACEME
-Music DELETE Delete track from playlist D REPLACEME
-Gallery INFO Toggle Showing Information about Image I REPLACEME
-Game INCSEARCH Show incremental search dialog Ctrl+S REPLACEME
-Music REFRESH Refresh music tree 8 REPLACEME
-Music NEXTTRACK Move to the next track >,.,Z,End REPLACEME
-Music FILTER Filter All My Music F REPLACEME
-Music THMBDOWN Decrease rating 7 REPLACEME
diff --git a/abs/mv-core/MythVantage-config/templates/settings/default_1/settings.txt b/abs/mv-core/MythVantage-config/templates/settings/default_1/settings.txt
deleted file mode 100644
index 8c3a391..0000000
--- a/abs/mv-core/MythVantage-config/templates/settings/default_1/settings.txt
+++ /dev/null
@@ -1,320 +0,0 @@
-value data hostname
-AC3PassThru 0 REPLACEME
-AggressiveSoundcardBuffer 0 REPLACEME
-AllowQuitShutdown 3 REPLACEME
-AltClearSavedPosition 1 REPLACEME
-AspectOverride 0 REPLACEME
-AudioNag 1 REPLACEME
-AudioOutputDevice /dev/dsp REPLACEME
-AutoCommercialSkip 2 REPLACEME
-AutoLookupCD 1 REPLACEME
-AutomaticSetWatched 0 REPLACEME
-AutoPlayCD 0 REPLACEME
-BackendServerPort 6543 REPLACEME
-BackendStatusPort 6544 REPLACEME
-CCBackground 0 REPLACEME
-CDBlankType fast REPLACEME
-CDCreateDir 1 REPLACEME
-CDDevice /dev/cdrom REPLACEME
-CDDiskSize 1 REPLACEME
-CDWriterEnabled 0 REPLACEME
-CDWriteSpeed 0 REPLACEME
-ChannelFormat <num> <sign> REPLACEME
-ChannelOrdering channum REPLACEME
-chanPerPage 5 REPLACEME
-ClearSavedPosition 1 REPLACEME
-CommNotifyAmount 0 REPLACEME
-CommRewindAmount 0 REPLACEME
-CustomFilters REPLACEME
-DateFormat ddd MMM d REPLACEME
-DecodeExtraAudio 1 REPLACEME
-Default MythVideo View 1 REPLACEME
-DefaultCCMode 0 REPLACEME
-DefaultRipQuality 0 REPLACEME
-DefaultTVChannel 3 REPLACEME
-Deinterlace 1 REPLACEME
-DeinterlaceFilter kerneldeint REPLACEME
-DisplayGroupDefaultView 0 REPLACEME
-DisplayGroupTitleSort 0 REPLACEME
-DisplayRecGroup Default REPLACEME
-DispRecGroupAsAllProg 0 REPLACEME
-DTSPassThru 0 REPLACEME
-DVDDeviceLocation /dev/dvd REPLACEME
-DVDOnInsertDVD 1 REPLACEME
-DVDRipLocation /data/media/tmp REPLACEME
-EjectCDAfterRipping 1 REPLACEME
-EnableMHEG 0 REPLACEME
-EnableXbox 0 REPLACEME
-EnableXbox 0 REPLACEME
-EncoderType ogg REPLACEME
-EndOfRecordingExitPrompt 1 REPLACEME
-EPGFillType 10 REPLACEME
-EPGScrollType 1 REPLACEME
-EPGShowCategoryColors 1 REPLACEME
-EPGShowCategoryText 1 REPLACEME
-EPGShowChannelIcon 1 REPLACEME
-EPGShowFavorites 0 REPLACEME
-ExactSeeking 0 REPLACEME
-FFRewReposTime 100 REPLACEME
-FFRewReverse 1 REPLACEME
-FilenameTemplate ARTIST/ALBUM/TRACK-TITLE REPLACEME
-GalleryDir /data/media/images REPLACEME
-GalleryImportDirs /mnt/cdrom:/mnt/camera REPLACEME
-GalleryMoviePlayerCmd mplayer -fs %s REPLACEME
-GalleryOverlayCaption 0 REPLACEME
-GalleryRecursiveSlideshow 1 REPLACEME
-GallerySortOrder 20 REPLACEME
-GalleryThumbnailLocation 1 REPLACEME
-GameAllTreeLevels system gamename REPLACEME
-GameFavTreeLevels gamename REPLACEME
-GeneratePreviewPixmaps 0 REPLACEME
-GuiHeight 0 REPLACEME
-GuiOffsetX 0 REPLACEME
-GuiOffsetY 0 REPLACEME
-GuiSizeForTV 0 REPLACEME
-GuiVidModeResolution 640x480 REPLACEME
-GuiWidth 0 REPLACEME
-HideMouseCursor 1 REPLACEME
-HorizScanPercentage 0 REPLACEME
-Ignore_ID3 0 REPLACEME
-IndividualMuteControl 0 REPLACEME
-IntelliLastPlayWeight 25 REPLACEME
-IntelliPlayCountWeight 25 REPLACEME
-IntelliRandomWeight 15 REPLACEME
-IntelliRatingWeight 35 REPLACEME
-ISO639Language0 eng REPLACEME
-ISO639Language1 eng REPLACEME
-JobAllowCommFlag 1 REPLACEME
-JobAllowTranscode 1 REPLACEME
-JobQueueCheckFrequency 60 REPLACEME
-JobQueueCPU 0 REPLACEME
-JobQueueMaxSimultaneousJobs 1 REPLACEME
-JobQueueWindowEnd 23:59 REPLACEME
-JobQueueWindowStart 00:00 REPLACEME
-KeyboardAccelerators 1 REPLACEME
-Language EN REPLACEME
-LastMusicPlaylistPush 0 REPLACEME
-LCDBacklightOn 1 REPLACEME
-LCDBigClock 0 REPLACEME
-LCDEnable 0 REPLACEME
-LCDHeartBeatOn 0 REPLACEME
-LCDKeyString ABCDEF REPLACEME
-LCDPopupTime 5 REPLACEME
-LCDShowChannel 1 REPLACEME
-LCDShowGeneric 1 REPLACEME
-LCDShowMenu 1 REPLACEME
-LCDShowMusic 1 REPLACEME
-LCDShowMusicItems ArtistTitle REPLACEME
-LCDShowRecStatus 0 REPLACEME
-LCDShowTime 1 REPLACEME
-LCDShowVolume 1 REPLACEME
-LircKeyPressedApp REPLACEME
-ListAsShuffled 0 REPLACEME
-LiveTVInAllPrograms 0 REPLACEME
-LogCleanDays 14 REPLACEME
-LogCleanDays 14 REPLACEME
-LogCleanEnabled 0 REPLACEME
-LogCleanEnabled 0 REPLACEME
-LogCleanMax 30 REPLACEME
-LogCleanMax 30 REPLACEME
-LogCleanPeriod 14 REPLACEME
-LogCleanPeriod 14 REPLACEME
-LogMaxCount 100 REPLACEME
-LogMaxCount 100 REPLACEME
-LogPrintLevel 8 REPLACEME
-LogPrintLevel 8 REPLACEME
-LongChannelFormat <num> <name> REPLACEME
-MasterMixerVolume 70 REPLACEME
-MenuTheme MythVantage-menu REPLACEME
-MixerControl PCM REPLACEME
-MixerDevice /dev/mixer REPLACEME
-MonitorDrives 0 REPLACEME
-MovieDataCommandLine /usr/local/share/mythtv/mythvideo/scripts/imdb.pl -D REPLACEME
-MovieListCommandLine /usr/local/share/mythtv/mythvideo/scripts/imdb.pl -M tv=no;video=no REPLACEME
-MoviePosterCommandLine /usr/local/share/mythtv/mythvideo/scripts/imdb.pl -P REPLACEME
-Mp3UseVBR 0 REPLACEME
-MTDac3Flag 0 REPLACEME
-MTDConcurrentTranscodes 1 REPLACEME
-MTDLogFlag 0 REPLACEME
-MTDNiceLevel 20 REPLACEME
-MTDPort 2442 REPLACEME
-MTDRipSize 0 REPLACEME
-MTDxvidFlag 1 REPLACEME
-MusicAudioDevice default REPLACEME
-MusicLocation /data/media/audio REPLACEME
-MusicShowRatings 0 REPLACEME
-MythArchiveAlwaysUseMythTranscode 1 REPLACEME
-MythArchiveChapterMenuAR Video REPLACEME
-MythArchiveCopyRemoteFiles 1 REPLACEME
-MythArchiveDateFormat %a %b %d REPLACEME
-MythArchiveDvdauthorCmd dvdauthor REPLACEME
-MythArchiveDVDLocation /dev/dvd REPLACEME
-MythArchiveEncodeToAc3 1 REPLACEME
-MythArchiveFfmpegCmd ffmpeg REPLACEME
-MythArchiveFileFilter *.mpg *.mov *.avi *.mpeg *.nuv REPLACEME
-MythArchiveGrowisofsCmd growisofs REPLACEME
-MythArchiveMainMenuAR 16:9 REPLACEME
-MythArchiveMkisofsCmd mkisofs REPLACEME
-MythArchiveMpeg2encCmd mpeg2enc REPLACEME
-MythArchiveMplexCmd mplex REPLACEME
-MythArchivePng2yuvCmd png2yuv REPLACEME
-MythArchiveShareDir /usr/local/share/mythtv/mytharchive/ REPLACEME
-MythArchiveSpumuxCmd spumux REPLACEME
-MythArchiveTcrequantCmd tcrequant REPLACEME
-MythArchiveTempDir /data/media/tmp REPLACEME
-MythArchiveTimeFormat %I:%M %p REPLACEME
-MythArchiveUseFIFO 1 REPLACEME
-MythArchiveVideoFormat NTSC REPLACEME
-MythControlsVolume 1 REPLACEME
-mythdvd.DVDPlayerCommand Internal REPLACEME
-mythvideo.db_folder_view 1 REPLACEME
-mythvideo.ImageCacheSize 50 REPLACEME
-mythvideo.sort_ignores_case 1 REPLACEME
-NetworkControlEnabled 1 REPLACEME
-NetworkControlPort 6546 REPLACEME
-NonID3FileNameFormat GENRE/ARTIST/ALBUM/TRACK_TITLE REPLACEME
-NoPromptOnExit 0 REPLACEME
-NoWhitespace 0 REPLACEME
-OnlyImportNewMusic 0 REPLACEME
-OSDCC708CapitalsFont FreeMono.ttf REPLACEME
-OSDCC708CapitalsItalicFont FreeMono.ttf REPLACEME
-OSDCC708CasualFont FreeMono.ttf REPLACEME
-OSDCC708CasualItalicFont FreeMono.ttf REPLACEME
-OSDCC708CursiveFont FreeMono.ttf REPLACEME
-OSDCC708CursiveItalicFont FreeMono.ttf REPLACEME
-OSDCC708DefaultFontType MonoSerif REPLACEME
-OSDCC708MonoSansSerifFont FreeMono.ttf REPLACEME
-OSDCC708MonoSansSerifItalicFont FreeMono.ttf REPLACEME
-OSDCC708MonoSerifFont FreeMono.ttf REPLACEME
-OSDCC708MonoSerifItalicFont FreeMono.ttf REPLACEME
-OSDCC708PropSansSerifFont FreeMono.ttf REPLACEME
-OSDCC708PropSansSerifItalicFont FreeMono.ttf REPLACEME
-OSDCC708PropSerifFont FreeMono.ttf REPLACEME
-OSDCC708PropSerifItalicFont FreeMono.ttf REPLACEME
-OSDCC708TextZoom 100 REPLACEME
-OSDCCFont FreeMono.ttf REPLACEME
-OSDFont FreeMono.ttf REPLACEME
-OSDGeneralTimeout 2 REPLACEME
-OSDNotifyTimeout 6 REPLACEME
-OSDProgramInfoTimeout 3 REPLACEME
-OSDTheme Gray-OSD REPLACEME
-OSDThemeFontSizeType default REPLACEME
-ParanoiaLevel Full REPLACEME
-PassThruOutputDevice Default REPLACEME
-PCMMixerVolume 70 REPLACEME
-PersistentBrowseMode 1 REPLACEME
-PIPLocation 0 REPLACEME
-PlaybackBoxStartInTitle 1 REPLACEME
-PlaybackExitPrompt 2 REPLACEME
-PlaybackPreview 1 REPLACEME
-PlaybackPreviewLowCPU 1 REPLACEME
-PlayBoxEpisodeSort Date REPLACEME
-PlayBoxOrdering 1 REPLACEME
-PlayBoxShading 0 REPLACEME
-PlayBoxTransparency 1 REPLACEME
-PlayMode none REPLACEME
-PostCDRipScript REPLACEME
-PreferredMPEG2Decoder ffmpeg REPLACEME
-PreviewFromBookmark 1 REPLACEME
-PVR350EPGAlphaValue 164 REPLACEME
-PVR350InternalAudioOnly 0 REPLACEME
-PVR350OutputEnable 0 REPLACEME
-PVR350VideoDev /dev/video16 REPLACEME
-QtFontBig 25 REPLACEME
-QtFontMedium 16 REPLACEME
-QtFontSmall 12 REPLACEME
-QueryInitialFilter 0 REPLACEME
-RandomTheme 0 REPLACEME
-RealtimePriority 1 REPLACEME
-RecordFilePrefix /data/media/video/recordings REPLACEME
-RememberRecGroup 1 REPLACEME
-RepeatMode all REPLACEME
-RunFrontendInWindow 0 REPLACEME
-SelChangeRecThreshold 16 REPLACEME
-SelectChangesChannel 1 REPLACEME
-ServiceMythWEB 0 REPLACEME
-ServiceNFS 0 REPLACEME
-ServiceSamba 0 REPLACEME
-SetupPinCodeRequired 0 REPLACEME
-ShortDateFormat M/d REPLACEME
-ShowGroupInfo 0 REPLACEME
-ShowWholeTree 1 REPLACEME
-SlideshowBackground REPLACEME
-SlideshowDelay 5 REPLACEME
-SlideshowOpenGLTransition none REPLACEME
-SlideshowOpenGLTransitionLength 2000 REPLACEME
-SlideshowTransition none REPLACEME
-SmartChannelChange 0 REPLACEME
-SmartForward 0 REPLACEME
-StickyKeys 1 REPLACEME
-Style Windows REPLACEME
-SubTitleCommand -sid %s REPLACEME
-TagSeparator - REPLACEME
-Theme basic-blue REPLACEME
-ThemeFontSizeType default REPLACEME
-ThemePainter qt REPLACEME
-TimeFormat h:mm AP REPLACEME
-timePerPage 4 REPLACEME
-TitlePlayCommand mplayer dvd://%t -dvd-device %d -fs -zoom -vo xv -aid %a -channels %c REPLACEME
-TranscodeCommand transcode REPLACEME
-TreeLevels splitartist artist album title REPLACEME
-TVVidModeForceAspect 0.0 REPLACEME
-TVVidModeForceAspect0 0.0 REPLACEME
-TVVidModeForceAspect1 0.0 REPLACEME
-TVVidModeForceAspect2 0.0 REPLACEME
-TVVidModeRefreshRate 0 REPLACEME
-TVVidModeRefreshRate0 0 REPLACEME
-TVVidModeRefreshRate1 0 REPLACEME
-TVVidModeRefreshRate2 0 REPLACEME
-TVVidModeResolution 640x480 REPLACEME
-TVVidModeResolution0 640x480 REPLACEME
-TVVidModeResolution1 640x480 REPLACEME
-TVVidModeResolution2 640x480 REPLACEME
-UDPNotifyPort 6948 REPLACEME
-UnknownCategory Unknown REPLACEME
-UnknownTitle Unknown REPLACEME
-upnp:UDN:urn:schemas-upnp-org:device:MediaServer:1 dee5b0fe-7087-4960-8794-428d3e01a61f REPLACEME
-UseArrowAccels 1 REPLACEME
-UseOutputPictureControls 1 REPLACEME
-UseVideoModes 0 REPLACEME
-UseVideoTimebase 0 REPLACEME
-UseVirtualKeyboard 1 REPLACEME
-VCDDeviceLocation /dev/cdrom REPLACEME
-VCDPlayerCommand mplayer vcd:// -cdrom-device %d -fs -zoom -vo xv REPLACEME
-VertScanPercentage 0 REPLACEME
-VideoAggressivePC 0 REPLACEME
-VideoArtworkDir /data/media/images/posters REPLACEME
-VideoBrowserNoDB 0 REPLACEME
-VideoDefaultParentalLevel 4 REPLACEME
-VideoGalleryAspectRatio 1 REPLACEME
-VideoGalleryColsPerPage 4 REPLACEME
-VideoGalleryNoDB 0 REPLACEME
-VideoGalleryRowsPerPage 3 REPLACEME
-VideoGallerySubtitle 1 REPLACEME
-VideoListUnknownFiletypes 1 REPLACEME
-VideoNewBrowsable 1 REPLACEME
-VideoDefaultPlayer Internal REPLACEME
-VideoStartupDir /data/media/video/movies REPLACEME
-VideoTreeLoadMetaData 1 REPLACEME
-VideoTreeNoDB 0 REPLACEME
-VidModeHeight0 0 REPLACEME
-VidModeHeight1 0 REPLACEME
-VidModeHeight2 0 REPLACEME
-VidModeWidth0 0 REPLACEME
-VidModeWidth1 0 REPLACEME
-VidModeWidth2 0 REPLACEME
-VisualCycleOnSongChange 0 REPLACEME
-VisualMode Random REPLACEME
-VisualModeDelay 0 REPLACEME
-VisualScaleHeight 1 REPLACEME
-VisualScaleWidth 1 REPLACEME
-WatchTVGuide 0 REPLACEME
-WebBrowserCommand /usr/local/bin/mythbrowser REPLACEME
-WebBrowserHideScrollbars 0 REPLACEME
-WebBrowserScrollMode 1 REPLACEME
-WebBrowserScrollSpeed 4 REPLACEME
-WebBrowserZoomLevel 20 REPLACEME
-XScanDisplacement 0 REPLACEME
-YScanDisplacement 0 REPLACEME
-HaltCommand sudo /sbin/poweroff REPLACEME
-RebootCommand sudo /sbin/reboot REPLACEME
diff --git a/abs/mv-core/MythVantage-config/templates/settings/default_2/keybindings.txt b/abs/mv-core/MythVantage-config/templates/settings/default_2/keybindings.txt
deleted file mode 100644
index f82f2d2..0000000
--- a/abs/mv-core/MythVantage-config/templates/settings/default_2/keybindings.txt
+++ /dev/null
@@ -1,209 +0,0 @@
-context action description keylist hostname
-Music FFWD Fast forward PgDown REPLACEME
-Music STOP Stop playback O REPLACEME
-Music MUTE Mute |,\\\\,F9 REPLACEME
-Gallery SCROLLUP Scroll image up 2 REPLACEME
-Music VOLUMEDOWN Volume down [,{,F10 REPLACEME
-Music VOLUMEUP Volume up ],},F11 REPLACEME
-qt DELETE Delete D REPLACEME
-Music RWND Rewind PgUp REPLACEME
-qt EDIT Edit E REPLACEME
-Music PAUSE Pause/Start playback P REPLACEME
-Gallery RECENTER Recenter image 5 REPLACEME
-Gallery FULLSIZE Full-size (un-zoom) image 0 REPLACEME
-Gallery LOWRIGHT Go to the lower-right corner of the image PgDown REPLACEME
-Gallery SCROLLRIGHT Scroll image right 6 REPLACEME
-Gallery MENU Toggle activating menu in thumbnail view M REPLACEME
-Gallery SCROLLDOWN Scroll image down 8 REPLACEME
-Gallery ZOOMIN Zoom image in 9 REPLACEME
-Gallery UPLEFT Go to the upper-left corner of the image PgUp REPLACEME
-Gallery RANDOMSHOW Start Random Slideshow in thumbnail view R REPLACEME
-Gallery ROTLEFT Rotate image left 90 degrees [,1 REPLACEME
-Gallery SLIDESHOW Start Slideshow in thumbnail view S REPLACEME
-Gallery ROTRIGHT Rotate image right 90 degrees ],3 REPLACEME
-Gallery END Go to the last image in thumbnail view End REPLACEME
-Gallery HOME Go to the first image in thumbnail view Home REPLACEME
-Gallery SCROLLLEFT Scroll image left 4 REPLACEME
-Gallery PLAY Start/Stop Slideshow P REPLACEME
-NetFlix REMOVE Removes movie from queue D REPLACEME
-Archive TOGGLECUT Toggle use cut list state for selected program C REPLACEME
-Gallery ZOOMOUT Zoom image out 7 REPLACEME
-NetFlix MOVETOTOP Moves movie to top of queue 1 REPLACEME
-Global DOWN Down Arrow Down REPLACEME
-ITV Menu MENUTEXT Menu Text F7 REPLACEME
-ITV Menu TEXTEXIT Menu Exit F6 REPLACEME
-Global LEFT Left Arrow Left REPLACEME
-Global RIGHT Right Arrow Right REPLACEME
-Global UP Up Arrow Up REPLACEME
-Global MENU Pop-up menu M REPLACEME
-Global PREVVIEW Previous View Home REPLACEME
-Global ESCAPE Escape Esc REPLACEME
-Global PAGEUP Page Up PgUp REPLACEME
-Global SELECT Select Return,Enter,Space REPLACEME
-Global HELP Help F1 REPLACEME
-Global INFO More information I REPLACEME
-Global NEXTVIEW Next View End REPLACEME
-ITV Menu MENUBLUE Menu Blue F5 REPLACEME
-Global PAGEDOWN Page Down PgDown REPLACEME
-Global EJECT Eject Removable Media REPLACEME
-Global 3 3 3 REPLACEME
-Global 1 1 1 REPLACEME
-Global 6 6 6 REPLACEME
-Global 0 0 0 REPLACEME
-Global 2 2 2 REPLACEME
-Global 4 4 4 REPLACEME
-TV Frontend DELETE Delete Program D REPLACEME
-Global 8 8 8 REPLACEME
-Global 7 7 7 REPLACEME
-TV Frontend PAGEDOWN Page Down 9 REPLACEME
-TV Frontend PAGEUP Page Up 3 REPLACEME
-Global 5 5 5 REPLACEME
-TV Frontend CHANGERECGROUP Change Recording Group REPLACEME
-Global 9 9 9 REPLACEME
-Video END Go to the last video End REPLACEME
-Video INCPARENT Increase Parental Level ],},F11 REPLACEME
-Weather PAUSE Pause current page P REPLACEME
-TV Frontend TOGGLERECORD Toggle recording status of current program R REPLACEME
-Video BROWSE Change browsable in video manager B REPLACEME
-Welcome SHOWSETTINGS Show Mythshutdown settings F11 REPLACEME
-Video HOME Go to the first video Home REPLACEME
-Video FILTER Open video filter dialog F REPLACEME
-Welcome STARTXTERM Open an Xterm window F12 REPLACEME
-Music INCSEARCH Show incremental search dialog Ctrl+S REPLACEME
-Music BLANKSCR Blank screen 5 REPLACEME
-Video DELETE Delete video D REPLACEME
-Music THMBUP Increase rating 9 REPLACEME
-Music CYCLEVIS Cycle visualizer mode 6 REPLACEME
-Teletext Menu REVEAL Reveal hidden Text F8 REPLACEME
-Music INCSEARCHNEXT Incremental search find next match Ctrl+N REPLACEME
-TV Frontend PLAYBACK Play Program P REPLACEME
-News FORCERETRIEVE Force update news items M REPLACEME
-Video DECPARENT Decrease Parental Level [,{,F10 REPLACEME
-News RETRIEVENEWS Update news items I REPLACEME
-News CANCEL Cancel news item updating C REPLACEME
-Teletext Menu TOGGLEBACKGROUND Toggle Background F7 REPLACEME
-Teletext Menu MENUWHITE Menu White F6 REPLACEME
-ITV Menu MENURED Menu Red F2 REPLACEME
-ITV Menu MENUYELLOW Menu Yellow F4 REPLACEME
-ITV Menu MENUGREEN Menu Green F3 REPLACEME
-Teletext Menu PREVSUBPAGE Previous Subpage Left REPLACEME
-Teletext Menu MENUYELLOW Menu Yellow F4 REPLACEME
-Teletext Menu MENUGREEN Menu Green F3 REPLACEME
-Teletext Menu NEXTSUBPAGE Next Subpage Right REPLACEME
-Teletext Menu MENUBLUE Menu Blue F5 REPLACEME
-Teletext Menu TOGGLETT Toggle Teletext T REPLACEME
-Teletext Menu NEXTPAGE Next Page Down REPLACEME
-TV Editing LOADCOMMSKIP Load cut list from commercial skips Z,End REPLACEME
-TV Editing BIGJUMPREW Jump back 10x the normal amount ,,< REPLACEME
-TV Editing BIGJUMPFWD Jump forward 10x the normal amount >,. REPLACEME
-TV Playback JUMPTODVDROOTMENU Jump to the DVD Root Menu REPLACEME
-Teletext Menu MENURED Menu Red F2 REPLACEME
-TV Playback SIGNALMON Monitor Signal Quality F7 REPLACEME
-Teletext Menu PREVPAGE Previous Page Up REPLACEME
-TV Editing INVERTMAP Invert Begin/End cut points I REPLACEME
-TV Playback PLAY Play Ctrl+P REPLACEME
-TV Editing PREVCUT Jump to the previous cut point PgUp REPLACEME
-TV Editing NEXTCUT Jump to the next cut point PgDown REPLACEME
-TV Playback CYCLECOMMSKIPMODE Cycle Commercial Skip mode REPLACEME
-TV Playback TOGGLESLEEP Toggle the Sleep Timer F8 REPLACEME
-TV Playback JUMPREC Display menu of recorded programs to jump to REPLACEME
-TV Playback FINDER Show the Program Finder # REPLACEME
-TV Playback ADJUSTSTRETCH Turn on time stretch control A REPLACEME
-TV Editing CLEARMAP Clear editing cut points C,Q,Home REPLACEME
-TV Editing TOGGLEEDIT Exit out of Edit Mode E REPLACEME
-TV Playback TOGGLESTRETCH Toggle time stretch speed REPLACEME
-TV Playback TOGGLERECCONTROLS Recording picture adjustments for this recorder G REPLACEME
-TV Playback TOGGLEAUDIOSYNC Turn on audio sync adjustment controls REPLACEME
-TV Playback TOGGLEEDIT Start Edit Mode E REPLACEME
-TV Playback SPEEDINC Increase the playback speed U REPLACEME
-TV Playback STRETCHDEC Decrease time stretch speed REPLACEME
-TV Playback SPEEDDEC Decrease the playback speed J REPLACEME
-TV Playback TOGGLECHANCONTROLS Recording picture adjustments for this channel Ctrl+G REPLACEME
-TV Playback GUIDE Show the Program Guide S REPLACEME
-TV Playback JUMPPREV Jump to previously played recording REPLACEME
-TV Playback QUEUETRANSCODE Queue the current recording for transcoding X REPLACEME
-TV Playback STRETCHINC Increase time stretch speed REPLACEME
-TV Playback TOGGLEPICCONTROLS Playback picture adjustments F REPLACEME
-TV Playback PREVCC708 Previous ATSC CC track REPLACEME
-TV Playback NEXTCC708 Next ATSC CC track REPLACEME
-TV Playback NEXTCC Next of any captions REPLACEME
-TV Playback NEXTSCAN Next video scan overidemode REPLACEME
-TV Playback NEXTCC608 Next VBI CC track REPLACEME
-TV Playback PREVCC608 Previous VBI CC track REPLACEME
-TV Playback PREVAUDIO Previous audio track - REPLACEME
-TV Playback PREVSUBTITLE Previous subtitle track REPLACEME
-TV Playback NEXTSUBTITLE Next subtitle track REPLACEME
-TV Playback NEXTAUDIO Next audio track + REPLACEME
-TV Playback SELECTCC708_3 Display ATSC CC4 REPLACEME
-TV Playback SELECTCC708_0 Display ATSC CC1 REPLACEME
-TV Playback SELECTCC608_1 Display VBI CC2 REPLACEME
-TV Playback SELECTAUDIO_0 Play audio track 1 REPLACEME
-TV Playback SELECTCC608_2 Display VBI CC3 REPLACEME
-TV Playback TOGGLETTM Toggle Teletext Menu REPLACEME
-TV Playback SELECTSUBTITLE_1 Display subtitle 2 REPLACEME
-TV Playback SELECTCC608_3 Display VBI CC4 REPLACEME
-TV Playback SELECTCC708_1 Display ATSC CC2 REPLACEME
-TV Playback SELECTCC708_2 Display ATSC CC3 REPLACEME
-TV Playback SELECTAUDIO_1 Play audio track 2 REPLACEME
-TV Playback SELECTSUBTITLE_0 Display subtitle 1 REPLACEME
-TV Playback TOGGLETTC Toggle Teletext Captions REPLACEME
-TV Playback SELECTCC608_0 Display VBI CC1 REPLACEME
-TV Playback SWAPPIP Swap PiP/Main N REPLACEME
-TV Playback TOGGLEASPECT Toggle the display aspect ratio W REPLACEME
-TV Playback TOGGLECC708 Toggle ATSC CC REPLACEME
-TV Playback TOGGLECC608 Toggle VBI CC REPLACEME
-TV Playback TOGGLEPIPMODE Toggle Picture-in-Picture mode V REPLACEME
-TV Playback TOGGLEFAV Toggle the current channel as a favorite ? REPLACEME
-TV Playback TOGGLEPIPWINDOW Toggle active PiP window B REPLACEME
-TV Playback MUTE Mute |,\\\\,F9 REPLACEME
-TV Playback TOGGLEBROWSE Toggle channel browse mode O REPLACEME
-TV Playback TOGGLESUBTITLE Toggle Subtitles REPLACEME
-TV Playback VOLUMEUP Volume up ],},F11 REPLACEME
-TV Playback TOGGLECC Toggle any captions T REPLACEME
-TV Playback JUMPSTART Jump to the start of the recording. Ctrl+B REPLACEME
-TV Playback TOGGLERECORD Toggle recording status of current program R REPLACEME
-TV Playback SKIPCOMMERCIAL Skip Commercial Z,End REPLACEME
-TV Playback VOLUMEDOWN Volume down [,{,F10 REPLACEME
-TV Playback SWITCHCARDS Switch Capture Cards Y REPLACEME
-TV Playback SKIPCOMMBACK Skip Commercial (Reverse) Q,Home REPLACEME
-TV Playback TOGGLEINPUTS Toggle Inputs C REPLACEME
-TV Playback FFWDSTICKY Fast Forward (Sticky) or Forward one frame while paused >,. REPLACEME
-TV Playback JUMPFFWD Jump ahead PgDown REPLACEME
-TV Playback PREVCHAN Switch to the previous channel H REPLACEME
-TV Playback JUMPBKMRK Jump to bookmark K REPLACEME
-TV Playback RWNDSTICKY Rewind (Sticky) or Rewind one frame while paused ,,< REPLACEME
-TV Playback NEXTFAV Switch to the next favorite channel / REPLACEME
-TV Playback JUMPRWND Jump back PgUp REPLACEME
-TV Playback SEEKRWND Rewind Left REPLACEME
-TV Playback SEEKFFWD Fast Forward Right REPLACEME
-TV Playback CHANNELDOWN Channel down Down REPLACEME
-TV Playback CHANNELUP Channel up Up REPLACEME
-TV Playback ARBSEEK Arbitrary Seek * REPLACEME
-TV Playback DELETE Delete Program D REPLACEME
-TV Playback CLEAROSD Clear OSD Backspace REPLACEME
-TV Frontend DETAILS Show program details U REPLACEME
-TV Frontend CUSTOMEDIT Edit Custom Record Rule E REPLACEME
-TV Frontend UPCOMING List upcoming episodes O REPLACEME
-TV Frontend CHANUPDATE Switch channels without exiting guide in Live TV mode. X REPLACEME
-TV Frontend RANKDEC Decrease program or channel rank Left REPLACEME
-TV Frontend VIEWCARD Switch Capture Card view Y REPLACEME
-TV Playback PAUSE Pause P REPLACEME
-TV Frontend RANKINC Increase program or channel rank Right REPLACEME
-TV Frontend PAGERIGHT Page the program guide right >,. REPLACEME
-TV Frontend PAGELEFT Page the program guide left ,,< REPLACEME
-TV Frontend NEXTFAV Toggle showing all channels or just favorites in the program guide. / REPLACEME
-Gallery DELETE Delete marked images or current image if none are marked D REPLACEME
-TV Frontend DAYRIGHT Page the program guide forward one day End,1 REPLACEME
-Gallery MARK Mark image T REPLACEME
-Game TOGGLEFAV Toggle the current game as a favorite ?,/ REPLACEME
-TV Frontend TOGGLEFAV Toggle the current channel as a favorite ? REPLACEME
-TV Frontend DAYLEFT Page the program guide back one day Home,7 REPLACEME
-Music PREVTRACK Move to the previous track ,,<,Q,Home REPLACEME
-Game INCSEARCHNEXT Incremental search find next match Ctrl+N REPLACEME
-Music DELETE Delete track from playlist D REPLACEME
-Gallery INFO Toggle Showing Information about Image I REPLACEME
-Game INCSEARCH Show incremental search dialog Ctrl+S REPLACEME
-Music REFRESH Refresh music tree 8 REPLACEME
-Music NEXTTRACK Move to the next track >,.,Z,End REPLACEME
-Music FILTER Filter All My Music F REPLACEME
-Music THMBDOWN Decrease rating 7 REPLACEME
diff --git a/abs/mv-core/MythVantage-config/templates/settings/default_2/settings.txt b/abs/mv-core/MythVantage-config/templates/settings/default_2/settings.txt
deleted file mode 100644
index 106be04..0000000
--- a/abs/mv-core/MythVantage-config/templates/settings/default_2/settings.txt
+++ /dev/null
@@ -1,320 +0,0 @@
-value data hostname
-AC3PassThru 0 REPLACEME
-AggressiveSoundcardBuffer 0 REPLACEME
-AllowQuitShutdown 3 REPLACEME
-AltClearSavedPosition 1 REPLACEME
-AspectOverride 0 REPLACEME
-AudioNag 1 REPLACEME
-AudioOutputDevice /dev/dsp REPLACEME
-AutoCommercialSkip 2 REPLACEME
-AutoLookupCD 1 REPLACEME
-AutomaticSetWatched 0 REPLACEME
-AutoPlayCD 0 REPLACEME
-BackendServerPort 6543 REPLACEME
-BackendStatusPort 6544 REPLACEME
-CCBackground 0 REPLACEME
-CDBlankType fast REPLACEME
-CDCreateDir 1 REPLACEME
-CDDevice /dev/cdrom REPLACEME
-CDDiskSize 1 REPLACEME
-CDWriterEnabled 0 REPLACEME
-CDWriteSpeed 0 REPLACEME
-ChannelFormat <num> <sign> REPLACEME
-ChannelOrdering channum REPLACEME
-chanPerPage 5 REPLACEME
-ClearSavedPosition 1 REPLACEME
-CommNotifyAmount 0 REPLACEME
-CommRewindAmount 0 REPLACEME
-CustomFilters REPLACEME
-DateFormat ddd MMM d REPLACEME
-DecodeExtraAudio 1 REPLACEME
-Default MythVideo View 1 REPLACEME
-DefaultCCMode 0 REPLACEME
-DefaultRipQuality 0 REPLACEME
-DefaultTVChannel 3 REPLACEME
-Deinterlace 1 REPLACEME
-DeinterlaceFilter kerneldeint REPLACEME
-DisplayGroupDefaultView 0 REPLACEME
-DisplayGroupTitleSort 0 REPLACEME
-DisplayRecGroup Default REPLACEME
-DispRecGroupAsAllProg 0 REPLACEME
-DTSPassThru 0 REPLACEME
-DVDDeviceLocation /dev/dvd REPLACEME
-DVDOnInsertDVD 1 REPLACEME
-DVDRipLocation /data/media/tmp REPLACEME
-EjectCDAfterRipping 1 REPLACEME
-EnableMHEG 0 REPLACEME
-EnableXbox 0 REPLACEME
-EnableXbox 0 REPLACEME
-EncoderType ogg REPLACEME
-EndOfRecordingExitPrompt 1 REPLACEME
-EPGFillType 10 REPLACEME
-EPGScrollType 1 REPLACEME
-EPGShowCategoryColors 1 REPLACEME
-EPGShowCategoryText 1 REPLACEME
-EPGShowChannelIcon 1 REPLACEME
-EPGShowFavorites 0 REPLACEME
-ExactSeeking 0 REPLACEME
-FFRewReposTime 100 REPLACEME
-FFRewReverse 1 REPLACEME
-FilenameTemplate ARTIST/ALBUM/TRACK-TITLE REPLACEME
-GalleryDir /data/media/images REPLACEME
-GalleryImportDirs /mnt/cdrom:/mnt/camera REPLACEME
-GalleryMoviePlayerCmd mplayer -fs %s REPLACEME
-GalleryOverlayCaption 0 REPLACEME
-GalleryRecursiveSlideshow 1 REPLACEME
-GallerySortOrder 20 REPLACEME
-GalleryThumbnailLocation 1 REPLACEME
-GameAllTreeLevels system gamename REPLACEME
-GameFavTreeLevels gamename REPLACEME
-GeneratePreviewPixmaps 0 REPLACEME
-GuiHeight 0 REPLACEME
-GuiOffsetX 0 REPLACEME
-GuiOffsetY 0 REPLACEME
-GuiSizeForTV 0 REPLACEME
-GuiVidModeResolution 640x480 REPLACEME
-GuiWidth 0 REPLACEME
-HaltCommand halt REPLACEME
-HideMouseCursor 1 REPLACEME
-HorizScanPercentage 0 REPLACEME
-Ignore_ID3 0 REPLACEME
-IndividualMuteControl 0 REPLACEME
-IntelliLastPlayWeight 25 REPLACEME
-IntelliPlayCountWeight 25 REPLACEME
-IntelliRandomWeight 15 REPLACEME
-IntelliRatingWeight 35 REPLACEME
-ISO639Language0 eng REPLACEME
-ISO639Language1 eng REPLACEME
-JobAllowCommFlag 1 REPLACEME
-JobAllowTranscode 1 REPLACEME
-JobQueueCheckFrequency 60 REPLACEME
-JobQueueCPU 0 REPLACEME
-JobQueueMaxSimultaneousJobs 1 REPLACEME
-JobQueueWindowEnd 23:59 REPLACEME
-JobQueueWindowStart 00:00 REPLACEME
-KeyboardAccelerators 1 REPLACEME
-Language EN REPLACEME
-LastMusicPlaylistPush 0 REPLACEME
-LCDBacklightOn 1 REPLACEME
-LCDBigClock 0 REPLACEME
-LCDEnable 0 REPLACEME
-LCDHeartBeatOn 0 REPLACEME
-LCDKeyString ABCDEF REPLACEME
-LCDPopupTime 5 REPLACEME
-LCDShowChannel 1 REPLACEME
-LCDShowGeneric 1 REPLACEME
-LCDShowMenu 1 REPLACEME
-LCDShowMusic 1 REPLACEME
-LCDShowMusicItems ArtistTitle REPLACEME
-LCDShowRecStatus 0 REPLACEME
-LCDShowTime 1 REPLACEME
-LCDShowVolume 1 REPLACEME
-LircKeyPressedApp REPLACEME
-ListAsShuffled 0 REPLACEME
-LiveTVInAllPrograms 0 REPLACEME
-LogCleanDays 14 REPLACEME
-LogCleanDays 14 REPLACEME
-LogCleanEnabled 0 REPLACEME
-LogCleanEnabled 0 REPLACEME
-LogCleanMax 30 REPLACEME
-LogCleanMax 30 REPLACEME
-LogCleanPeriod 14 REPLACEME
-LogCleanPeriod 14 REPLACEME
-LogMaxCount 100 REPLACEME
-LogMaxCount 100 REPLACEME
-LogPrintLevel 8 REPLACEME
-LogPrintLevel 8 REPLACEME
-LongChannelFormat <num> <name> REPLACEME
-MasterMixerVolume 70 REPLACEME
-MenuTheme STB-menu REPLACEME
-MixerControl PCM REPLACEME
-MixerDevice /dev/mixer REPLACEME
-MonitorDrives 0 REPLACEME
-MovieDataCommandLine /usr/local/share/mythtv/mythvideo/scripts/imdb.pl -D REPLACEME
-MovieListCommandLine /usr/local/share/mythtv/mythvideo/scripts/imdb.pl -M tv=no;video=no REPLACEME
-MoviePosterCommandLine /usr/local/share/mythtv/mythvideo/scripts/imdb.pl -P REPLACEME
-Mp3UseVBR 0 REPLACEME
-MTDac3Flag 0 REPLACEME
-MTDConcurrentTranscodes 1 REPLACEME
-MTDLogFlag 0 REPLACEME
-MTDNiceLevel 20 REPLACEME
-MTDPort 2442 REPLACEME
-MTDRipSize 0 REPLACEME
-MTDxvidFlag 1 REPLACEME
-MusicAudioDevice default REPLACEME
-MusicLocation /data/media/audio REPLACEME
-MusicShowRatings 0 REPLACEME
-MythArchiveAlwaysUseMythTranscode 1 REPLACEME
-MythArchiveChapterMenuAR Video REPLACEME
-MythArchiveCopyRemoteFiles 1 REPLACEME
-MythArchiveDateFormat %a %b %d REPLACEME
-MythArchiveDvdauthorCmd dvdauthor REPLACEME
-MythArchiveDVDLocation /dev/dvd REPLACEME
-MythArchiveEncodeToAc3 1 REPLACEME
-MythArchiveFfmpegCmd ffmpeg REPLACEME
-MythArchiveFileFilter *.mpg *.mov *.avi *.mpeg *.nuv REPLACEME
-MythArchiveGrowisofsCmd growisofs REPLACEME
-MythArchiveMainMenuAR 16:9 REPLACEME
-MythArchiveMkisofsCmd mkisofs REPLACEME
-MythArchiveMpeg2encCmd mpeg2enc REPLACEME
-MythArchiveMplexCmd mplex REPLACEME
-MythArchivePng2yuvCmd png2yuv REPLACEME
-MythArchiveShareDir /usr/local/share/mythtv/mytharchive/ REPLACEME
-MythArchiveSpumuxCmd spumux REPLACEME
-MythArchiveTcrequantCmd tcrequant REPLACEME
-MythArchiveTempDir /data/media/tmp REPLACEME
-MythArchiveTimeFormat %I:%M %p REPLACEME
-MythArchiveUseFIFO 1 REPLACEME
-MythArchiveVideoFormat NTSC REPLACEME
-MythControlsVolume 1 REPLACEME
-mythdvd.DVDPlayerCommand Internal REPLACEME
-mythvideo.db_folder_view 1 REPLACEME
-mythvideo.ImageCacheSize 50 REPLACEME
-mythvideo.sort_ignores_case 1 REPLACEME
-NetworkControlEnabled 1 REPLACEME
-NetworkControlPort 6546 REPLACEME
-NonID3FileNameFormat GENRE/ARTIST/ALBUM/TRACK_TITLE REPLACEME
-NoPromptOnExit 0 REPLACEME
-NoWhitespace 0 REPLACEME
-OnlyImportNewMusic 0 REPLACEME
-OSDCC708CapitalsFont FreeMono.ttf REPLACEME
-OSDCC708CapitalsItalicFont FreeMono.ttf REPLACEME
-OSDCC708CasualFont FreeMono.ttf REPLACEME
-OSDCC708CasualItalicFont FreeMono.ttf REPLACEME
-OSDCC708CursiveFont FreeMono.ttf REPLACEME
-OSDCC708CursiveItalicFont FreeMono.ttf REPLACEME
-OSDCC708DefaultFontType MonoSerif REPLACEME
-OSDCC708MonoSansSerifFont FreeMono.ttf REPLACEME
-OSDCC708MonoSansSerifItalicFont FreeMono.ttf REPLACEME
-OSDCC708MonoSerifFont FreeMono.ttf REPLACEME
-OSDCC708MonoSerifItalicFont FreeMono.ttf REPLACEME
-OSDCC708PropSansSerifFont FreeMono.ttf REPLACEME
-OSDCC708PropSansSerifItalicFont FreeMono.ttf REPLACEME
-OSDCC708PropSerifFont FreeMono.ttf REPLACEME
-OSDCC708PropSerifItalicFont FreeMono.ttf REPLACEME
-OSDCC708TextZoom 100 REPLACEME
-OSDCCFont FreeMono.ttf REPLACEME
-OSDFont FreeMono.ttf REPLACEME
-OSDGeneralTimeout 2 REPLACEME
-OSDNotifyTimeout 6 REPLACEME
-OSDProgramInfoTimeout 3 REPLACEME
-OSDTheme Gray-OSD REPLACEME
-OSDThemeFontSizeType default REPLACEME
-ParanoiaLevel Full REPLACEME
-PassThruOutputDevice Default REPLACEME
-PCMMixerVolume 70 REPLACEME
-PersistentBrowseMode 1 REPLACEME
-PIPLocation 0 REPLACEME
-PlaybackBoxStartInTitle 1 REPLACEME
-PlaybackExitPrompt 2 REPLACEME
-PlaybackPreview 1 REPLACEME
-PlaybackPreviewLowCPU 1 REPLACEME
-PlayBoxEpisodeSort Date REPLACEME
-PlayBoxOrdering 1 REPLACEME
-PlayBoxShading 0 REPLACEME
-PlayBoxTransparency 1 REPLACEME
-PlayMode none REPLACEME
-PostCDRipScript REPLACEME
-PreferredMPEG2Decoder ffmpeg REPLACEME
-PreviewFromBookmark 1 REPLACEME
-PVR350EPGAlphaValue 164 REPLACEME
-PVR350InternalAudioOnly 0 REPLACEME
-PVR350OutputEnable 0 REPLACEME
-PVR350VideoDev /dev/video16 REPLACEME
-QtFontBig 25 REPLACEME
-QtFontMedium 16 REPLACEME
-QtFontSmall 12 REPLACEME
-QueryInitialFilter 0 REPLACEME
-RandomTheme 0 REPLACEME
-RealtimePriority 1 REPLACEME
-RecordFilePrefix /data/media/video/recordings REPLACEME
-RememberRecGroup 1 REPLACEME
-RepeatMode all REPLACEME
-RunFrontendInWindow 0 REPLACEME
-SelChangeRecThreshold 16 REPLACEME
-SelectChangesChannel 1 REPLACEME
-ServiceMythWEB 0 REPLACEME
-ServiceNFS 0 REPLACEME
-ServiceSamba 0 REPLACEME
-SetupPinCodeRequired 0 REPLACEME
-ShortDateFormat M/d REPLACEME
-ShowGroupInfo 0 REPLACEME
-ShowWholeTree 1 REPLACEME
-SlideshowBackground REPLACEME
-SlideshowDelay 5 REPLACEME
-SlideshowOpenGLTransition none REPLACEME
-SlideshowOpenGLTransitionLength 2000 REPLACEME
-SlideshowTransition none REPLACEME
-SmartChannelChange 0 REPLACEME
-SmartForward 0 REPLACEME
-StickyKeys 1 REPLACEME
-Style REPLACEME
-SubTitleCommand -sid %s REPLACEME
-TagSeparator - REPLACEME
-Theme basic-blue REPLACEME
-ThemeFontSizeType default REPLACEME
-ThemePainter qt REPLACEME
-TimeFormat h:mm AP REPLACEME
-timePerPage 4 REPLACEME
-TitlePlayCommand mplayer dvd://%t -dvd-device %d -fs -zoom -vo xv -aid %a -channels %c REPLACEME
-TranscodeCommand transcode REPLACEME
-TreeLevels splitartist artist album title REPLACEME
-TVVidModeForceAspect 0.0 REPLACEME
-TVVidModeForceAspect0 0.0 REPLACEME
-TVVidModeForceAspect1 0.0 REPLACEME
-TVVidModeForceAspect2 0.0 REPLACEME
-TVVidModeRefreshRate 0 REPLACEME
-TVVidModeRefreshRate0 0 REPLACEME
-TVVidModeRefreshRate1 0 REPLACEME
-TVVidModeRefreshRate2 0 REPLACEME
-TVVidModeResolution 640x480 REPLACEME
-TVVidModeResolution0 640x480 REPLACEME
-TVVidModeResolution1 640x480 REPLACEME
-TVVidModeResolution2 640x480 REPLACEME
-UDPNotifyPort 6948 REPLACEME
-UnknownCategory Unknown REPLACEME
-UnknownTitle Unknown REPLACEME
-upnp:UDN:urn:schemas-upnp-org:device:MediaServer:1 dee5b0fe-7087-4960-8794-428d3e01a61f REPLACEME
-UseArrowAccels 1 REPLACEME
-UseDHCP 1 REPLACEME
-UseOutputPictureControls 1 REPLACEME
-UseVideoModes 0 REPLACEME
-UseVideoTimebase 0 REPLACEME
-UseVirtualKeyboard 1 REPLACEME
-VCDDeviceLocation /dev/cdrom REPLACEME
-VCDPlayerCommand mplayer vcd:// -cdrom-device %d -fs -zoom -vo xv REPLACEME
-VertScanPercentage 0 REPLACEME
-VideoAggressivePC 0 REPLACEME
-VideoArtworkDir /data/media/images/posters REPLACEME
-VideoBrowserNoDB 0 REPLACEME
-VideoDefaultParentalLevel 4 REPLACEME
-VideoGalleryAspectRatio 1 REPLACEME
-VideoGalleryColsPerPage 4 REPLACEME
-VideoGalleryNoDB 0 REPLACEME
-VideoGalleryRowsPerPage 3 REPLACEME
-VideoGallerySubtitle 1 REPLACEME
-VideoDefaultPlayer /usr/bin/playmedia.sh VIDEO %s REPLACEME
-VideoListUnknownFiletypes 1 REPLACEME
-VideoNewBrowsable 1 REPLACEME
-VideoStartupDir /data/media/video/movies REPLACEME
-VideoTreeLoadMetaData 1 REPLACEME
-VideoTreeNoDB 0 REPLACEME
-VidModeHeight0 0 REPLACEME
-VidModeHeight1 0 REPLACEME
-VidModeHeight2 0 REPLACEME
-VidModeWidth0 0 REPLACEME
-VidModeWidth1 0 REPLACEME
-VidModeWidth2 0 REPLACEME
-VisualCycleOnSongChange 0 REPLACEME
-VisualMode Random REPLACEME
-VisualModeDelay 0 REPLACEME
-VisualScaleHeight 1 REPLACEME
-VisualScaleWidth 1 REPLACEME
-WatchTVGuide 0 REPLACEME
-WebBrowserCommand /usr/local/bin/mythbrowser REPLACEME
-WebBrowserHideScrollbars 0 REPLACEME
-WebBrowserScrollMode 1 REPLACEME
-WebBrowserScrollSpeed 4 REPLACEME
-WebBrowserZoomLevel 20 REPLACEME
-XScanDisplacement 0 REPLACEME
-YScanDisplacement 0 REPLACEME
diff --git a/abs/mv-core/MythVantage-config/templates/sources/mv-core b/abs/mv-core/MythVantage-config/templates/sources/mv-core
deleted file mode 100644
index f9f6c97..0000000
--- a/abs/mv-core/MythVantage-config/templates/sources/mv-core
+++ /dev/null
@@ -1,2 +0,0 @@
-#Begin official list of mirrors
-Server = http://www.mythvantage.com/repo/mv-core
diff --git a/abs/mv-core/MythVantage-config/templates/sources/mv-core-testing b/abs/mv-core/MythVantage-config/templates/sources/mv-core-testing
deleted file mode 100644
index 1fce6ea..0000000
--- a/abs/mv-core/MythVantage-config/templates/sources/mv-core-testing
+++ /dev/null
@@ -1,2 +0,0 @@
-#Begin official list of mirrors
-Server = http://www.mythvantage.com/repo/mv-core-testing
diff --git a/abs/mv-core/MythVantage-config/templates/sources/mv-extra b/abs/mv-core/MythVantage-config/templates/sources/mv-extra
deleted file mode 100644
index e13640f..0000000
--- a/abs/mv-core/MythVantage-config/templates/sources/mv-extra
+++ /dev/null
@@ -1,2 +0,0 @@
-#Begin official list of mirrors
-Server = http://www.mythvantage.com/repo/mv-extra
diff --git a/abs/mv-core/MythVantage-config/templates/sources/mv-extra-testing b/abs/mv-core/MythVantage-config/templates/sources/mv-extra-testing
deleted file mode 100644
index c176add..0000000
--- a/abs/mv-core/MythVantage-config/templates/sources/mv-extra-testing
+++ /dev/null
@@ -1,2 +0,0 @@
-##Begin official list of mirrors
-Server = http://www.mythvantage.com/repo/mv-extra-testing
diff --git a/abs/mv-core/MythVantage-config/templates/sources/svc_pkg b/abs/mv-core/MythVantage-config/templates/sources/svc_pkg
deleted file mode 100644
index c1efdcc..0000000
--- a/abs/mv-core/MythVantage-config/templates/sources/svc_pkg
+++ /dev/null
@@ -1,3 +0,0 @@
-[svc_pkg]
-Server = http://REPLACEME/repo/mirror/svc_pkg/os/i686
-
diff --git a/abs/mv-core/MythVantage-config/templates/transmit/Time_Warner_SA3250/lircd.conf b/abs/mv-core/MythVantage-config/templates/transmit/Time_Warner_SA3250/lircd.conf
deleted file mode 100755
index 51db997..0000000
--- a/abs/mv-core/MythVantage-config/templates/transmit/Time_Warner_SA3250/lircd.conf
+++ /dev/null
@@ -1,413 +0,0 @@
-#
-
-begin remote
-
- name Time_Warner_SA3250
- flags CONST_LENGTH|RAW_CODES
- eps 30
- aeps 100
-
- ptrail 0
- repeat 0 0
- gap 100240
- frequency 57600
-
- begin raw_codes
-
- name MUTE
- 972 802 971 802 1887 778
- 971 798 971 798 972 798
- 971 798 972 798 971 1677
- 972 802 1887 1656 992
-
- name POWER
- 3450 3229 894 2468 891 2468
- 893 778 892 2468 891 2469
- 917 2444 891 2468 892 2469
- 891 779 892 778 918 752
- 917 754 917 752 892 2471
- 889 779 892 779 892 777
- 892 779 892 777 868 2492
- 892 2469 891 2470 890
-
- name GUIDE
- 3397 3285 890 2470 840 2519
- 916 755 891 2470 839 2520
- 891 780 891 2474 860 2495
- 892 778 917 754 890 780
- 891 781 864 804 917 2443
- 865 805 891 779 866 2495
- 864 805 892 779 891 2469
- 865 2495 891 2469 866
-
-
- name INFO
- 3449 3231 918 2441 920 2440
- 920 750 947 2414 920 2440
- 920 750 894 777 919 750
- 947 2413 921 750 919 750
- 920 751 919 752 918 2441
- 921 749 895 776 919 2441
- 920 2440 920 2441 920 749
- 921 2439 921 2440 921
-
- name UP
- 3396 3285 915 2444 919 2442
- 918 752 916 2444 919 2441
- 919 751 916 2445 919 751
- 890 780 916 753 917 754
- 942 729 889 780 916 2445
- 919 751 915 756 914 2448
- 916 752 916 2444 918 2442
- 919 2441 918 2443 918
-
- name DOWN
- 3421 3261 890 2470 918 2442
- 919 751 916 2446 917 2441
- 919 2442 918 2442 918 752
- 916 2444 919 751 890 780
- 916 755 915 755 915 2445
- 919 753 914 755 889 781
- 889 781 916 2444 919 752
- 889 2471 919 2441 918
-
- name LEFT
- 3427 3255 918 2441 924 2437
- 920 750 918 2442 920 2441
- 919 2440 921 2439 921 750
- 919 751 944 726 919 752
- 917 753 918 751 944 2417
- 920 750 893 777 919 751
- 919 752 918 2441 921 2440
- 920 2440 920 2440 921
-
- name RIGHT
- 3424 3258 892 2466 921 2439
- 896 774 920 2441 920 2440
- 920 750 920 751 945 2414
- 921 750 919 751 920 750
- 919 752 919 751 919 2440
- 921 750 918 752 918 2442
- 920 2440 921 749 918 2443
- 920 2440 920 2441 919
-
- name SELECT
- 3424 3257 944 2416 919 2442
- 919 750 918 2442 920 2441
- 919 751 943 727 918 2442
- 920 2440 920 752 916 752
- 969 702 917 753 892 2468
- 919 751 892 778 918 2442
- 924 2436 921 750 917 753
- 918 2443 919 2441 919
-
- name SETTINGS
- 3402 3278 871 2491 921 2438
- 921 749 922 2440 919 2441
- 919 2440 921 749 921 750
- 895 2465 920 2440 921 2440
- 920 749 896 775 921 2439
- 920 749 923 748 895 775
- 922 2439 920 2440 920 749
- 897 774 896 774 921
-
- name EXIT
- 3400 3279 896 2464 921 2439
- 921 750 895 2465 921 2439
- 921 749 898 772 896 2465
- 920 2440 920 750 920 2441
- 920 749 896 774 870 2491
- 921 749 921 749 895 2465
- 921 2440 920 749 922 748
- 897 2464 920 750 896
-
- name PGUP
- 3425 3255 920 2440 920 2440
- 921 749 895 2466 920 2440
- 920 749 920 2441 896 2464
- 921 749 919 2445 917 2440
- 920 750 920 750 920 2441
- 921 748 921 749 920 2440
- 921 750 919 752 919 2440
- 921 749 921 750 919
-
- name PGDN
- 3400 3281 921 2438 921 2441
- 920 749 895 2465 896 2465
- 920 2440 920 2440 920 2440
- 921 749 896 2465 895 2465
- 920 750 895 775 920 2440
- 921 749 921 750 895 775
- 896 774 896 774 921 2439
- 921 749 921 751 894
-
- name VOLUP
- 995 778 1886 779 994 775
- 995 777 993 774 996 774
- 995 775 995 1654 1885 778
- 995 775 995 774 995
-
- name VOLDN
- 996 778 971 802 1862 803
- 970 799 996 774 995 774
- 996 774 995 1654 1886 778
- 996 773 971 1678 991
-
- name CHUP
- 3421 3259 916 2444 918 2443
- 918 751 917 2444 919 2441
- 919 2441 919 751 916 2444
- 919 2441 919 2443 918 751
- 941 729 916 755 917 2442
- 919 752 916 754 891 778
- 918 2444 918 751 916 754
- 917 753 916 2445 919
-
- name CHDN
- 3421 3260 915 2445 918 2442
- 919 751 891 2469 919 2441
- 927 745 915 2444 919 2441
- 919 2441 919 2442 918 752
- 915 755 890 780 917 2443
- 919 752 916 754 915 2445
- 919 751 915 755 890 781
- 914 756 916 2445 917
-
- name A
- 3425 3258 916 2442 920 2441
- 919 751 918 2442 919 2441
- 920 2440 920 2441 919 2441
- 919 2441 920 750 917 2443
- 920 751 917 752 919 2442
- 920 750 918 753 917 753
- 917 753 942 728 917 753
- 918 2442 920 750 942
-
- name B
- 3398 3283 916 2443 892 2470
- 892 778 892 2468 891 2475
- 886 779 916 754 892 777
- 892 778 919 2442 891 2468
- 918 753 892 778 891 2469
- 892 778 892 778 918 2443
- 891 2469 892 2467 893 2469
- 891 778 918 753 892
-
- name C
- 3396 3283 891 2469 892 2468
- 892 778 917 2444 892 2468
- 892 2469 891 778 892 779
- 893 777 892 2468 892 2468
- 918 752 893 777 892 2469
- 892 778 892 778 867 802
- 918 2444 917 2442 868 2492
- 893 778 892 779 916
-
- name 1
- 3424 3257 890 2470 865 2495
- 891 780 892 2468 865 2495
- 892 777 891 780 892 779
- 890 780 916 2444 865 805
- 891 779 917 753 916 2445
- 865 805 916 754 892 2469
- 865 2494 916 2445 865 2495
- 891 779 917 2443 866
-
- name 2
- 3422 3258 916 2444 865 2496
- 889 782 915 2444 865 2495
- 917 2444 839 830 891 780
- 915 755 890 2470 864 806
- 917 753 891 780 866 2495
- 864 805 891 779 892 779
- 865 2494 865 2496 891 2469
- 865 805 891 2469 865
-
- name 3
- 3397 3284 916 2443 892 2468
- 892 779 893 2467 892 2468
- 917 753 892 2469 891 778
- 893 778 891 2469 892 778
- 918 753 890 779 893 2468
- 891 779 893 778 891 2469
- 892 777 893 2468 891 2468
- 917 754 943 2417 892
-
- name 4
- 3421 3261 890 2470 839 2520
- 917 753 891 2470 865 2495
- 917 2443 865 2495 890 781
- 891 778 891 2470 865 804
- 895 776 892 779 891 2468
- 866 805 917 753 943 727
- 866 805 889 2471 865 2494
- 892 780 916 2444 865
-
- name 5
- 3396 3282 920 2441 892 2467
- 894 778 891 2468 892 2469
- 891 780 866 802 893 2470
- 890 779 918 2443 891 777
- 892 779 918 752 892 2468
- 892 779 918 752 918 2443
- 891 2469 891 779 891 2469
- 892 778 891 2468 893
-
- name 6
- 3396 3284 918 2442 866 2494
- 892 778 917 2444 866 2494
- 917 2444 865 804 893 2468
- 890 780 916 2445 890 779
- 892 779 891 778 918 2443
- 891 778 892 779 892 779
- 891 2468 892 778 919 2444
- 889 778 893 2468 891
-
- name 7
- 3398 3282 893 2467 892 2468
- 893 779 891 2469 891 2468
- 919 752 892 2467 892 2469
- 891 779 892 2468 892 777
- 893 778 918 752 892 2468
- 893 779 916 753 918 2442
- 892 779 891 778 893 2468
- 892 778 893 2467 892
-
- name 8
- 3448 3232 892 2468 866 2494
- 892 779 892 2467 867 2494
- 891 2469 866 2495 891 2469
- 865 805 968 2394 864 804
- 918 753 891 779 892 2468
- 866 804 917 754 891 780
- 916 752 917 754 892 2469
- 865 804 893 2468 890
-
- name 9
- 3422 3258 891 2469 839 2521
- 891 780 892 2468 824 2536
- 916 754 916 755 891 779
- 866 2494 839 2522 891 778
- 892 778 890 781 915 2448
- 837 831 891 779 890 2470
- 837 2523 942 2418 838 832
- 892 778 890 2471 839
-
- name 0
- 3398 3284 891 2469 890 2469
- 893 779 891 2468 892 2468
- 892 2468 892 778 892 779
- 891 2469 892 2468 893 778
- 892 777 893 777 893 2469
- 891 778 892 779 868 802
- 917 2443 892 2469 890 779
- 891 779 892 2468 893
-
- name LAST
- 3422 3258 891 2471 916 2443
- 891 780 891 2469 272 3088
- 865 805 916 2445 308 3052
- 890 2469 892 779 915 756
- 889 781 889 780 890 2471
- 890 779 889 781 891 2471
- 272 1397 890 779 891 781
- 890 2469 448 2912 917
-
- name FAV
- 3423 3257 918 2442 944 2417
- 917 753 892 2469 890 2471
- 324 3036 890 2469 379 289
- 167 2525 891 2470 379 2981
- 890 780 378 270 242 781
- 866 806 889 2469 786 884
- 891 779 891 779 892 779
- 916 754 890 779 892 778
- 891 2470 839
-
- name REW
- 3420 3258 916 2445 326 3033
- 891 780 916 2443 891 2469
- 916 2445 838 831 918 754
- 890 2471 837 832 916 2444
- 838 832 891 779 916 2445
- 838 831 892 779 890 780
- 892 2469 839 2520 891 780
- 915 2444 836 836 890
-
- name PLAY
- 3448 3233 916 2444 891 2469
- 917 753 892 2468 918 2443
- 941 2420 891 2468 917 754
- 915 755 914 2446 918 2443
- 916 754 916 753 945 2416
- 943 727 941 729 918 752
- 917 753 919 2442 916 2444
- 915 755 943 728 916
-
- name FF
- 3420 3259 917 2442 946 2415
- 918 752 916 2445 918 2441
- 943 728 917 753 942 728
- 892 2470 864 806 889 2471
- 865 805 918 752 916 2443
- 944 726 892 779 891 2470
- 891 2469 915 2445 917 753
- 890 2471 222 1447 891
-
- name PAUSE
- 3421 3259 891 2470 787 2573
- 890 780 916 2444 840 2520
- 892 2468 864 806 917 2444
- 839 831 890 780 891 779
- 891 780 891 779 889 2471
- 839 831 916 755 915 754
- 892 2469 839 830 917 2444
- 840 2521 891 2469 840
-
- name STOP
- 3398 3284 889 2471 325 3036
- 891 779 890 2470 395 290
- 140 2535 889 781 890 781
- 889 2470 274 1397 891 2470
- 272 3087 917 754 890 780
- 889 2472 293 1377 890 779
- 916 2444 448 2913 916 754
- 866 2495 325 1344 891 779
- 915
-
- name REC
- 3421 3258 917 2444 916 2444
- 942 729 942 2420 889 2469
- 992 2367 942 730 891 2468
- 917 754 916 2443 892 2470
- 892 777 916 754 892 2467
- 943 730 916 754 891 779
- 917 2442 917 754 943 2417
- 918 753 915 754 892
-
- name BYPASS
- 3450 3231 891 2470 890 2470
- 917 753 916 2447 913 2445
- 273 3088 889 780 890 2470
- 891 2469 916 755 890 780
- 942 727 918 752 916 2444
- 890 782 916 754 865 805
- 891 2469 891 780 889 781
- 891 2468 259 3102 866
-
- name TV/VCR
- 19945 3915 612 1873 560 1926
- 560 1925 561 931 560 931
- 587 905 559 931 563 931
- 557 932 561 1925 585 908
- 583 1901 559 931 586 905
- 585 907 610 1875 561 1924
- 561 1926 559 1926 535 1951
- 559 1925 586 907 585 1899
- 560 931 1048 7898 3707 3862
- 587 1899 586 1899 586 1900
- 559 932 586 908 323
-
- end raw_codes
-
- end remote
diff --git a/abs/mv-core/MythVantage-config/templates/xine.config.template b/abs/mv-core/MythVantage-config/templates/xine.config.template
deleted file mode 100644
index 966487f..0000000
--- a/abs/mv-core/MythVantage-config/templates/xine.config.template
+++ /dev/null
@@ -1,754 +0,0 @@
-#
-# xine config file
-#
-.version:2
-
-# Entries which are still set to their default values are commented out.
-# Remove the '#' at the beginning of the line, if you want to change them.
-
-# Enable deinterlacing by default
-# bool, default: 0
-#gui.deinterlace_by_default:0
-
-# Configuration experience level
-# { Beginner Advanced Expert Master of the known universe }, default: 0
-gui.experience_level:Expert
-
-# Enable OSD support
-# bool, default: 1
-#gui.osd_enabled:1
-
-# Dismiss OSD time (s)
-# numeric, default: 3
-#gui.osd_timeout:3
-
-# Ask user for playback with unsupported codec
-# bool, default: 0
-#gui.play_anyway:0
-
-# Automatically reload old playlist
-# bool, default: 0
-#gui.playlist_auto_reload:0
-
-# Audio visualization plugin
-# { oscope fftscope fftgraph goom }, default: 0
-gui.post_audio_plugin:fftgraph
-
-# gui skin theme
-# { Antares Centori KeramicRH8 cloudy xinetic }, default: 4
-gui.skin:KeramicRH8
-
-# Change xine's behavior for unexperienced user
-# bool, default: 1
-#gui.smart_mode:1
-
-# Snapshot location
-# string, default: /home/jams
-#gui.snapshotdir:/home/jams
-
-# Display splash screen
-# bool, default: 1
-gui.splash:0
-
-# Subtitle autoloading
-# bool, default: 1
-#gui.subtitle_autoload:1
-
-# Visual animation style
-# { None Post Plugin Stream Animation }, default: 1
-#gui.visual_anim:Post Plugin
-
-# Windows stacking (more)
-# bool, default: 0
-#gui.always_layer_above:0
-
-# Audio mixer control method
-# { Sound card Software }, default: 0
-#gui.audio_mixer_method:Sound card
-
-# Visiblility behavior of panel
-# bool, default: 0
-#gui.auto_panel_visibility:0
-
-# Visibility behavior of output window
-# bool, default: 0
-#gui.auto_video_output_visibility:0
-
-# Deinterlace plugin.
-# string, default: tvtime:method=LinearBlend,cheap_mode=1,pulldown=0,use_progressive_frame_flag=1
-#gui.deinterlace_plugin:tvtime:method=LinearBlend,cheap_mode=1,pulldown=0,use_progressive_frame_flag=1
-
-# Event sender behavior
-# bool, default: 1
-#gui.eventer_sticky:1
-
-# Windows stacking
-# bool, default: 0
-#gui.layer_above:0
-
-# Use unscaled OSD
-# bool, default: 1
-gui.osd_use_unscaled:0
-
-# Screensaver reset interval (s)
-# numeric, default: 10
-#gui.screensaver_timeout:10
-
-# Menu shortcut style
-# { Windows style Emacs style }, default: 0
-#gui.shortcut_style:Windows style
-
-# Stream information
-# bool, default: 0
-#gui.sinfo_auto_update:0
-
-# Skin Server Url
-# string, default: http://xine.sourceforge.net/skins/skins.slx
-#gui.skin_server_url:http://xine.sourceforge.net/skins/skins.slx
-
-# Chapter hopping
-# bool, default: 1
-#gui.skip_by_chapter:1
-
-# New stream sizes resize output window
-# bool, default: 1
-#gui.stream_resize_window:1
-
-# Tips timeout (ms)
-# numeric, default: 5000
-#gui.tips_timeout:5000
-
-# gui tips visibility
-# bool, default: 1
-#gui.tips_visible:1
-
-# Name of video display
-# string, default:
-#gui.video_display:
-
-# Synchronized X protocol (debug)
-# bool, default: 0
-#gui.xsynchronize:0
-
-# Double size for small streams (require stream_resize_window)
-# bool, default: 0
-#gui.zoom_small_stream:0
-
-# Logo mrl
-# string, default: file:/usr/share/xine/skins/xine-ui_logo.mpv
-#gui.logo_mrl:file:/usr/share/xine/skins/xine-ui_logo.mpv
-
-# use XVidModeExtension when switching to fullscreen
-# bool, default: 0
-#gui.use_xvidext:0
-
-# height for xinerama fullscreen (-8192 = autodetect)
-# numeric, default: -8192
-#gui.xinerama_fullscreen_height:-8192
-
-# width for xinerama fullscreen (-8192 = autodetect)
-# numeric, default: -8192
-#gui.xinerama_fullscreen_width:-8192
-
-# x coordinate for xinerama fullscreen (-8192 = autodetect)
-# numeric, default: -8192
-#gui.xinerama_fullscreen_x:-8192
-
-# y coordinate for xinerama fullscreen (-8192 = autodetect)
-# numeric, default: -8192
-#gui.xinerama_fullscreen_y:-8192
-
-# Screens to use in order to do a very fullscreen in xinerama mode. (example 0 2 3)
-# string, default: 0 1
-#gui.xinerama_use_screens:0 1
-
-# Amplification level
-# [0..200], default: 100
-#gui.amp_level:100
-
-# gui panel visibility
-# bool, default: 1
-gui.panel_visible:0
-
-# numeric, default: 200
-gui.panel_x:21
-
-# numeric, default: 100
-gui.panel_y:1050
-
-gui.control_x:186
-
-gui.control_y:46
-
-gui.dropped_frames_warning:0
-
-gui.eventer_x:1041
-
-gui.eventer_y:781
-
-gui.mrl_browser_x:23
-
-gui.mrl_browser_y:9
-
-gui.setup_x:717
-
-gui.setup_y:227
-
-gui.viewlog_x:200
-
-gui.viewlog_y:210
-
-# color specification yuv-opacity
-# string, default: 8080c0-f
-#gui.osdmenu.color_focused_button:8080c0-f
-
-# color specification yuv-opacity
-# string, default: 808080-f
-#gui.osdmenu.color_focused_slider:808080-f
-
-# color specification yuv-opacity
-# string, default: ff8080-f
-#gui.osdmenu.color_focused_slider_knob:ff8080-f
-
-# color specification yuv-opacity
-# string, default: 808080-f
-#gui.osdmenu.color_focused_text_border:808080-f
-
-# color specification yuv-opacity
-# string, default: ff8080-f
-#gui.osdmenu.color_focused_text_foreground:ff8080-f
-
-# color specification yuv-opacity
-# string, default: 0080c0-f
-#gui.osdmenu.color_label_border:0080c0-f
-
-# color specification yuv-opacity
-# string, default: c08080-f
-#gui.osdmenu.color_label_foreground:c08080-f
-
-# color specification yuv-opacity
-# string, default: 0080c0-f
-#gui.osdmenu.color_label_window:0080c0-f
-
-# color specification yuv-opacity
-# string, default: 008000-f
-#gui.osdmenu.color_slider:008000-f
-
-# color specification yuv-opacity
-# string, default: ffff00-f
-#gui.osdmenu.color_slider_knob:ffff00-f
-
-# color specification yuv-opacity
-# string, default: 008000-f
-#gui.osdmenu.color_text_border:008000-f
-
-# color specification yuv-opacity
-# string, default: ffff00-f
-#gui.osdmenu.color_text_foreground:ffff00-f
-
-# color specification yuv-opacity
-# string, default: 0080c0-f
-#gui.osdmenu.color_text_window:0080c0-f
-
-# directory a media in dvd device will be mounted
-# string, default: /dvd
-#gui.osdmenu.dvd_mountpoint:/dvd
-
-# palette (foreground-border-background) to use for subtitles and OSD
-# { white-black-transparent white-none-transparent white-none-translucid yellow-black-transparent }, default: 0
-#ui.osd.text_palette:white-black-transparent
-
-# audio driver to use
-# { auto null alsa oss esd file none }, default: 0
-audio.driver:oss
-
-# a/v sync method to use by OSS
-# { auto getodelay getoptr softsync probebuffer }, default: 0
-#audio.oss_sync_method:auto
-
-# use A/52 dynamic range compression
-# bool, default: 0
-#audio.a52.dynamic_range:0
-
-# downmix audio to 2 channel surround stereo
-# bool, default: 0
-#audio.a52.surround_downmix:0
-
-# A/52 volume
-# [0..200], default: 100
-#audio.a52.level:100
-
-# OSS audio device name
-# { auto /dev/dsp /dev/sound/dsp }, default: 0
-#audio.device.oss_device_name:auto
-
-# OSS audio device number, -1 for none
-# numeric, default: -1
-#audio.device.oss_device_number:-1
-
-# OSS audio mixer number, -1 for none
-# numeric, default: -1
-#audio.device.oss_mixer_number:-1
-
-audio.device.alsa_front_device:default
-
-# speaker arrangement
-# { Mono 1.0 Stereo 2.0 Headphones 2.0 Stereo 2.1 Surround 3.0 Surround 4.0 Surround 4.1 Surround 5.0 Surround 5.1 Surround 6.0 Surround 6.1 Surround 7.1 Pass Through }, default: 1
-#audio.output.speaker_arrangement:Stereo 2.0
-
-# offset for digital passthrough
-# numeric, default: 0
-#audio.synchronization.passthrough_offset:0
-
-# play audio even on slow/fast speeds
-# bool, default: 0
-#audio.synchronization.slow_fast_audio:0
-
-# method to sync audio and video
-# { metronom feedback resample }, default: 0
-#audio.synchronization.av_sync_method:metronom feedback
-
-# always resample to this rate (0 to disable)
-# numeric, default: 0
-#audio.synchronization.force_rate:0
-
-# enable resampling
-# { auto off on }, default: 0
-#audio.synchronization.resample_mode:auto
-
-# startup audio volume
-# [0..100], default: 50
-#audio.volume.mixer_volume:50
-
-# restore volume level at startup
-# bool, default: 0
-#audio.volume.remember_volume:0
-
-# video driver to use
-# { auto aadxr3 dxr3 xv opengl SyncFB xshm none xxmc sdl vidixfb vidix fb xvmc }, default: 0
-#video.driver:auto
-
-# pitch alignment workaround
-# bool, default: 0
-#video.device.xv_pitch_alignment:0
-
-# disable exact alpha blending of overlays
-# bool, default: 0
-#video.output.disable_exact_alphablend:0
-
-# disable all video scaling
-# bool, default: 0
-#video.output.disable_scaling:0
-
-# horizontal image position in the output window
-# [0..100], default: 50
-#video.output.horizontal_position:50
-
-# vertical image position in the output window
-# [0..100], default: 50
-#video.output.vertical_position:50
-
-# deinterlace method (deprecated)
-# { none bob weave greedy onefield onefield_xv linearblend }, default: 4
-video.output.xv_deinterlace_method:linearblend
-
-# MPEG-4 postprocessing quality
-# [0..6], default: 3
-#video.processing.ffmpeg_pp_quality:3
-
-# DXR3 device number
-# numeric, default: 0
-#dxr3.device_number:0
-
-# swap odd and even lines
-# bool, default: 0
-#dxr3.encoding.swap_fields:0
-
-# add black bars to correct aspect ratio
-# bool, default: 1
-#dxr3.encoding.add_bars:1
-
-# use smooth play mode for mpeg encoder playback
-# bool, default: 1
-#dxr3.encoding.alt_play_mode:1
-
-# device used for CD audio
-# string, default: /dev/cdrom
-#media.audio_cd.device:/dev/cdrom
-
-# slow down disc drive to this speed factor
-# numeric, default: 4
-#media.audio_cd.drive_slowdown:4
-
-# query CDDB
-# bool, default: 1
-#media.audio_cd.use_cddb:1
-
-# CDDB cache directory
-# string, default: /home/jams/.xine/cddbcache
-#media.audio_cd.cddb_cachedir:/home/jams/.xine/cddbcache
-
-# CDDB server port
-# numeric, default: 8880
-#media.audio_cd.cddb_port:8880
-
-# CDDB server name
-# string, default: freedb.freedb.org
-#media.audio_cd.cddb_server:freedb.freedb.org
-
-# directory for saving streams
-# string, default:
-#media.capture.save_dir:
-
-# Number of dvb card to use.
-# numeric, default: 0
-#media.dvb.adapter:0
-
-# Remember last DVB channel watched
-# bool, default: 1
-#media.dvb.remember_channel:1
-
-# Last DVB channel viewed
-# numeric, default: -1
-#media.dvb.last_channel:-1
-
-# default language for DVD playback
-# string, default: en
-#media.dvd.language:en
-
-# region the DVD player claims to be in (1 to 8)
-# numeric, default: 1
-#media.dvd.region:1
-
-# device used for DVD playback
-# string, default: /dev/dvd
-#media.dvd.device:/dev/dvd
-
-# raw device set up for DVD access
-# string, default: /dev/rdvd
-#media.dvd.raw_device:/dev/rdvd
-
-# read-ahead caching
-# bool, default: 1
-#media.dvd.readahead:1
-
-# CSS decryption method
-# { key disc title }, default: 0
-#media.dvd.css_decryption_method:key
-
-# play mode when title/chapter is given
-# { entire dvd one chapter }, default: 0
-#media.dvd.play_single_chapter:entire dvd
-
-# unit for seeking
-# { seek in program chain seek in program }, default: 0
-#media.dvd.seek_behaviour:seek in program chain
-
-# unit for the skip action
-# { skip program skip part skip title }, default: 0
-#media.dvd.skip_behaviour:skip program
-
-# path to the title key cache
-# string, default: /home/jams/.dvdcss/
-#media.dvd.css_cache_path:/home/jams/.dvdcss/
-
-# file browsing start location
-# string, default: /home/jams
-#media.files.origin_path:/home/jams
-
-# list hidden files
-# bool, default: 0
-#media.files.show_hidden_files:0
-
-# network bandwidth
-# { 14.4 Kbps (Modem) 19.2 Kbps (Modem) 28.8 Kbps (Modem) 33.6 Kbps (Modem) 34.4 Kbps (Modem) 57.6 Kbps (Modem) 115.2 Kbps (ISDN) 262.2 Kbps (Cable/DSL) 393.2 Kbps (Cable/DSL) 524.3 Kbps (Cable/DSL) 1.5 Mbps (T1) 10.5 Mbps (LAN) }, default: 10
-#media.network.bandwidth:1.5 Mbps (T1)
-
-# Timeout for network stream reading (in seconds)
-# numeric, default: 30
-#media.network.timeout:30
-
-# Domains for which to ignore the HTTP proxy
-# string, default:
-#media.network.http_no_proxy:
-
-# HTTP proxy host
-# string, default:
-#media.network.http_proxy_host:
-
-# HTTP proxy password
-# string, default:
-#media.network.http_proxy_password:
-
-# HTTP proxy port
-# numeric, default: 80
-#media.network.http_proxy_port:80
-
-# HTTP proxy username
-# string, default:
-#media.network.http_proxy_user:
-
-# MMS protocol
-# { auto TCP HTTP }, default: 0
-#media.network.mms_protocol:auto
-
-# automatically advance VCD track/entry
-# bool, default: 1
-#media.vcd.autoadvance:1
-
-# VCD default type to use on autoplay
-# { MPEG track entry segment playback-control item }, default: 3
-#media.vcd.autoplay:playback-control item
-
-# CD-ROM drive used for VCD when none given
-# string, default:
-#media.vcd.device:
-
-# VCD position slider range
-# { auto track entry }, default: 0
-#media.vcd.length_reporting:auto
-
-# show 'rejected' VCD LIDs
-# bool, default: 0
-#media.vcd.show_rejected:0
-
-# VCD format string for stream comment field
-# string, default: %P - Track %T
-#media.vcd.comment_format:%P - Track %T
-
-# VCD debug flag mask
-# numeric, default: 0
-#media.vcd.debug:0
-
-# VCD format string for display banner
-# string, default: %F - %I %N%L%S, disk %c of %C - %v %A
-#media.vcd.title_format:%F - %I %N%L%S, disk %c of %C - %v %A
-
-# v4l radio device
-# string, default: /dev/v4l/radio0
-#media.video4linux.radio_device:/dev/v4l/radio0
-
-# v4l video device
-# string, default: /dev/v4l/video0
-#media.video4linux.video_device:/dev/v4l/video0
-
-# device used for WinTV-PVR 250/350 (pvr plugin)
-# string, default: /dev/video0
-#media.wintv_pvr.device:/dev/video0
-
-# path to RealPlayer codecs
-# string, default: /usr/lib/win32
-#decoder.external.real_codecs_path:/usr/lib/win32
-
-# path to Win32 codecs
-# string, default: /usr/lib/win32
-#decoder.external.win32_codecs_path:/usr/lib/win32
-
-# subtitle size
-# { tiny small normal large very large huge }, default: 1
-#subtitles.separate.subtitle_size:small
-
-# subtitle vertical offset
-# numeric, default: 0
-#subtitles.separate.vertical_offset:0
-
-# font for subtitles
-# string, default: sans
-#subtitles.separate.font:sans
-
-# encoding of the subtitles
-# string, default: iso-8859-1
-#subtitles.separate.src_encoding:iso-8859-1
-
-# use unscaled OSD if possible
-# bool, default: 1
-#subtitles.separate.use_unscaled_osd:1
-
-# default duration of subtitle display in seconds
-# numeric, default: 4
-#subtitles.separate.timeout:4
-
-# frames per second to generate
-# numeric, default: 14
-#effects.goom.fps:14
-
-# goom image height
-# numeric, default: 240
-#effects.goom.height:240
-
-# goom image width
-# numeric, default: 320
-#effects.goom.width:320
-
-# colorspace conversion method
-# { Fast but not photorealistic Slow but looks better }, default: 0
-#effects.goom.csc_method:Fast but not photorealistic
-
-# number of audio buffers
-# numeric, default: 230
-#engine.buffers.audio_num_buffers:230
-
-# number of video buffers
-# numeric, default: 500
-#engine.buffers.video_num_buffers:500
-
-# default number of video frames
-# numeric, default: 15
-#engine.buffers.video_num_frames:15
-
-# priority for a/52 decoder
-# numeric, default: 0
-#engine.decoder_priorities.a/52:0
-
-# priority for bitplane decoder
-# numeric, default: 0
-#engine.decoder_priorities.bitplane:0
-
-# priority for dts decoder
-# numeric, default: 0
-#engine.decoder_priorities.dts:0
-
-# priority for dvaudio decoder
-# numeric, default: 0
-#engine.decoder_priorities.dvaudio:0
-
-# priority for dxr3-mpeg2 decoder
-# numeric, default: 0
-#engine.decoder_priorities.dxr3-mpeg2:0
-
-# priority for dxr3-spudec decoder
-# numeric, default: 0
-#engine.decoder_priorities.dxr3-spudec:0
-
-# priority for faad decoder
-# numeric, default: 0
-#engine.decoder_priorities.faad:0
-
-# priority for ffmpeg-wmv8 decoder
-# numeric, default: 0
-#engine.decoder_priorities.ffmpeg-wmv8:0
-
-# priority for ffmpeg-wmv9 decoder
-# numeric, default: 0
-#engine.decoder_priorities.ffmpeg-wmv9:0
-
-# priority for ffmpegaudio decoder
-# numeric, default: 0
-#engine.decoder_priorities.ffmpegaudio:0
-
-# priority for ffmpegvideo decoder
-# numeric, default: 0
-#engine.decoder_priorities.ffmpegvideo:0
-
-# priority for gdkpixbuf decoder
-# numeric, default: 0
-#engine.decoder_priorities.gdkpixbuf:0
-
-# priority for gsm610 decoder
-# numeric, default: 0
-#engine.decoder_priorities.gsm610:0
-
-# priority for image decoder
-# numeric, default: 0
-#engine.decoder_priorities.image:0
-
-# priority for mad decoder
-# numeric, default: 0
-#engine.decoder_priorities.mad:0
-
-# priority for mpc decoder
-# numeric, default: 0
-#engine.decoder_priorities.mpc:0
-
-# priority for mpeg2 decoder
-# numeric, default: 0
-#engine.decoder_priorities.mpeg2:0
-
-# priority for nsf decoder
-# numeric, default: 0
-#engine.decoder_priorities.nsf:0
-
-# priority for pcm decoder
-# numeric, default: 0
-#engine.decoder_priorities.pcm:0
-
-# priority for qta decoder
-# numeric, default: 0
-#engine.decoder_priorities.qta:0
-
-# priority for qtv decoder
-# numeric, default: 0
-#engine.decoder_priorities.qtv:0
-
-# priority for real decoder
-# numeric, default: 0
-#engine.decoder_priorities.real:0
-
-# priority for realadec decoder
-# numeric, default: 0
-#engine.decoder_priorities.realadec:0
-
-# priority for rgb decoder
-# numeric, default: 0
-#engine.decoder_priorities.rgb:0
-
-# priority for spucc decoder
-# numeric, default: 0
-#engine.decoder_priorities.spucc:0
-
-# priority for spucmml decoder
-# numeric, default: 0
-#engine.decoder_priorities.spucmml:0
-
-# priority for spudec decoder
-# numeric, default: 0
-#engine.decoder_priorities.spudec:0
-
-# priority for spudvb decoder
-# numeric, default: 0
-#engine.decoder_priorities.spudvb:0
-
-# priority for sputext decoder
-# numeric, default: 0
-#engine.decoder_priorities.sputext:0
-
-# priority for theora decoder
-# numeric, default: 0
-#engine.decoder_priorities.theora:0
-
-# priority for vorbis decoder
-# numeric, default: 0
-#engine.decoder_priorities.vorbis:0
-
-# priority for win32a decoder
-# numeric, default: 0
-#engine.decoder_priorities.win32a:0
-
-# priority for win32v decoder
-# numeric, default: 0
-#engine.decoder_priorities.win32v:0
-
-# priority for yuv decoder
-# numeric, default: 0
-#engine.decoder_priorities.yuv:0
-
-# media format detection strategy
-# { default reverse content extension }, default: 0
-#engine.demux.strategy:default
-
-# memcopy method used by xine
-# { probe libc kernel mmx mmxext sse }, default: 0
-engine.performance.memcpy_method:libc
-
-# percentage of discarded frames to tolerate
-# numeric, default: 10
-#engine.performance.warn_discarded_threshold:10
-
-# percentage of skipped frames to tolerate
-# numeric, default: 10
-#engine.performance.warn_skipped_threshold:10
-
-# allow implicit changes to the configuration (e.g. by MRL)
-# bool, default: 0
-#misc.implicit_config:0
-
diff --git a/abs/mv-core/MythVantage-config/templates/xorg/96xx_supported.txt b/abs/mv-core/MythVantage-config/templates/xorg/96xx_supported.txt
deleted file mode 100644
index dd4833a..0000000
--- a/abs/mv-core/MythVantage-config/templates/xorg/96xx_supported.txt
+++ /dev/null
@@ -1,175 +0,0 @@
- NVIDIA GPU product Device PCI ID
-
- GeForce 6800 Ultra 0x0040
- GeForce 6800 0x0041
- GeForce 6800 XE 0x0043
- GeForce 6800 XT 0x0044
- GeForce 6800 GT 0x0045
- GeForce 6800 GT 0x0046
- GeForce 6800 GS 0x0047
- GeForce 6800 XT 0x0048
- Quadro FX 4000 0x004E
- GeForce 7800 GTX 0x0090
- GeForce 7800 GTX 0x0091
- GeForce 7800 GT 0x0092
- GeForce 7800 GS 0x0093
- GeForce Go 7800 0x0098
- GeForce Go 7800 GTX 0x0099
- Quadro FX 4500 0x009D
- GeForce 6800 GS 0x00C0
- GeForce 6800 0x00C1
- GeForce 6800 LE 0x00C2
- GeForce 6800 XT 0x00C3
- GeForce Go 6800 0x00C8
- GeForce Go 6800 Ultra 0x00C9
- Quadro FX Go1400 0x00CC
- Quadro FX 3450/4000 SDI 0x00CD
- Quadro FX 1400 0x00CE
- GeForce 6800/GeForce 6800 Ultra 0x00F0
- GeForce 6600/GeForce 6600 GT 0x00F1
- GeForce 6600 0x00F2
- GeForce 6200 0x00F3
- GeForce 6600 LE 0x00F4
- GeForce 7800 GS 0x00F5
- GeForce 6800 GS 0x00F6
- Quadro FX 3400/4400 0x00F8
- GeForce 6800 Ultra 0x00F9
- GeForce PCX 5750 0x00FA
- GeForce PCX 5900 0x00FB
- Quadro FX 330/GeForce PCX 5300 0x00FC
- Quadro NVS 280 PCI-E/Quadro FX 330 0x00FD
- Quadro FX 1300 0x00FE
- GeForce PCX 4300 0x00FF
- GeForce2 MX/MX 400 0x0110
- GeForce2 MX 100/200 0x0111
- GeForce2 Go 0x0112
- Quadro2 MXR/EX/Go 0x0113
- GeForce 6600 GT 0x0140
- GeForce 6600 0x0141
- GeForce 6600 LE 0x0142
- GeForce 6600 VE 0x0143
- GeForce Go 6600 0x0144
- GeForce 6610 XL 0x0145
- GeForce Go 6600 TE/6200 TE 0x0146
- GeForce Go 6600 0x0148
- GeForce Go 6600 GT 0x0149
- Quadro NVS 440 0x014A
- Quadro FX 550 0x014C
- Quadro FX 540 0x014E
- GeForce 6200 0x014F
- GeForce 6500 0x0160
- GeForce 6200 TurboCache(TM) 0x0161
- GeForce Go 6200 0x0164
- Quadro NVS 285 0x0165
- GeForce Go 6400 0x0166
- GeForce Go 6200 0x0167
- GeForce Go 6400 0x0168
- GeForce4 MX 460 0x0170
- GeForce4 MX 440 0x0171
- GeForce4 MX 420 0x0172
- GeForce4 MX 440-SE 0x0173
- GeForce4 440 Go 0x0174
- GeForce4 420 Go 0x0175
- GeForce4 420 Go 32M 0x0176
- GeForce4 460 Go 0x0177
- Quadro4 550 XGL 0x0178
- GeForce4 440 Go 64M 0x0179
- Quadro NVS 0x017A
- Quadro4 500 GoGL 0x017C
- GeForce4 410 Go 16M 0x017D
- GeForce4 MX 440 with AGP8X 0x0181
- GeForce4 MX 440SE with AGP8X 0x0182
- GeForce4 MX 420 with AGP8X 0x0183
- GeForce4 MX 4000 0x0185
- Quadro4 580 XGL 0x0188
- Quadro NVS with AGP8X 0x018A
- Quadro4 380 XGL 0x018B
- Quadro NVS 50 PCI 0x018C
- GeForce2 Integrated GPU 0x01A0
- GeForce 7300 LE 0x01D1
- Quadro NVS 110M 0x01D7
- GeForce Go 7300 0x01D7
- GeForce Go 7400 0x01D8
- Quadro NVS 110M 0x01DA
- Quadro NVS 120M 0x01DB
- Quadro FX 350M 0x01DC
- Quadro FX 350 0x01DE
- GeForce 7300 GS 0x01DF
- GeForce4 MX Integrated GPU 0x01F0
- GeForce3 0x0200
- GeForce3 Ti 200 0x0201
- GeForce3 Ti 500 0x0202
- Quadro DCC 0x0203
- GeForce 6800 0x0211
- GeForce 6800 LE 0x0212
- GeForce 6800 GT 0x0215
- GeForce 6800 XT 0x0218
- GeForce 6150 0x0240
- GeForce 6150 LE 0x0241
- GeForce 6100 0x0242
- GeForce4 Ti 4600 0x0250
- GeForce4 Ti 4400 0x0251
- GeForce4 Ti 4200 0x0253
- Quadro4 900 XGL 0x0258
- Quadro4 750 XGL 0x0259
- Quadro4 700 XGL 0x025B
- GeForce4 Ti 4800 0x0280
- GeForce4 Ti 4200 with AGP8X 0x0281
- GeForce4 Ti 4800 SE 0x0282
- GeForce4 4200 Go 0x0286
- Quadro4 980 XGL 0x0288
- Quadro4 780 XGL 0x0289
- Quadro4 700 GoGL 0x028C
- GeForce 7900 GTX 0x0290
- GeForce 7900 GT 0x0291
- GeForce Go 7900 GS 0x0298
- GeForce Go 7900 GTX 0x0299
- Quadro FX 2500M 0x029A
- Quadro FX 1500M 0x029B
- Quadro FX 5500 0x029C
- Quadro FX 3500 0x029D
- Quadro FX 1500 0x029E
- Quadro FX 4500 X2 0x029F
- GeForce 7600 GS 0x02E1
- GeForce FX 5800 Ultra 0x0301
- GeForce FX 5800 0x0302
- Quadro FX 2000 0x0308
- Quadro FX 1000 0x0309
- GeForce FX 5600 Ultra 0x0311
- GeForce FX 5600 0x0312
- GeForce FX 5600XT 0x0314
- GeForce FX Go5600 0x031A
- GeForce FX Go5650 0x031B
- Quadro FX Go700 0x031C
- GeForce FX 5200 0x0320
- GeForce FX 5200 Ultra 0x0321
- GeForce FX 5200 0x0322
- GeForce FX 5200LE 0x0323
- GeForce FX Go5200 0x0324
- GeForce FX Go5250 0x0325
- GeForce FX 5500 0x0326
- GeForce FX 5100 0x0327
- GeForce FX Go5200 32M/64M 0x0328
- Quadro NVS 280 PCI 0x032A
- Quadro FX 500/600 PCI 0x032B
- GeForce FX Go53xx 0x032C
- GeForce FX Go5100 0x032D
- GeForce FX 5900 Ultra 0x0330
- GeForce FX 5900 0x0331
- GeForce FX 5900XT 0x0332
- GeForce FX 5950 Ultra 0x0333
- GeForce FX 5900ZT 0x0334
- Quadro FX 3000 0x0338
- Quadro FX 700 0x033F
- GeForce FX 5700 Ultra 0x0341
- GeForce FX 5700 0x0342
- GeForce FX 5700LE 0x0343
- GeForce FX 5700VE 0x0344
- GeForce FX Go5700 0x0347
- GeForce FX Go5700 0x0348
- Quadro FX Go1000 0x034C
- Quadro FX 1100 0x034E
- GeForce 7600 GT 0x0391
- GeForce 7600 GS 0x0392
- GeForce Go 7600 0x0398
- Quadro FX 560 0x039E \ No newline at end of file
diff --git a/abs/mv-core/MythVantage-config/templates/xorg/modeline.ATSC b/abs/mv-core/MythVantage-config/templates/xorg/modeline.ATSC
deleted file mode 100644
index b2cd709..0000000
--- a/abs/mv-core/MythVantage-config/templates/xorg/modeline.ATSC
+++ /dev/null
@@ -1,33 +0,0 @@
-ModeLine "ATSC-720p60Hz" 74.160 1280 1352 1392 1648 720 725 730 750
-
-ModeLine "My480p" 28.6 720 744 768 900 480 484 492 525
-
-ModeLine "My540p" 37.26 960 976 1008 1104 540 542 548 563 +hsync +vsync
-
-ModeLine "My720p" 73.825 1280 1320 1368 1640 720 722 724 751 +hsync +vsync 74.086 MHz 44.955 kHz 5$
-
-ModeLine "My720p2" 73.825 1280 1320 1368 1640 720 722 724 751 +hsync +vsync 74.086 MHz 44.955 kHz 5$
-
-ModeLine "My1080i" 79.84 1920 2040 2200 2368 1080 1090 1106 1125 +vsync -hsync interlace
-
-ModeLine "My1080i2" 74.52 1920 1952 2016 2208 1080 1084 1096 1126 -hsync -vsync interlace
-
-Modeline "My1920x1080_i" 74.52 1920 1952 2016 2208 1080 1084 1096 1126 -HSync -VSync Interlace
-
-Modeline "in1080_i" 74.52 1760 1888 2096 2208 960 1012 1028 1126 -HSync -VSync Interlace
-
-Modeline "1920x1080_59i" 76.11 1920 1952 2240 2272 1080 1104 1110 1135 interlace
-
-Modeline "1920x1080_60i" 77.60 1920 1952 2240 2272 1080 1104 1110 1135 interlace
-
-Modeline "1920x1080_61i" 79.08 1920 1952 2248 2280 1080 1104 1110 1135 interlace
-
-Modeline "1776x1000_60i" 65.91 1776 1808 2056 2088 1000 1023 1028 1051 interlace
-
-Modeline "1920x1080_30" 77.60 1920 1952 2240 2272 1080 1104 1110 1135
-
-Modeline "1760x960_60i" 62.39 1760 1792 2024 2056 960 982 987 1009 interlace
-
-Modeline "1280x720_60.00" 74.25 1280 1352 1432 1648 720 725 730 750 -hsync -vsync
-
-Modeline "1280x720_50.00" 74.25 1280 1360 1400 1984 720 725 730 750 -hsync -vsync
diff --git a/abs/mv-core/MythVantage-config/templates/xorg/modeline.DVD b/abs/mv-core/MythVantage-config/templates/xorg/modeline.DVD
deleted file mode 100644
index 9e846d0..0000000
--- a/abs/mv-core/MythVantage-config/templates/xorg/modeline.DVD
+++ /dev/null
@@ -1,9 +0,0 @@
-#DVD-NativeModes
-ModeLine "NTSC-DVD-59.94i" 13.5 720 736 800 858 480 484 492 525 Interlace
-ModeLine "NTSC-DVD-60i" 13.514 720 736 800 858 480 484 492 525 Interlace
-ModeLine "NTSC-DVD-59.94p" 27.0 720 736 800 858 480 484 492 525
-ModeLine "NTSC-DVD-60p" 27.027 720 736 800 858 480 484 492 525
-ModeLine "NTSC-DVD-71.93p" 32.4 720 736 800 858 480 484 492 525
-ModeLine "NTSC-DVD-72p" 32.432 720 736 800 858 480 484 492 525
-ModeLine "NTSC-DVD-119.88p" 54.0 720 736 800 858 480 484 492 525
-ModeLine "NTSC-DVD-120p" 54.054 720 736 800 858 480 484 492 525
diff --git a/abs/mv-core/MythVantage-config/templates/xorg/modeline.NTSC b/abs/mv-core/MythVantage-config/templates/xorg/modeline.NTSC
deleted file mode 100644
index 5536c1b..0000000
--- a/abs/mv-core/MythVantage-config/templates/xorg/modeline.NTSC
+++ /dev/null
@@ -1,10 +0,0 @@
-#Analog-RegularModes
-ModeLine "NTSCspec-59.94i" 14.318 768 784 848 910 483 484 492 525 Interlace
-ModeLine "NTSCspec-59.94p" 28.636 768 784 848 910 483 484 492 525
-ModeLine "Laserdisk-59.94i" 567 583 647 684 483 484 492 525 Interlace
-ModeLine "Laserdisk-59.94p" 567 583 647 684 483 484 492 525
-ModeLine "Broadcast-59.94i" 483 484 492 525 Interlace
-ModeLine "Broadcast-59.94p" 483 484 492 525
-ModeLine "VHS-59.94i" 483 484 492 525 Interlace
-ModeLine "VHS-59.94p" 483 484 492 525
-
diff --git a/abs/mv-core/MythVantage-config/templates/xorg/modeline.VESA b/abs/mv-core/MythVantage-config/templates/xorg/modeline.VESA
deleted file mode 100644
index a026f64..0000000
--- a/abs/mv-core/MythVantage-config/templates/xorg/modeline.VESA
+++ /dev/null
@@ -1,163 +0,0 @@
-# 640x350 @ 85Hz (VESA) hsync: 37.9kHz
-ModeLine "640x350" 31.5 640 672 736 832 350 382 385 445 +hsync -vsync
-
-# 640x400 @ 85Hz (VESA) hsync: 37.9kHz
-ModeLine "640x400" 31.5 640 672 736 832 400 401 404 445 -hsync +vsync
-
-# 720x400 @ 85Hz (VESA) hsync: 37.9kHz
-ModeLine "720x400" 35.5 720 756 828 936 400 401 404 446 -hsync +vsync
-
-# 640x480 @ 60Hz (Industry standard) hsync: 31.5kHz
-ModeLine "640x480" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
-
-# 640x480 @ 72Hz (VESA) hsync: 37.9kHz
-ModeLine "640x480" 31.5 640 664 704 832 480 489 491 520 -hsync -vsync
-
-# 640x480 @ 75Hz (VESA) hsync: 37.5kHz
-ModeLine "640x480" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync
-
-# 640x480 @ 85Hz (VESA) hsync: 43.3kHz
-ModeLine "640x480" 36.0 640 696 752 832 480 481 484 509 -hsync -vsync
-
-# 800x600 @ 56Hz (VESA) hsync: 35.2kHz
-ModeLine "800x600" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
-
-# 800x600 @ 60Hz (VESA) hsync: 37.9kHz
-ModeLine "800x600" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
-
-# 800x600 @ 72Hz (VESA) hsync: 48.1kHz
-ModeLine "800x600" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
-
-# 800x600 @ 75Hz (VESA) hsync: 46.9kHz
-ModeLine "800x600" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
-
-# 800x600 @ 85Hz (VESA) hsync: 53.7kHz
-ModeLine "800x600" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync
-
-# 1024x768i @ 43Hz (industry standard) hsync: 35.5kHz
-ModeLine "1024x768" 44.9 1024 1032 1208 1264 768 768 776 817 +hsync +vsync Interlace
-
-# 1024x768 @ 60Hz (VESA) hsync: 48.4kHz
-ModeLine "1024x768" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
-
-# 1024x768 @ 70Hz (VESA) hsync: 56.5kHz
-ModeLine "1024x768" 75.0 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
-
-# 1024x768 @ 75Hz (VESA) hsync: 60.0kHz
-ModeLine "1024x768" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
-
-# 1024x768 @ 85Hz (VESA) hsync: 68.7kHz
-ModeLine "1024x768" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
-
-# 1152x864 @ 75Hz (VESA) hsync: 67.5kHz
-ModeLine "1152x864" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
-
-# 1280x960 @ 60Hz (VESA) hsync: 60.0kHz
-ModeLine "1280x960" 108.0 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync
-
-# 1280x960 @ 85Hz (VESA) hsync: 85.9kHz
-ModeLine "1280x960" 148.5 1280 1344 1504 1728 960 961 964 1011 +hsync +vsync
-
-# 1280x1024 @ 60Hz (VESA) hsync: 64.0kHz
-ModeLine "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
-
-# 1280x1024 @ 75Hz (VESA) hsync: 80.0kHz
-ModeLine "1280x1024" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
-
-# 1280x1024 @ 85Hz (VESA) hsync: 91.1kHz
-ModeLine "1280x1024" 157.5 1280 1344 1504 1728 1024 1025 1028 1072 +hsync +vsync
-
-# 1600x1200 @ 60Hz (VESA) hsync: 75.0kHz
-ModeLine "1600x1200" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
-# 1600x1200 @ 65Hz (VESA) hsync: 81.3kHz
-ModeLine "1600x1200" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
-
-# 1600x1200 @ 70Hz (VESA) hsync: 87.5kHz
-ModeLine "1600x1200" 189.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
-
-# 1600x1200 @ 75Hz (VESA) hsync: 93.8kHz
-ModeLine "1600x1200" 202.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
-
-# 1600x1200 @ 85Hz (VESA) hsync: 106.3kHz
-ModeLine "1600x1200" 229.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
-
-# 1792x1344 @ 60Hz (VESA) hsync: 83.6kHz
-ModeLine "1792x1344" 204.8 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync
-
-# 1792x1344 @ 75Hz (VESA) hsync: 106.3kHz
-ModeLine "1792x1344" 261.0 1792 1888 2104 2456 1344 1345 1348 1417 -hsync +vsync
-
-# 1856x1392 @ 60Hz (VESA) hsync: 86.3kHz
-ModeLine "1856x1392" 218.3 1856 1952 2176 2528 1392 1393 1396 1439 -hsync +vsync
-
-# 1856x1392 @ 75Hz (VESA) hsync: 112.5kHz
-ModeLine "1856x1392" 288.0 1856 1984 2208 2560 1392 1393 1396 1500 -hsync +vsync
-
-# 1920x1440 @ 60Hz (VESA) hsync: 90.0kHz
-ModeLine "1920x1440" 234.0 1920 2048 2256 2600 1440 1441 1444 1500 -hsync +vsync
-
-# 1920x1440 @ 75Hz (VESA) hsync: 112.5kHz
-ModeLine "1920x1440" 297.0 1920 2064 2288 2640 1440 1441 1444 1500 -hsync +vsync
-
-# 640x480 @ 100.00 Hz (GTF) hsync: 50.90 kHz; pclk: 43.16 MHz
-ModeLine "640x480" 43.16 640 680 744 848 480 481 484 509 -HSync +Vsync
-
-# 768x576 @ 60.00 Hz (GTF) hsync: 35.82 kHz; pclk: 34.96 MHz
-ModeLine "768x576" 34.96 768 792 872 976 576 577 580 597 -HSync +Vsync
-
-# 768x576 @ 72.00 Hz (GTF) hsync: 43.27 kHz; pclk: 42.93 MHz
-ModeLine "768x576" 42.93 768 800 880 992 576 577 580 601 -HSync +Vsync
-
-# 768x576 @ 75.00 Hz (GTF) hsync: 45.15 kHz; pclk: 45.51 MHz
-ModeLine "768x576" 45.51 768 808 888 1008 576 577 580 602 -HSync +Vsync
-
-# 768x576 @ 85.00 Hz (GTF) hsync: 51.42 kHz; pclk: 51.84 MHz
-ModeLine "768x576" 51.84 768 808 888 1008 576 577 580 605 -HSync +Vsync
-
-# 768x576 @ 100.00 Hz (GTF) hsync: 61.10 kHz; pclk: 62.57 MHz
-ModeLine "768x576" 62.57 768 816 896 1024 576 577 580 611 -HSync +Vsync
-
-# 800x600 @ 100.00 Hz (GTF) hsync: 63.60 kHz; pclk: 68.18 MHz
-ModeLine "800x600" 68.18 800 848 936 1072 600 601 604 636 -HSync +Vsync
-
-# 1024x768 @ 100.00 Hz (GTF) hsync: 81.40 kHz; pclk: 113.31 MHz
-ModeLine "1024x768" 113.31 1024 1096 1208 1392 768 769 772 814 -HSync +Vsync
-
-# 1152x864 @ 60.00 Hz (GTF) hsync: 53.70 kHz; pclk: 81.62 MHz
-ModeLine "1152x864" 81.62 1152 1216 1336 1520 864 865 868 895 -HSync +Vsync
-
-# 1152x864 @ 85.00 Hz (GTF) hsync: 77.10 kHz; pclk: 119.65 MHz
-ModeLine "1152x864" 119.65 1152 1224 1352 1552 864 865 868 907 -HSync +Vsync
-
-# 1152x864 @ 100.00 Hz (GTF) hsync: 91.50 kHz; pclk: 143.47 MHz
-ModeLine "1152x864" 143.47 1152 1232 1360 1568 864 865 868 915 -HSync +Vsync
-
-# 1280x960 @ 72.00 Hz (GTF) hsync: 72.07 kHz; pclk: 124.54 MHz
-ModeLine "1280x960" 124.54 1280 1368 1504 1728 960 961 964 1001 -HSync +Vsync
-
-# 1280x960 @ 75.00 Hz (GTF) hsync: 75.15 kHz; pclk: 129.86 MHz
-ModeLine "1280x960" 129.86 1280 1368 1504 1728 960 961 964 1002 -HSync +Vsync
-
-# 1280x960 @ 100.00 Hz (GTF) hsync: 101.70 kHz; pclk: 178.99 MHz
-ModeLine "1280x960" 178.99 1280 1376 1520 1760 960 961 964 1017 -HSync +Vsync
-
-# 1280x1024 @ 100.00 Hz (GTF) hsync: 108.50 kHz; pclk: 190.96 MHz
-ModeLine "1280x1024" 190.96 1280 1376 1520 1760 1024 1025 1028 1085 -HSync +Vsync
-
-# 1400x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 122.61 MHz
-ModeLine "1400x1050" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -HSync +Vsync
-
-# 1400x1050 @ 72.00 Hz (GTF) hsync: 78.77 kHz; pclk: 149.34 MHz
-ModeLine "1400x1050" 149.34 1400 1496 1648 1896 1050 1051 1054 1094 -HSync +Vsync
-
-# 1400x1050 @ 75.00 Hz (GTF) hsync: 82.20 kHz; pclk: 155.85 MHz
-ModeLine "1400x1050" 155.85 1400 1496 1648 1896 1050 1051 1054 1096 -HSync +Vsync
-
-# 1400x1050 @ 85.00 Hz (GTF) hsync: 93.76 kHz; pclk: 179.26 MHz
-ModeLine "1400x1050" 179.26 1400 1504 1656 1912 1050 1051 1054 1103 -HSync +Vsync
-
-# 1400x1050 @ 100.00 Hz (GTF) hsync: 111.20 kHz; pclk: 214.39 MHz
-ModeLine "1400x1050" 214.39 1400 1512 1664 1928 1050 1051 1054 1112 -HSync +Vsync
-
-# 1600x1200 @ 100.00 Hz (GTF) hsync: 127.10 kHz; pclk: 280.64 MHz
-ModeLine "1600x1200" 280.64 1600 1728 1904 2208 1200 1201 1204 1271 -HSync +Vsync
diff --git a/abs/mv-core/MythVantage-config/templates/xorg/modeline.custom b/abs/mv-core/MythVantage-config/templates/xorg/modeline.custom
deleted file mode 100644
index ca6d678..0000000
--- a/abs/mv-core/MythVantage-config/templates/xorg/modeline.custom
+++ /dev/null
@@ -1 +0,0 @@
-ModeLine "CustomModeline" 14.318 768 784 848 910 483 484 492 525 Interlace
diff --git a/abs/mv-core/MythVantage-config/templates/xorg/xorg.conf.ati b/abs/mv-core/MythVantage-config/templates/xorg/xorg.conf.ati
deleted file mode 100644
index 8c75552..0000000
--- a/abs/mv-core/MythVantage-config/templates/xorg/xorg.conf.ati
+++ /dev/null
@@ -1,98 +0,0 @@
-Section "ServerFlags"
- Option "AutoAddDevices" "False"
-EndSection
-
-Section "ServerLayout"
- Identifier "X.org Configured"
- Screen 0 "aticonfig-Screen[0]" 0 0
- InputDevice "Mouse0" "CorePointer"
- InputDevice "Keyboard0" "CoreKeyboard"
-EndSection
-
-Section "Files"
-# RgbPath "/usr/share/X11/rgb"
- ModulePath "/usr/lib/xorg/modules"
- FontPath "/usr/share/fonts/misc"
- FontPath "/usr/share/fonts/75dpi"
- FontPath "/usr/share/fonts/100dpi"
- FontPath "/usr/share/fonts/TTF"
- FontPath "/usr/share/fonts/Type1"
-EndSection
-
-Section "Module"
- Load "xtrap"
- Load "dbe"
- Load "record"
- Load "extmod"
- Load "dri"
- Load "type1"
- Load "freetype"
-EndSection
-
-Section "InputDevice"
- Identifier "Keyboard0"
- Driver "kbd"
-EndSection
-
-Section "InputDevice"
- Identifier "Mouse0"
- Driver "mouse"
- Option "Protocol" "auto"
- Option "Device" "/dev/input/mice"
- Option "ZAxisMapping" "4 5 6 7"
-EndSection
-
-Section "Monitor"
- Identifier "Monitor0"
- VendorName "Monitor Vendor"
- ModelName "Monitor Model"
-EndSection
-
-Section "Monitor"
- Identifier "aticonfig-Monitor[0]"
-# HorizSync
-# VertRefresh
- Option "VendorName" "ATI Proprietary Driver"
- Option "ModelName" "Generic Autodetecting Monitor"
- Option "DPMS" "true"
-EndSection
-
-Section "Device"
-
- ### Available Driver options are:-
- ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
- ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
- ### [arg]: arg optional
- #Option "ShadowFB" # [<bool>]
- #Option "DefaultRefresh" # [<bool>]
- #Option "ModeSetClearScreen" # [<bool>]
- Identifier "Card0"
- Driver "vesa"
- VendorName "ATI Technologies Inc"
- BoardName "RV370 5B60 [Radeon X300 (PCIE)]"
- BusID "PCI:1:0:0"
-EndSection
-
-Section "Device"
- Identifier "aticonfig-Device[0]"
- Driver "fglrx"
-#INSERT HERE
-
-# Option "ForceMonitors" "tv,nocrt1,notmds1"
-# Option "TVStandard" "SCART"
-# Option "TVFormat" "PAL-B"
-EndSection
-
-
-Section "Screen"
- Identifier "aticonfig-Screen[0]"
- Device "aticonfig-Device[0]"
- Monitor "aticonfig-Monitor[0]"
- DefaultDepth 24
- SubSection "Display"
- Viewport 0 0
- Depth 24
- Modes "640x480"
- EndSubSection
-EndSection
-
diff --git a/abs/mv-core/MythVantage-config/templates/xorg/xorg.conf.intel b/abs/mv-core/MythVantage-config/templates/xorg/xorg.conf.intel
deleted file mode 100644
index c4a67c9..0000000
--- a/abs/mv-core/MythVantage-config/templates/xorg/xorg.conf.intel
+++ /dev/null
@@ -1,152 +0,0 @@
-Section "ServerFlags"
- Option "AutoAddDevices" "False"
-EndSection
-
-Section "ServerLayout"
- Identifier "Xorg Configured"
- Screen 0 "Screen0" 0 0
- InputDevice "Keyboard0" "CoreKeyboard"
- InputDevice "PS/2 Mouse" "CorePointer"
-# Serial Mouse not detected
-# USB Mouse not detected
-EndSection
-
-Section "ServerFlags"
- Option "AllowMouseOpenFail" "true"
-
-EndSection
-
-Section "Files"
-# RgbPath "/usr/share/X11/rgb"
- ModulePath "/usr/lib/xorg/modules"
- FontPath "/usr/share/fonts/misc:unscaled"
- FontPath "/usr/share/fonts/misc"
- FontPath "/usr/share/fonts/75dpi:unscaled"
- FontPath "/usr/share/fonts/75dpi"
- FontPath "/usr/share/fonts/100dpi:unscaled"
- FontPath "/usr/share/fonts/100dpi"
- FontPath "/usr/share/fonts/PEX"
-# Additional fonts: Locale, Gimp, TTF...
- FontPath "/usr/share/fonts/cyrillic"
-# FontPath "/usr/share/lib/X11/fonts/latin2/75dpi"
-# FontPath "/usr/share/lib/X11/fonts/latin2/100dpi"
-# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
- FontPath "/usr/share/fonts/Type1"
- FontPath "/usr/share/fonts/ttf/western"
- FontPath "/usr/share/fonts/ttf/decoratives"
- FontPath "/usr/share/fonts/truetype"
- FontPath "/usr/share/fonts/truetype/openoffice"
- FontPath "/usr/share/fonts/truetype/ttf-bitstream-vera"
- FontPath "/usr/share/fonts/latex-ttf-fonts"
- FontPath "/usr/share/fonts/defoma/CID"
- FontPath "/usr/share/fonts/defoma/TrueType"
-EndSection
-
-Section "Module"
- Load "ddc" # ddc probing of monitor
- Load "dbe"
- Load "dri"
- Load "extmod"
- Load "glx"
- Load "bitmap" # bitmap-fonts
- Load "type1"
- Load "freetype"
- Load "record"
-EndSection
-
-Section "InputDevice"
- Identifier "Keyboard0"
- Driver "keyboard"
- Option "CoreKeyboard"
- Option "XkbRules" "xorg"
- Option "XkbModel" "pc105"
- Option "XkbLayout" ""
- Option "XkbVariant" ""
-EndSection
-
-Section "InputDevice"
- Identifier "Serial Mouse"
- Driver "mouse"
- Option "Protocol" "Microsoft"
- Option "Device" "/dev/ttyS0"
- Option "Emulate3Buttons" "true"
- Option "Emulate3Timeout" "70"
- Option "SendCoreEvents" "true"
-EndSection
-
-Section "InputDevice"
- Identifier "PS/2 Mouse"
- Driver "mouse"
- Option "Protocol" "auto"
- Option "ZAxisMapping" "4 5"
- Option "Device" "/dev/psaux"
- Option "Emulate3Buttons" "true"
- Option "Emulate3Timeout" "70"
- Option "SendCoreEvents" "true"
-EndSection
-
-Section "InputDevice"
- Identifier "USB Mouse"
- Driver "mouse"
- Option "Device" "/dev/input/mice"
- Option "SendCoreEvents" "true"
- Option "Protocol" "IMPS/2"
- Option "ZAxisMapping" "4 5"
- Option "Buttons" "5"
-EndSection
-
-# Auto-generated by Archie mkxcfg
-
-Section "Monitor"
- Identifier "Monitor0"
- Option "DPMS" "true"
-EndSection
-
-# Auto-generated by Archie mkxcfg
-
-Section "Device"
- Identifier "Card0"
- Driver "intel"
- VendorName "All"
- BoardName "All"
-EndSection
-
-Section "Screen"
- Identifier "Screen0"
- Device "Card0"
- Monitor "Monitor0"
- DefaultColorDepth 16
- SubSection "Display"
- Depth 1
- Modes "1024x768" "800x600" "640x480"
- EndSubSection
- SubSection "Display"
- Depth 4
- Modes "1024x768" "800x600" "640x480"
- EndSubSection
- SubSection "Display"
- Depth 8
- Modes "1024x768" "800x600" "640x480"
- EndSubSection
- SubSection "Display"
- Depth 15
- Modes "1024x768" "800x600" "640x480"
- EndSubSection
- SubSection "Display"
- Depth 16
- Modes "800x600"
- virtual 800 600
- EndSubSection
- SubSection "Display"
- Depth 24
- Modes "1024x768" "800x600" "640x480"
- EndSubSection
- SubSection "Display"
- Depth 32
- Modes "1024x768" "800x600" "640x480"
- EndSubSection
-EndSection
-
-Section "DRI"
- Mode 0666
-EndSection
diff --git a/abs/mv-core/MythVantage-config/templates/xorg/xorg.conf.nvidia b/abs/mv-core/MythVantage-config/templates/xorg/xorg.conf.nvidia
deleted file mode 100755
index 6e005a2..0000000
--- a/abs/mv-core/MythVantage-config/templates/xorg/xorg.conf.nvidia
+++ /dev/null
@@ -1,93 +0,0 @@
-# nvidia-xconfig: X configuration file generated by nvidia-xconfig
-# nvidia-xconfig: version 1.0 (buildmeister@builder3) Tue Aug 1 21:11:12 PDT 2006
-Section "ServerFlags"
- Option "AutoAddDevices" "False"
-EndSection
-
-Section "ServerLayout"
- Identifier "Layout0"
- Screen 0 "Screen0"
- InputDevice "Keyboard0" "CoreKeyboard"
- InputDevice "Mouse0" "CorePointer"
-EndSection
-
-Section "Files"
-# RgbPath "/usr/X11R6/lib/X11/rgb"
-EndSection
-
-Section "Module"
- Load "dbe"
- Load "extmod"
- Load "type1"
- Load "freetype"
- Load "glx"
-EndSection
-
-Section "InputDevice"
- # generated from default
- Identifier "Mouse0"
- Driver "mouse"
- Option "Protocol" "auto"
- Option "Device" "/dev/psaux"
- Option "Emulate3Buttons" "no"
- Option "ZAxisMapping" "4 5"
-EndSection
-
-Section "InputDevice"
- # generated from default
- Identifier "Keyboard0"
- Driver "keyboard"
-EndSection
-
-Section "Monitor"
- Identifier "Monitor0"
- VendorName "Unknown"
- ModelName "Unknown"
-# HorizSync
-# VertRefresh
- Option "DPMS" "false"
- DisplaySize 203 153
- Modeline "1280x720" 74.25 1280 1316 1452 1644 720 720 723 751 -hsync +vsync
- Modeline "1280x720_60.00" 74.25 1280 1352 1432 1648 720 725 730 750 -hsync -vsync
- ModeLine "848x480" 34.0 848 880 1016 1072 480 494 495 527 -hsync -vsync
- Modeline "800x600" 38.34 800 832 928 1024 600 604 608 624 -HSync -VSync
- ModeLine "NTSC-DVD-72p" 32.432 720 736 800 858 480 484 492 525
-#INSERT MODELINE
-EndSection
-
-Section "Device"
- Identifier "Device0"
- Driver "nvidia"
- VendorName "NVIDIA Corporation"
- Option "DPI" "100 x 100"
- Option "NoLogo" "1"
-
-#INSERT HERE
-
-#END OPTIONS
-
-# Option "ConnectedMonitor" "DFP"
-# Option "FlatPanelProperties" "Scaling = centered, Dithering = enabled"
-# Option "DigitalVibrance" "0"
-# Option "TransparentIndex" "0"
-# Option "CursorShadowAlpha" "64"
-# Option "CursorShadowXOffset" "4"
-# Option "UseEdidFreqs" "True"
-# Option "NvAGP" "1"
-
-
-
-
-EndSection
-
-Section "Screen"
- Identifier "Screen0"
- Device "Device0"
- Monitor "Monitor0"
- DefaultDepth 24
- SubSection "Display"
- Depth 24
- Modes "1280x720"
- EndSubSection
-EndSection
-
diff --git a/abs/mv-core/MythVantage-config/templates/xorg/xorg.conf.vesa b/abs/mv-core/MythVantage-config/templates/xorg/xorg.conf.vesa
deleted file mode 100755
index 90b426b..0000000
--- a/abs/mv-core/MythVantage-config/templates/xorg/xorg.conf.vesa
+++ /dev/null
@@ -1,75 +0,0 @@
-# nvidia-xconfig: X configuration file generated by nvidia-xconfig
-# nvidia-xconfig: version 1.0 (buildmeister@builder3) Tue Aug 1 21:11:12 PDT 2006
-Section "ServerFlags"
- Option "AutoAddDevices" "False"
-EndSection
-
-Section "ServerLayout"
- Identifier "Layout0"
- Screen 0 "Screen0"
- InputDevice "Keyboard0" "CoreKeyboard"
- InputDevice "Mouse0" "CorePointer"
-EndSection
-
-Section "Files"
-# RgbPath "/usr/X11R6/lib/X11/rgb"
-EndSection
-
-Section "Module"
- Load "dbe"
- Load "extmod"
- Load "type1"
- Load "freetype"
-
-EndSection
-
-Section "InputDevice"
- # generated from default
- Identifier "Mouse0"
- Driver "mouse"
- Option "Protocol" "auto"
- Option "Device" "/dev/psaux"
- Option "Emulate3Buttons" "no"
- Option "ZAxisMapping" "4 5"
-EndSection
-
-Section "InputDevice"
- # generated from default
- Identifier "Keyboard0"
- Driver "keyboard"
-EndSection
-
-Section "Monitor"
- Identifier "Monitor0"
- VendorName "Unknown"
- ModelName "Unknown"
- HorizSync 30.0 - 110.0
- VertRefresh 50.0 - 150.0
- Option "DPMS" "false"
- Modeline "1280x720" 74.25 1280 1316 1452 1644 720 720 723 751 -hsync +vsync
- Modeline "1280x720_60.00" 74.25 1280 1352 1432 1648 720 725 730 750 -hsync -vsync
- ModeLine "848x480" 34.0 848 880 1016 1072 480 494 495 527 -hsync -vsync
- Modeline "800x600" 38.34 800 832 928 1024 600 604 608 624 -HSync -VSync
- ModeLine "NTSC-DVD-72p" 32.432 720 736 800 858 480 484 492 525
-EndSection
-
-Section "Device"
- Identifier "Device0"
- Driver "vesa"
- VendorName "Generic Corporation"
- Option "DPI" "100 x 100"
-
-
-EndSection
-
-Section "Screen"
- Identifier "Screen0"
- Device "Device0"
- Monitor "Monitor0"
- DefaultDepth 24
- SubSection "Display"
- Depth 24
- Modes "1280x720"
- EndSubSection
-EndSection
-
diff --git a/abs/mv-core/MythVantage-config/templates/xorg/xorg.conf.via b/abs/mv-core/MythVantage-config/templates/xorg/xorg.conf.via
deleted file mode 100644
index 96cae54..0000000
--- a/abs/mv-core/MythVantage-config/templates/xorg/xorg.conf.via
+++ /dev/null
@@ -1,80 +0,0 @@
-# nvidia-xconfig: X configuration file generated by nvidia-xconfig
-# nvidia-xconfig: version 1.0 (buildmeister@builder3) Tue Aug 1 21:11:12 PDT 2006
-Section "ServerFlags"
- Option "AutoAddDevices" "False"
-EndSection
-
-Section "ServerLayout"
- Identifier "Layout0"
- Screen 0 "Screen0"
- InputDevice "Keyboard0" "CoreKeyboard"
- InputDevice "Mouse0" "CorePointer"
-EndSection
-
-Section "Files"
-# RgbPath "/usr/X11R6/lib/X11/rgb"
-EndSection
-
-Section "Module"
- Load "dbe"
- Load "glx"
- Load "extmod"
- Load "type1"
- Load "freetype"
- Load "dri"
-EndSection
-
-Section "InputDevice"
- # generated from default
- Identifier "Mouse0"
- Driver "mouse"
- Option "Protocol" "auto"
- Option "Device" "/dev/psaux"
- Option "Emulate3Buttons" "no"
- Option "ZAxisMapping" "4 5"
-EndSection
-
-Section "InputDevice"
- # generated from default
- Identifier "Keyboard0"
- Driver "keyboard"
-EndSection
-
-Section "Monitor"
- Identifier "Monitor0"
- VendorName "Unknown"
- ModelName "Unknown"
- HorizSync 30.0 - 110.0
- VertRefresh 50.0 - 150.0
- Option "DPMS" "false"
- Modeline "1280x720" 74.25 1280 1316 1452 1644 720 720 723 751 -hsync +vsync
- Modeline "1280x720_60.00" 74.25 1280 1352 1432 1648 720 725 730 750 -hsync -vsync
- ModeLine "848x480" 34.0 848 880 1016 1072 480 494 495 527 -hsync -vsync
- Modeline "800x600" 38.34 800 832 928 1024 600 604 608 624 -HSync -VSync
- ModeLine "NTSC-DVD-72p" 32.432 720 736 800 858 480 484 492 525
-EndSection
-
-Section "Device"
- Identifier "Device0"
- Driver "via"
- VendorName "via"
- Option "DPI" "100 x 100"
-
-
-EndSection
-
-Section "Screen"
- Identifier "Screen0"
- Device "Device0"
- Monitor "Monitor0"
- DefaultDepth 16
- SubSection "Display"
- Depth 16
- Modes "800x600"
- EndSubSection
-EndSection
-
-Section "DRI"
- Group "video"
- Mode 0666
- EndSection
diff --git a/abs/mv-core/MythVantage-config/templates/xorg/xorg.conf.vmware b/abs/mv-core/MythVantage-config/templates/xorg/xorg.conf.vmware
deleted file mode 100755
index c4db4bf..0000000
--- a/abs/mv-core/MythVantage-config/templates/xorg/xorg.conf.vmware
+++ /dev/null
@@ -1,75 +0,0 @@
-# nvidia-xconfig: X configuration file generated by nvidia-xconfig
-# nvidia-xconfig: version 1.0 (buildmeister@builder3) Tue Aug 1 21:11:12 PDT 2006
-Section "ServerFlags"
- Option "AutoAddDevices" "False"
-EndSection
-
-Section "ServerLayout"
- Identifier "Layout0"
- Screen 0 "Screen0"
- InputDevice "Keyboard0" "CoreKeyboard"
- InputDevice "Mouse0" "CorePointer"
-EndSection
-
-Section "Files"
-# RgbPath "/usr/X11R6/lib/X11/rgb"
-EndSection
-
-Section "Module"
- Load "dbe"
- Load "extmod"
- Load "type1"
- Load "freetype"
- Load "glx"
-EndSection
-
-Section "InputDevice"
- # generated from default
- Identifier "Mouse0"
- Driver "mouse"
- Option "Protocol" "auto"
- Option "Device" "/dev/psaux"
- Option "Emulate3Buttons" "no"
- Option "ZAxisMapping" "4 5"
-EndSection
-
-Section "InputDevice"
- # generated from default
- Identifier "Keyboard0"
- Driver "keyboard"
-EndSection
-
-Section "Monitor"
- Identifier "Monitor0"
- VendorName "Unknown"
- ModelName "Unknown"
- HorizSync 30.0 - 110.0
- VertRefresh 50.0 - 150.0
- Option "DPMS" "false"
- Modeline "1280x720" 74.25 1280 1316 1452 1644 720 720 723 751 -hsync +vsync
- Modeline "1280x720_60.00" 74.25 1280 1352 1432 1648 720 725 730 750 -hsync -vsync
- ModeLine "848x480" 34.0 848 880 1016 1072 480 494 495 527 -hsync -vsync
- Modeline "800x600" 38.34 800 832 928 1024 600 604 608 624 -HSync -VSync
- ModeLine "NTSC-DVD-72p" 32.432 720 736 800 858 480 484 492 525
-EndSection
-
-Section "Device"
- Identifier "Device0"
- Driver "vmware"
- VendorName "NVIDIA Corporation"
- Option "DPI" "100 x 100"
-
-
-EndSection
-
-Section "Screen"
- Identifier "Screen0"
- Device "Device0"
- Monitor "Monitor0"
- DefaultDepth 24
- SubSection "Display"
- Depth 24
- Modes "1280x720"
- EndSubSection
-EndSection
-
diff --git a/abs/mv-core/MythVantage-config/timezip.py b/abs/mv-core/MythVantage-config/timezip.py
deleted file mode 100755
index bf6b389..0000000
--- a/abs/mv-core/MythVantage-config/timezip.py
+++ /dev/null
@@ -1,232 +0,0 @@
-#!/usr/bin/python
-# -*- coding: utf-8 -*-
-# import MySQL module
-#used to import the zipcode/timezone/nfs info fromMBE
-import MySQLdb
-import sys
-import getopt
-import socket
-
-
-def usage():
- print " -h --help"
- print " -d --installdb"
- print " -m --masterdb"
- print " -n --hostname of current machine"
-
-def printvars():
- print "masterdb: " + masterdb
- print "installdb:" + installdb
- print "hostname: " + thishostname
- print "BEhostname:" + BEhostname
- print "zipcode:" + zipcode
- print "timezone:" + tz
- print "timezone region:" + tz_region
- print "timezone subregion:" + tz_subregion
- print "nfsip:" + nfsip
- print "nfstoggle:" + nfstoggle
- print "nfsmount:" + nfsmount
- print "hobbitclient:" + hobbitclient
-# connect
-def selectvars():
-
- global BEhostname
- global zipcode
- global tz
- global tz_region
- global tz_subregion
- global nfsip
- global nfstoggle
- global nfsmount
- global hobbitclient
-
- db = MySQLdb.connect(host=masterdb, user="mythtv", passwd="mythtv", db="mythconverg")
- # create a cursor
- cursor = db.cursor()
- # execute SQL statement
- cursor.execute("select hostname from settings where value='BackendServerIP' and data=(%s)",(masterdb))
- result = cursor.fetchone()
- try:
- BEhostname=result[0]
- except TypeError:
- BEhostname=""
-
- cursor.execute("select data from settings where value='HostZipcode' and hostname=(%s)",(BEhostname))
- result = cursor.fetchone()
- try:
- zipcode = result[0]
- except TypeError:
- zipcode=""
-
- cursor.execute("select data from settings where value='HostCentralNFSIP' and hostname=(%s)",(BEhostname))
- result = cursor.fetchone()
- try:
- nfsip=result[0]
- except TypeError:
- nfsip=""
-
- cursor.execute("select data from settings where value='HostHaveCentralNFS' and hostname=(%s)",(BEhostname))
- result = cursor.fetchone()
- try:
- nfstoggle=result[0]
- except TypeError:
- nfstoggle=""
-
- cursor.execute("select data from settings where value='HostNFSmountpoint' and hostname=(%s)",(BEhostname))
- result = cursor.fetchone()
- try:
- nfsmount=result[0]
- except TypeError:
- nfsmount=""
-
- cursor.execute("select data from settings where value='HostTimeZone' and hostname=(%s)",(BEhostname))
- result = cursor.fetchone()
- try:
- tz=result[0]
- except TypeError:
- tz=""
-##########
- cursor.execute("select data from settings where value='HostTimeZoneRegion' and hostname=(%s)",(BEhostname))
- result = cursor.fetchone()
- try:
- tz_region=result[0]
- except TypeError:
- tz_region=""
- tempsubregion="HostTimeZoneRegion_" + tz_region
-
- cursor.execute("select data from settings where value=%s and hostname=(%s)",(tempsubregion,BEhostname))
- result = cursor.fetchone()
- try:
- tz_subregion=result[0]
- except TypeError:
- tz_subregion=""
-###############
- if ( thishostname != BEhostname ):
- cursor.execute("select data from settings where value='GlobalServiceHobbitserver'")
- result = cursor.fetchone()
- try:
- hobbitclient=result[0]
- except TypeError:
- hobbitclient="1"
-
-
-
-def insertvars():
-
- db = MySQLdb.connect(host=installdb, user="mythtv", passwd="mythtv", db="mythconverg")
- cursor = db.cursor()
-#inserting the zipcode
- cursor.execute("select * from settings where value='HostZipcode' and hostname=(%s)",(thishostname))
- result = cursor.fetchone()
- if ( zipcode!="" ):
- if (result == None):
- cursor.execute("INSERT INTO settings (value,data,hostname) VALUES ('HostZipcode',(%s),(%s))",(zipcode,thishostname))
- print "inserting zipcode"
- else:
- cursor.execute("update settings set data=(%s) where hostname=(%s) and value='HostZipcode'",(zipcode,thishostname))
- print "updating zipcode"
-
-#inserting the timezone
- cursor.execute("select * from settings where value='HostTimeZone' and hostname=(%s)",(thishostname))
- result = cursor.fetchone()
- if ( tz != ""):
- if (result == None):
- cursor.execute("INSERT INTO settings (value,data,hostname) VALUES ('HostTimeZone',(%s),(%s))",(tz,thishostname))
- print "inserting timezone"
- else:
- cursor.execute("update settings set data=(%s) where hostname=(%s) and value='HostTimeZone'",(tz,thishostname))
- print "updating timezone"
-
- cursor.execute("select * from settings where value='HostTimeZoneRegion' and hostname=(%s)",(thishostname))
- result = cursor.fetchone()
- if ( tz != ""):
- if (result == None):
- cursor.execute("INSERT INTO settings (value,data,hostname) VALUES ('HostTimeZoneRegion',(%s),(%s))",(tz_region,thishostname))
- print "inserting timezone region"
- else:
- cursor.execute("update settings set data=(%s) where hostname=(%s) and value='HostTimeZoneRegion'",(tz_region,thishostname))
- print "updating timezone region"
-
- tempsubregion="HostTimeZoneRegion_" + tz_region
- cursor.execute("select * from settings where value=%s and hostname=(%s)",(tempsubregion,thishostname))
- result = cursor.fetchone()
- if ( tz != ""):
- if (result == None):
- cursor.execute("INSERT INTO settings (value,data,hostname) VALUES ((%s),(%s),(%s))",(tempsubregion,tz_subregion,thishostname))
- print "inserting timezone subregion"
- else:
- cursor.execute("update settings set data=(%s) where hostname=(%s) and value=(%s)",(tempsubregion,tz_subregion,thishostname))
- print "updating timezone subregion"
-
-
-#start of NFSIP
- cursor.execute("select data from settings where value='HostCentralNFSIP' and hostname=(%s)",(thishostname))
- result = cursor.fetchone()
- if ( nfsip != ""):
- if (result == None):
- cursor.execute("INSERT INTO settings (value,data,hostname) VALUES ('HostCentralNFSIP',(%s),(%s))",(nfsip,thishostname))
- print "inserting nfsip"
-
- if (nfstoggle != ""):
- cursor.execute("select data from settings where value='HostHaveCentralNFS' and hostname=(%s)",(thishostname))
- result = cursor.fetchone()
- if (result == None):
- cursor.execute("INSERT INTO settings (value,data,hostname) VALUES ('HostHaveCentralNFS',(%s),(%s))",(nfstoggle,thishostname))
- print "inserting nfstoggle"
-
- if ( nfsmount !="") :
- cursor.execute("select data from settings where value='HostNFSmountpoint' and hostname=(%s)",(thishostname))
- result = cursor.fetchone()
- if (result == None):
- cursor.execute("INSERT INTO settings (value,data,hostname) VALUES ('HostNFSmountpoint',(%s),(%s))",(nfsmount,thishostname))
- print "inserting nfsmountpoint"
-
-#hobbitclient
- cursor.execute("select * from settings where value='HostServiceHobbitclient' and hostname=(%s)",(thishostname))
- result = cursor.fetchone()
- if ( tz != ""):
- if (result == None):
- cursor.execute("INSERT INTO settings (value,data,hostname) VALUES ('HostServiceHobbitclient',(%s),(%s))",(hobbitclient,thishostname))
- print "inserting hobbitcleint"
- else:
- cursor.execute("update settings set data=(%s) where hostname=(%s) and value='HostServiceHobbitclient'",(hobbitclient,thishostname))
- print "updating hobbitclient"
-
-
-def main(argv):
- global masterdb
- global installdb
- global thishostname
- thishostname=""
- global BEhostname
- global zipcode
- global tz
- global tz_region
- global tz_subregion
-
- global nfsip
- global hobbitclient
- try:
- opts, args = getopt.getopt(argv, "hm:d:n:", ["help", "masterdb=", "installdb=" , "hostname=" ] )
- except getopt.GetoptError:
- sys.exit(2)
- for opt, arg in opts:
- if opt in ("-h", "--help"):
- usage()
- sys.exit()
- elif opt in ( "-d" , "--installdb"):
- installdb = arg
- elif opt in ("-m", "--masterdb"):
- masterdb = arg
- elif opt in ("-n", "--hostname"):
- thishostname = arg
-
- if ( thishostname == "" ):
- thishostname = socket.gethostname()
-
- selectvars()
- printvars()
- insertvars()
-if __name__ == "__main__":
- main(sys.argv[1:])
-
diff --git a/abs/mv-core/MythVantage-config/timezone.bin b/abs/mv-core/MythVantage-config/timezone.bin
deleted file mode 100755
index cff931a..0000000
--- a/abs/mv-core/MythVantage-config/timezone.bin
+++ /dev/null
Binary files differ
diff --git a/abs/mv-core/MythVantage-config/xconfig.sh b/abs/mv-core/MythVantage-config/xconfig.sh
deleted file mode 100755
index 2fad821..0000000
--- a/abs/mv-core/MythVantage-config/xconfig.sh
+++ /dev/null
@@ -1,363 +0,0 @@
-#!/bin/bash
-#SET DISPLAYCARD to force a cardtype
-#SET DISPLAYRES to force Xres, ENV takes precendent over cmdline
-#displayres=cmdline
-#NVPKGS="ati-dri xf86-video-ati xf86-video-radeonhd intel-dri xf86-video-intel unichrome-dri xf86-video-unichrome xf86-video-mga xf86-video-savage xf86-video-trident"
-NVPKGS="ati-dri xf86-video-ati xf86-video-radeonhd intel-dri xf86-video-intel xf86-video-mga xf86-video-savage xf86-video-trident unichrome-dri xf86-video-openchrome"
-BASE=""
-. /etc/profile
-NVIDIA_96XX="$TEMPLATES/xorg/96xx_supported.txt"
-#TEMPLATES="/usr/share/templates"
-MYTHHOME=$BASE/home/mythtv
-
-function Xvalues {
- CMDLINE=$(cat /proc/cmdline)
- echo "$CMDLINE" | grep -q forceXvesa
- if [ $? = 0 ]
- then
- VGACARDTYPE=vesa
- Xcardtype=$VGACARDTYPE
- else
- VGACARDTYPE=`lspci | grep -i vga | sort -r | head -n 1 | cut -d: -f3 | cut -d" " -f2`
- VGAPCIID=`lspci | grep -i vga | sort -r | head -n 1 | cut -d" " -f1`
- CARDID=`lspci -n | grep "$VGAPCIID" | grep 10de | cut -d" " -f3 | cut -d: -f2`
- VENDORID=`lspci -n | grep "$VGAPCIID" | grep 10de | cut -d" " -f3 | cut -d: -f1`
- fi
- #force VGACARDTYPE
- if [ ! x$DISPLAYCARD = x ]
- then
- VGACARDTYPE=$DISPLAYCARD
- Xcardtype=$VGACARDTYPE
- fi
- echo "Will use $VGACARDTYPE"
- currentmode=`cat "$BASE/etc/X11/xorg.conf" | grep Modes | awk -Fs '{ print $2 }'`
-}
-
-function presetupX {
- if [ -f /etc/sysconfig/IGNORE_X ]
- then
- echo "Will not run xconfig.sh due to presence of /etc/sysconfig/IGNORE_X"
- return 1
- else
- if [ "$XIgnoreConfig" = 1 ]
- then
- echo "Using User supplied X"
- if [ -f "$MYTHHOME/templates/xorg.user" ]
- then
- cp -f "$MYTHHOME/templates/xorg.user" "$XORG_CONF"
- else
- echo "Didn't find the file"
- echo "Copy your config file to $MYTHHOME/templates/xorg.user" > "$XORG_CONF"
- fi
- else
- if [ "$XUseAdvanced" = 1 ]
- then
- setupAdvancedX
- else
- setupX
- fi
- fi
- fi
-
-}
-
-function setupAdvancedX {
- echo "#doing the advanced" > /tmp/options
- Xcategory=`echo "$Xresadvanced" | cut -d_ -f1`
- Xres=`echo "$Xresadvanced" | cut -d_ -f2`
- echo "$Xcategory"
- if [ "$Xcategory" = "nVidia Modeline" ]
- then
- Xres=""
- if [ "$XnVidia1080p" = "1" ]
- then
- Xres="${Xres} \"1920x1080_60\""
- fi
- if [ "$XnVidia1080i" = "1" ]
- then
- Xres="${Xres} \"1920x1080_60i\""
- fi
- if [ "$XnVidia720p" = "1" ]
- then
- Xres="${Xres} \"1280x720_60\""
- fi
- if [ "$XnVidia480p" = "1" ]
- then
- Xres="${Xres} \"720x480_60\""
- fi
- ML="\t Modes ${Xres}"
- else
-
- ML="\t Modes \"${Xres}\""
- fi
-# echo $ML
- case $Xcardtype in
- NVIDIA|nVidia|nvidia)
- case $Xconnection in
- DVI) ConnectedMonitor=DFP ;;
- vga) ConnectedMonitor=CRT;;
- Auto) ConnectedMonitor=Auto;;
- TV) ConnectedMonitor=TV
- echo "Option \"TVStandard\" \"$XTVstandard\"" >>/tmp/options
- echo "Option \"TVOutFormat\" \"$XTVconnection\"" >> /tmp/options
- ;;
- esac
- if [ "$ConnectedMonitor" = Auto ]
- then
- echo "auto connection"
- else
- echo "Option \"ConnectedMonitor\" \"$ConnectedMonitor\"" >> /tmp/options
- echo "Option \"FlatPanelProperties\" \"Scaling = centered, Dithering = enabled\"" >> /tmp/options
- echo "Option \"DigitalVibrance\" \"0\"" >> /tmp/options
- fi
-
- if [ "$XignoreEDID" = 1 ]
- then
- EDIDvalue=true
- EDIDFREQ=false
- DS=" DisplaySize $XDisplaysize"
- HS=" HorizSync $XHsync"
- VR=" VertRefresh $XVrefresh"
- else
- EDIDvalue=false
- EDIDFREQ=true
- DS="# Display size edid used "
- HS="# Hsync edid used "
- VR="# Vertrefresh edid used "
- fi
- echo "Option \"UseEdidFreqs\" \"$EDIDFREQ\"" >> /tmp/options
- echo "Option \"IgnoreEDID\" \"$EDIDvalue\"" >> /tmp/options
-
-
- sed -e "s/^.*Modes.*$/${ML}/" \
- -e "/INSERT MODELINE/r $TEMPLATES/xorg/modeline.$Xcategory" \
- -e "s/^.*DisplaySize.*$/ $DS/" \
- -e "s/^#.*HorizSync.*$/ $HS/g" \
- -e "s/^#.*VertRefresh.*$/ $VR/g" \
- -e "/INSERT HERE/r /tmp/options" "$TEMPLATES/xorg/xorg.conf.nvidia" > "$XORG_CONF"
- ;;
-
- ati|ATI)
- case $Xconnection in
- DVI) ConnectedMonitor="tmds1,nocrt1,notv";;
- VGA) ConnectedMonitor="crt1,notmds1,notv" ;;
- TV) ConnectedMonitor="tv,nocrt1,notmds1"
- echo "Option \"TVStandard\" \"$XTVstandard\"" >>/tmp/options
- echo "Option \"TVFormat\" \"$XTVconnection\"" >> /tmp/options
- ;;
- esac
- if [ "$XignoreEDID" = 1 ]
- then
- DS=" DisplaySize $XDisplaysize"
- HS=" HorizSync $XHsync"
- VR=" VertRefresh $XVrefresh"
- else
- DS="# Display size edid used "
- HS="# Hsync edid used "
- VR="# Vertrefresh edid used "
- fi
-
- echo "Option \"ForceMonitors\" \"$ConnectedMonitor\"" >> /tmp/options
-
- sed -e "s/^.*Modes.*$/\t $ML/" \
- -e "/INSERT MODELINE/r $TEMPLATES/xorg/modeline.$Xcategory" \
- -e "s/^.*DisplaySize.*$/ $DS/" \
- -e "s/^#.*HorizSync.*$/ $HS/g" \
- -e "s/^#.*VertRefresh.*$/ $VR/g" \
- -e "/INSERT HERE/r /tmp/options" "$TEMPLATES/xorg/xorg.conf.ati" > "$XORG_CONF"
- ;;
-
- via|VIA|Via|S3)
- # Need to add appropriate Modules, Device and DRI sections
- # See the http://www.mythtv.org/wiki/XvMC wiki page
- echo "no via here"
- ;;
-
- *)
- echo "unknown card type"
- ;;
- esac
-}
-
-
-function setupX {
- Xvalues
- #echo "$currentmode ____ ${Xres}"
- #if [ "${currentmode}" != \"${Xres}\" ]
- if [ x = x ]
- then
- case $VGACARDTYPE in
- nVidia)
- if [ ${Xres} = Auto ]
- then
- sed -e "/^.*Modes.*$/d" "$TEMPLATES/xorg/xorg.conf.nvidia" > "$XORG_CONF"
- else
- sed -e "s/^.*Modes.*$/\t Modes \"${Xres}\"/" "$TEMPLATES/xorg/xorg.conf.nvidia" > "$XORG_CONF"
- fi
- if [ "$TESTMODE" != "test" ]
- then
- #nvidia check right here
- grep -qi "$CARDID" "$NVIDIA_96XX"
- if [ $? = 0 ]
- then
- #install 96xx drivers
- echo "installing nvidia 96xx drivers"
- pacman --noconfirm -Rd libgl > /dev/null 2>&1
- pacman --noconfirm -R $NVPKGS > /dev/null 2>&1
- pacman --noconfirm -S nvidia-96xx nvidia-96xx-utils > /dev/null 2>&1
- else
- #install latest drivers
- echo "installing current nvidia drivers"
- pacman --noconfirm -Rd libgl > /dev/null 2>&1
- pacman --noconfirm -R $NVPKGS > /dev/null 2>&1
- pacman --noconfirm -S nvidia nvidia-utils > /dev/null 2>&1
- fi
- fi
- echo "/usr/lib/libXvMCNVIDIA_dynamic.so.1" > "$XVMC_CONFIG"
- ;;
-
- # VMware)
- # sed -e "s/^.*Modes.*$/\t Modes \"${Xres}\"/" "$TEMPLATES/xorg/xorg.conf.vmware" > "$XORG_CONF"
- # ;;
-
- VIA|S3)
- # There are actually multiple options here
- # xf86-video-openchrome
- # xf86-video-unichrome
- # There is also a seperate driver for the Unichrome Pro
- if [ ${Xres} = Auto ]
- then
- sed -e "/^.*Modes.*$/d" "$TEMPLATES/xorg/xorg.conf.via" > "$XORG_CONF"
- else
- sed -e "s/^.*Modes.*$/\t Modes \"${Xres}\"/" "$TEMPLATES/xorg/xorg.conf.via" > "$XORG_CONF"
- fi
- if [ "$TESTMODE" != "test" ]
- then
- if [ "$OPENCHROME" = "1" ]
- then
- pacman --noconfirm -R nvidia nvidia-utils > /dev/null 2>&1
- pacman --noconfirm -S libgl unichrome-dri xf86-video-openchrome > /dev/null 2>&1
- else
- pacman --noconfirm -R nvidia nvidia-utils > /dev/null 2>&1
- pacman --noconfirm -S libgl unichrome-dri xf86-video-unichrome > /dev/null 2>&1
- fi
- fi
- # I'm making educated guesses here...
- if lspci | grep "VGA" | grep -qi "Unichrome Pro"
- then
- if [ -f "/usr/lib/libchromeXvMCPro.so.1" ]
- then
- echo "/usr/lib/libchromeXvMCPro.so.1" > "$XVMC_CONFIG"
- else
- echo "/usr/lib/libviaXvMCPro.so.1" > "$XVMC_CONFIG"
- fi
- else
- if [ -f "/usr/lib/libchromeXvMC.so.1" ]
- then
- echo "/usr/lib/libchromeXvMC.so.1" > "$XVMC_CONFIG"
- else
- echo "/usr/lib/libviaXvMC.so.1" > "$XVMC_CONFIG"
- fi
- fi
- ;;
-
- Intel|intel)
- if [ ${Xres} = Auto ]
- then
- sed -e "/^.*Modes.*$/d" "$TEMPLATES/xorg/xorg.conf.intel" > "$XORG_CONF"
- else
- sed -e "s/^.*Modes.*$/\t Modes \"${Xres}\"/" "$TEMPLATES/xorg/xorg.conf.intel" > "$XORG_CONF"
- fi
- if [ "$TESTMODE" != "test" ]
- then
- pacman --noconfirm -R nvidia-utils > /dev/null 2>&1
- pacman --noconfirm -S libgl > /dev/null 2>&1
- fi
- echo "/usr/lib/libIntelXvMC.so.1" > "$XVMC_CONFIG"
- ;;
-
- vesa|InnoTek)
- if [ ${Xres} = Auto ]
- then
- sed -e "/^.*Modes.*$/d" "$TEMPLATES/xorg/xorg.conf.vesa" > "$XORG_CONF"
- else
- sed -e "s/^.*Modes.*$/\t Modes \"${Xres}\"/" "$TEMPLATES/xorg/xorg.conf.vesa" > "$XORG_CONF"
- fi
- ;;
-
- *)
- XCONF=/root/xorg.conf.new
- XCONFB=/etc/X11/xorg.conf.install
- X -configure
- if [ -f "$XCONF" ]
- then
- echo "Using $XCONF"
- if [ ${Xres} = Auto ]
- then
- grep -v Modes "$XCONF" | sed -e 's/dev\/mouse/dev\/psaux/g'> "$XORG_CONF"
- else
- grep -v Modes "$XCONF" | sed -e "/Depth.*16/a Modes \"${Xres}\" " -e "/Depth.*24/a Modes \"${Xres}\"" -e 's/dev\/mouse/dev\/psaux/g'> "$XORG_CONF"
- fi
- elif [ -f "$XCONFB" ]
- then
- echo "Using $XCONFB"
- if [ ${Xres} = Auto ]
- then
- sed -e "/^.*Modes.*$/d" "$XCONFB" > "$XORG_CONF"
- else
- sed -e "s/^.*Modes.*$/\t Modes \"${Xres}\"/" "$XCONFB" > "$XORG_CONF"
- fi
- else
- echo "Xorg configuration failed"
- fi
- rm -f "$XCONF" 2>&1 > /dev/null
- ;;
- esac
- fi
-
-}
-
-#MAIN
-TESTMODE="$1"
-if [ "$TESTMODE" = "test" ]
-then
- XORG_CONF="/tmp/xorg.conf.test"
- XVMC_CONFIG="/tmp/XvMCConfig.test"
- XUseAdvanced="1"
- XIgnoreConfig="${2}"
- Xcardtype="${3}"
- XIgnoreEDID="${4}"
- Xconnection="${5}"
- XHsync="${6}"
- XVrefresh="${7}"
- Xresadvanced="${8}"
- XTVstandard="${9}"
- XTVconnection="${10}"
- XDisplaysize="${11}"
-else
- if [ -f /etc/systemconfig ]
- then
- . /etc/systemconfig
- else
- Xres="800x600"
- fi
- CMDLINE=$(cat /proc/cmdline)
- echo $CMDLINE | grep -q displayres
- if [ $? = 0 ]
- then
- TEMPVAR=${CMDLINE#*displayres=}
- DSR=${TEMPVAR%% *}
- fi
- if [ ! x$DSR = x ]
- then
- Xres=$DSR
- fi
- if [ ! x$DISPLAYRES = x ]
- then
- Xres=$DISPLAYRES
- fi
-
- XORG_CONF="/etc/X11/xorg.conf"
- XVMC_CONFIG="/etc/X11/XvMCConfig"
-fi
-presetupX