From 1c4d7bb9217dbe605499bf2e9149c4f37fda4195 Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Thu, 15 Mar 2012 12:49:25 +0200 Subject: [PATCH] boblightd: remove unneeded 'if' in init script --- .../multimedia/boblightd/source/bin/boblightd.start | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/packages/addons/service/multimedia/boblightd/source/bin/boblightd.start b/packages/addons/service/multimedia/boblightd/source/bin/boblightd.start index 6340b0221f..201db21e76 100755 --- a/packages/addons/service/multimedia/boblightd/source/bin/boblightd.start +++ b/packages/addons/service/multimedia/boblightd/source/bin/boblightd.start @@ -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