Comments
This commit is contained in:
parent
11e982741a
commit
b6ef5f31d1
5
init.sh
5
init.sh
|
@ -4,6 +4,8 @@ sleep 5
|
|||
|
||||
/etc/init.d/apache2 start
|
||||
|
||||
sleep 5
|
||||
|
||||
# Wait for mysql to come online
|
||||
while [ "`ps aux | grep mysqld_safe | grep -v grep | wc -l`" -eq 0 ] ; do
|
||||
sleep 1
|
||||
|
@ -15,6 +17,7 @@ if [ $DBS -eq 0 ] ; then
|
|||
# Assume this is a first run and do some other stuff
|
||||
chmod 777 /var/run/rivendell/
|
||||
chown -R rduser /var/snd
|
||||
# Create default database
|
||||
DISPLAY=:0 rdadmin --check-db --mysql-admin-user=root --mysql-admin-password=root --mysql-admin-hostname=127.0.0.1 --mysql-admin-dbname=Rivendell
|
||||
fi
|
||||
|
||||
|
@ -25,7 +28,7 @@ rdadmin --check-db
|
|||
su -c "DISPLAY=:0 rdairplay &" rduser
|
||||
su -c "DISPLAY=:0 jamin &" rduser
|
||||
|
||||
sleep 5
|
||||
sleep 10
|
||||
|
||||
# Disconnect jamin from system audio
|
||||
su -c "jack_disconnect jamin:out_L system:playback_1" rduser
|
||||
|
|
Loading…
Reference in New Issue