mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
[addons/boblightd] - if boblight-aml was found and /dev/amvideocap0 exists
- start boblight-aml with the daemon - also try to use the settings from boblight addon if installed
This commit is contained in:
parent
608114cbb6
commit
766af101fb
@ -35,4 +35,10 @@ if [ -x $ADDON_DIR/bin/boblight-X11 -a -e $ADDON_HOME/boblight.X11 ] ; then
|
|||||||
boblight-X11 -f >/dev/null 2>&1
|
boblight-X11 -f >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -x $ADDON_DIR/bin/boblight-aml -a -e /dev/amvideocap0 ] ; then
|
||||||
|
#generates cmdline from boblight addon settings
|
||||||
|
CMDLINE=`boblight-aml -g`
|
||||||
|
boblight-aml $CMDLINE >/dev/null 2>&1 &
|
||||||
|
fi
|
||||||
|
|
||||||
exec boblightd -c $ADDON_HOME/boblight.conf > $ADDON_LOG_FILE 2>&1
|
exec boblightd -c $ADDON_HOME/boblight.conf > $ADDON_LOG_FILE 2>&1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user