summaryrefslogtreecommitdiffstats
path: root/build_tools/larch8/larch0/profiles/linhes-remote-testing-i686/rootoverlay
diff options
context:
space:
mode:
authorJames Meyer <jams@linhes.org>2010-12-29 00:52:05 (GMT)
committerJames Meyer <jams@linhes.org>2010-12-29 00:52:05 (GMT)
commitc39f371cda10496c8858648b1d2490d0a3a113c5 (patch)
tree7639a04658072f53df39095146676af815aa8efc /build_tools/larch8/larch0/profiles/linhes-remote-testing-i686/rootoverlay
parent4a129109f63f972c4115b7fe039550d8e07bfc58 (diff)
downloadlinhes_dev-c39f371cda10496c8858648b1d2490d0a3a113c5.zip
profile sync: add noveau as blacklisted modules.
Diffstat (limited to 'build_tools/larch8/larch0/profiles/linhes-remote-testing-i686/rootoverlay')
-rwxr-xr-xbuild_tools/larch8/larch0/profiles/linhes-remote-testing-i686/rootoverlay/etc/rc.local9
1 files changed, 5 insertions, 4 deletions
diff --git a/build_tools/larch8/larch0/profiles/linhes-remote-testing-i686/rootoverlay/etc/rc.local b/build_tools/larch8/larch0/profiles/linhes-remote-testing-i686/rootoverlay/etc/rc.local
index 2d488a2..2379f2f 100755
--- a/build_tools/larch8/larch0/profiles/linhes-remote-testing-i686/rootoverlay/etc/rc.local
+++ b/build_tools/larch8/larch0/profiles/linhes-remote-testing-i686/rootoverlay/etc/rc.local
@@ -33,9 +33,6 @@ mythconverg_check
status=$?
while [ ! $status = 0 ]
do
- ((ATTEMPT=ATTEMPT+1))
- /etc/rc.d/mysqld stop
- sleep 2
/etc/rc.d/mysqld start
mysqlstatus=$?
if [ $mysqlstatus = 0 ]
@@ -43,7 +40,11 @@ do
mysql_check && install_db
mythconverg_check
status=$?
- fi
+ else
+ ((ATTEMPT=ATTEMPT+1))
+ /etc/rc.d/mysqld stop
+ sleep 2
+ fi
if [ $ATTEMPT = 20 ]
then
printhl " Could not start mysql or install mythconverg within 20 attempts"