mirror of
https://github.com/libretro/Lakka.git
synced 2026-11-09 02:59:44 -10:00
connman: install and setup default main.conf shipped with connman, set 'PreferredTechnologies'
Signed-off-by: Stephan Raue <[email protected]>
This commit is contained in:
1 parent
c543af36c2
commit
72664e1359
2 files changed
+4
-8
No files matched your search
@@ -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
|
||||
|
||||
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
|
||||
cp $PKG_BUILD/src/connman.conf $INSTALL/etc/dbus-1/system.d
|
||||
|
||||
Reference in new issue
Block a user