mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07: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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user