connman: install and setup default main.conf shipped with connman, set 'PreferredTechnologies'

Signed-off-by: Stephan Raue <[email protected]>
This commit is contained in:
Stephan Raue committed 2013-03-21 05:27:34 +01:00
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
+4 -1
View File
@@ -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