FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › General Discussion › SUSE 10 startup script › Reply To: SUSE 10 startup script
13/07/2006 at 12:03 AM #4469
Within the ‘start’ block I added a timeout in case the drive never mounts:
## Wait for the music cache to appear
while [ ! -e $MUSIC_WATCH_DIR -a $count -lt $MaxTries ]
echo "mt-daapd: Waiting for music directory to appear..."
if [ ! -e $MUSIC_WATCH_DIR ]; then
echo 'mt-daapd: ERROR: unable to see music directory'
Unfortunately, my USB drives don’t show up until sometime later. Any suggestions as to what could be added to the ‘Required-Start’ block to cause this init to run later?