mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-06 17:37:52 +00:00
Set HEADPHONES_FIRSTRUN to true if config is not found, to trigger it's creation
This commit is contained in:
parent
ec8521b2bd
commit
4c9c4c6de4
@ -327,6 +327,10 @@ python $ADDON_DIR/bin/ini_tool --action=write \
|
|||||||
HEADPHONES_IP="0.0.0.0"
|
HEADPHONES_IP="0.0.0.0"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -f "$HEADPHONES_SETTINGS" ]; then
|
||||||
|
HEADPHONES_FIRSTRUN="yes"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$HEADPHONES_FIRSTRUN" = "yes" ]; then
|
if [ "$HEADPHONES_FIRSTRUN" = "yes" ]; then
|
||||||
write_headphones_ini General http_port $HEADPHONES_PORT
|
write_headphones_ini General http_port $HEADPHONES_PORT
|
||||||
write_headphones_ini General http_host $HEADPHONES_IP
|
write_headphones_ini General http_host $HEADPHONES_IP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user