diff options
author | James Meyer <james.meyer@operamail.com> | 2012-04-21 18:26:48 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-04-21 18:26:48 (GMT) |
commit | 1acb6351868760d8f9705a5ee4282dfa91cd5252 (patch) | |
tree | 095ffcf38ea84f04c95ae74fd0dbf03d583996b5 /abs/core/LinHES-config/install_db_chroot.sh | |
parent | c6e57b34bcfc0102646f8d6167d8818aa51404ef (diff) | |
download | linhes_pkgbuild-1acb6351868760d8f9705a5ee4282dfa91cd5252.zip linhes_pkgbuild-1acb6351868760d8f9705a5ee4282dfa91cd5252.tar.gz linhes_pkgbuild-1acb6351868760d8f9705a5ee4282dfa91cd5252.tar.bz2 |
LinHES-config: add myth_settings_wrapper, and convert exisiting programs to use it.
myth_settings_wrapper.sh is a wrapper around mythutils and is used to update a few database settings and also to save/restore settings during install.
Diffstat (limited to 'abs/core/LinHES-config/install_db_chroot.sh')
-rw-r--r-- | abs/core/LinHES-config/install_db_chroot.sh | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/abs/core/LinHES-config/install_db_chroot.sh b/abs/core/LinHES-config/install_db_chroot.sh index 94305d2..bb7bbcf 100644 --- a/abs/core/LinHES-config/install_db_chroot.sh +++ b/abs/core/LinHES-config/install_db_chroot.sh @@ -31,17 +31,18 @@ do 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/myth_settings_wrapper.sh -c load + #change this to mythutil + #DISPLAY=127.0.0.1:0 $MV_ROOT/bin/MythVantage -t restore,default_1 + $MV_ROOT/bin/myth_settings_wrapper.sh -c restore -t syssettings $MV_ROOT/bin/systemconfig.sh misc,hostype,this_is_install update_db_settings HostServiceMythWEB "1" echo 'UseMythWEB="1"' >> /etc/systemconfig #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 + $MV_ROOT/bin/myth_settings_wrapper.sh -c USERJOBALLOW + $MV_ROOT/bin/myth_settings_wrapper.sh -c ACCESSCONTROL if [ -d /data/srv/mysql/mythconverg ] #if [ -d /var/lib/mysql/mythconverg ] then @@ -51,7 +52,7 @@ do fi # if [ $SystemType = "Master_backend" ] # then -# $MV_ROOT/bin/restore_default_settings.sh -c BECONFIG -s master -a $dbhost +# $MV_ROOT/bin/myth_settings_wrapper.sh -c BECONFIG -s master -a $dbhost # fi fi fi |