mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 15:07: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
|
||||
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user