mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 07:27:49 +00:00
boblightd: remove unneeded 'if' in init script
This commit is contained in:
parent
a93a9a9234
commit
1c4d7bb921
@ -54,12 +54,10 @@ if [ -f "$BOBLIGHT_CONFIG" ] ; then
|
|||||||
if [ -f "$LOCKDIR/$LOCKFILE" ] ; then
|
if [ -f "$LOCKDIR/$LOCKFILE" ] ; then
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
if [ -e $BOBLIGHT_CONFIG ]; then
|
# Make sure the xserver has started up
|
||||||
# Make sure the xserver has started up
|
wait_for_xorg
|
||||||
wait_for_xorg
|
# Start the boblight daemon
|
||||||
# Start the boblight daemon
|
boblightd -c $BOBLIGHT_CONFIG >> $LOG_FILE 2>&1
|
||||||
boblightd -c $BOBLIGHT_CONFIG >> $LOG_FILE 2>&1
|
|
||||||
fi
|
|
||||||
done &
|
done &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user