summaryrefslogtreecommitdiffstats
path: root/abs/core/live-installer/install_db_chroot.sh
diff options
context:
space:
mode:
authorUnconfigured <Unconfigured>2009-06-08 22:45:45 (GMT)
committerUnconfigured <Unconfigured>2009-06-08 22:45:45 (GMT)
commit9c70dc6da069779c71156676e51aab607d455d9f (patch)
treeb60871641b73a33f1679028c54c40811832f9d26 /abs/core/live-installer/install_db_chroot.sh
parent0d999fa87266ce16e60d9accd9019770bcd47970 (diff)
downloadlinhes_pkgbuild-9c70dc6da069779c71156676e51aab607d455d9f.zip
linhes_pkgbuild-9c70dc6da069779c71156676e51aab607d455d9f.tar.gz
linhes_pkgbuild-9c70dc6da069779c71156676e51aab607d455d9f.tar.bz2
live-installer is no longer used
Diffstat (limited to 'abs/core/live-installer/install_db_chroot.sh')
-rwxr-xr-xabs/core/live-installer/install_db_chroot.sh52
1 files changed, 0 insertions, 52 deletions
diff --git a/abs/core/live-installer/install_db_chroot.sh b/abs/core/live-installer/install_db_chroot.sh
deleted file mode 100755
index 514dd3c..0000000
--- a/abs/core/live-installer/install_db_chroot.sh
+++ /dev/null
@@ -1,52 +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 ]
- if [ -d /var/lib/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
-
-
-