mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
tvheadend: xbmc allows 'numeric' setting to be empty. fix
This commit is contained in:
parent
4d1a74cede
commit
5321a58a20
@ -73,6 +73,9 @@ for driver_dvb in $(find /storage/.xbmc/addons/driver.dvb.*/bin/userspace-driver
|
||||
done
|
||||
|
||||
# (wait for) at least 1 adapter (xbmc allows to set 0)
|
||||
# xbmc allows "numeric" type field to be empty. lets handle thaat
|
||||
[ "$NUM_ADAPTERS" = "" ] && NUM_ADAPTERS=1
|
||||
# 0 does not make sense. should be 1 or more
|
||||
[ $NUM_ADAPTERS -lt 1 ] && NUM_ADAPTERS=1
|
||||
if [ "$WAIT_FOR_FEINIT" == "true" ] ; then
|
||||
while [ true ] ; do
|
||||
|
Loading…
x
Reference in New Issue
Block a user