mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-06 01:17:49 +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
@ -326,6 +326,10 @@ python $ADDON_DIR/bin/ini_tool --action=write \
|
||||
if [ -z "$HEADPHONES_IP" ]; then
|
||||
HEADPHONES_IP="0.0.0.0"
|
||||
fi
|
||||
|
||||
if [ ! -f "$HEADPHONES_SETTINGS" ]; then
|
||||
HEADPHONES_FIRSTRUN="yes"
|
||||
fi
|
||||
|
||||
if [ "$HEADPHONES_FIRSTRUN" = "yes" ]; then
|
||||
write_headphones_ini General http_port $HEADPHONES_PORT
|
||||
|
Loading…
x
Reference in New Issue
Block a user