mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
kodi-waitonnetwork: enabled by default with 10s
This commit is contained in:
parent
5cee06d72b
commit
50926608a5
3
packages/mediacenter/kodi/config/network_wait
Normal file
3
packages/mediacenter/kodi/config/network_wait
Normal file
@ -0,0 +1,3 @@
|
||||
WAIT_NETWORK="true"
|
||||
WAIT_NETWORK_TIME="10"
|
||||
WAIT_NETWORK_DEFAULT="true"
|
@ -315,6 +315,9 @@ post_makeinstall_target() {
|
||||
$PROJECT_DIR/$PROJECT/devices/$DEVICE/kodi/appliance.xml \
|
||||
> $INSTALL/usr/share/kodi/system/settings/appliance.xml
|
||||
|
||||
mkdir -p $INSTALL/usr/cache/libreelec
|
||||
cp $PKG_DIR/config/network_wait $INSTALL/usr/cache/libreelec
|
||||
|
||||
# update addon manifest
|
||||
ADDON_MANIFEST=$INSTALL/usr/share/kodi/system/addon-manifest.xml
|
||||
xmlstarlet ed -L -d "/addons/addon[text()='service.xbmc.versioncheck']" $ADDON_MANIFEST
|
||||
|
@ -4,8 +4,9 @@ After=connman.service
|
||||
Before=network-online.target
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
ConditionPathExists=/storage/.cache/libreelec/network_wait
|
||||
ConditionFileNotEmpty=/storage/.cache/libreelec/network_wait
|
||||
ConditionPathExists=!/dev/.kernel_ipconfig
|
||||
ConditionPathExists=/storage/.kodi/userdata/addon_data/service.libreelec.settings/oe_settings.xml
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
Loading…
x
Reference in New Issue
Block a user