diff options
author | James Meyer <james.meyer@operamail.com> | 2009-02-19 03:30:55 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-02-19 03:30:55 (GMT) |
commit | da4025cf0a1f5ead9df4ec2d1c9f29ac850ba826 (patch) | |
tree | c3bc26cad92e35b92c51c1e1e173c25d781172d6 /abs/core-testing/LinHES-config | |
parent | 9085159c06ba621bec77a344fbb59b7abc325b36 (diff) | |
download | linhes_pkgbuild-da4025cf0a1f5ead9df4ec2d1c9f29ac850ba826.zip linhes_pkgbuild-da4025cf0a1f5ead9df4ec2d1c9f29ac850ba826.tar.gz linhes_pkgbuild-da4025cf0a1f5ead9df4ec2d1c9f29ac850ba826.tar.bz2 |
add the splash_setup function.
Diffstat (limited to 'abs/core-testing/LinHES-config')
-rwxr-xr-x | abs/core-testing/LinHES-config/PKGBUILD | 2 | ||||
-rwxr-xr-x | abs/core-testing/LinHES-config/install_functions.sh | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/abs/core-testing/LinHES-config/PKGBUILD b/abs/core-testing/LinHES-config/PKGBUILD index 0204d2d..ec0c0069 100755 --- a/abs/core-testing/LinHES-config/PKGBUILD +++ b/abs/core-testing/LinHES-config/PKGBUILD @@ -1,6 +1,6 @@ pkgname=LinHES-config pkgver=1.0 -pkgrel=266 +pkgrel=267 conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev ) pkgdesc="Install and configure your system" depends=(bc libstatgrab mysql-python expect curl dnsutils parted sg3_utils nmbscan ) diff --git a/abs/core-testing/LinHES-config/install_functions.sh b/abs/core-testing/LinHES-config/install_functions.sh index 5e295ac..a88e515 100755 --- a/abs/core-testing/LinHES-config/install_functions.sh +++ b/abs/core-testing/LinHES-config/install_functions.sh @@ -11,6 +11,7 @@ hostname=`hostname` MYSQLCMD_C="mysql -u$MYTHDBUSER -p$MYTHTVPASSWD mythconverg -B --exec" BASE="" + function update_db_settings () { echo "setting database value $1 to $2 for $hostname" @@ -35,6 +36,17 @@ update_db_settings Theme "$pick" } +function splash_setup (){ + echo $CMDLINE | grep -q splash=silent + if [ $? = 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 ] |