mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
connman: install and setup default main.conf shipped with connman, set 'PreferredTechnologies'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
c543af36c2
commit
72664e1359
@ -1,7 +0,0 @@
|
|||||||
[General]
|
|
||||||
|
|
||||||
# Enable background scanning. Default is true.
|
|
||||||
# Background scanning will start every 5 minutes unless
|
|
||||||
# the scan list is empty. In that case, a simple backoff
|
|
||||||
# mechanism starting from 10s up to 5 minutes will run.
|
|
||||||
BackgroundScanning = true
|
|
@ -29,7 +29,10 @@ mkdir -p $INSTALL/etc
|
|||||||
ln -sf /var/cache/resolv.conf $INSTALL/etc/resolv.conf
|
ln -sf /var/cache/resolv.conf $INSTALL/etc/resolv.conf
|
||||||
|
|
||||||
mkdir -p $INSTALL/etc/connman
|
mkdir -p $INSTALL/etc/connman
|
||||||
cp $PKG_DIR/config/main.conf $INSTALL/etc/connman
|
cp $PKG_BUILD/src/main.conf $INSTALL/etc/connman
|
||||||
|
sed -i $INSTALL/etc/connman/main.conf \
|
||||||
|
-e "s,^# BackgroundScanning.*,BackgroundScanning = true,g" \
|
||||||
|
-e "s,^# PreferredTechnologies.*,PreferredTechnologies = ethernet,wifi,cellular,g"
|
||||||
|
|
||||||
mkdir -p $INSTALL/etc/dbus-1/system.d
|
mkdir -p $INSTALL/etc/dbus-1/system.d
|
||||||
cp $PKG_BUILD/src/connman.conf $INSTALL/etc/dbus-1/system.d
|
cp $PKG_BUILD/src/connman.conf $INSTALL/etc/dbus-1/system.d
|
||||||
|
Loading…
x
Reference in New Issue
Block a user