boblightd: remove unneeded 'if' in init script

This commit is contained in:
Stefan Saraev 2012-03-15 12:49:25 +02:00
parent a93a9a9234
commit 1c4d7bb921

View File

@ -54,12 +54,10 @@ if [ -f "$BOBLIGHT_CONFIG" ] ; then
if [ -f "$LOCKDIR/$LOCKFILE" ] ; then
break
fi
if [ -e $BOBLIGHT_CONFIG ]; then
# Make sure the xserver has started up
wait_for_xorg
# Start the boblight daemon
boblightd -c $BOBLIGHT_CONFIG >> $LOG_FILE 2>&1
fi
# Make sure the xserver has started up
wait_for_xorg
# Start the boblight daemon
boblightd -c $BOBLIGHT_CONFIG >> $LOG_FILE 2>&1
done &
fi