mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
connman: remove support to create initial setting
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
10972f677e
commit
9fda0a0a35
@ -1,18 +0,0 @@
|
|||||||
[global]
|
|
||||||
OfflineMode=false
|
|
||||||
Timeservers=0.pool.ntp.org;1.pool.ntp.org;2.pool.ntp.org;3.pool.ntp.org
|
|
||||||
|
|
||||||
[Wired]
|
|
||||||
Enable=true
|
|
||||||
|
|
||||||
[WiFi]
|
|
||||||
Enable=true
|
|
||||||
|
|
||||||
[Bluetooth]
|
|
||||||
Enable=false
|
|
||||||
|
|
||||||
[3G]
|
|
||||||
Enable=false
|
|
||||||
|
|
||||||
[WiMAX]
|
|
||||||
Enable=false
|
|
@ -100,6 +100,7 @@ post_makeinstall_target() {
|
|||||||
sed -i $INSTALL/etc/connman/main.conf \
|
sed -i $INSTALL/etc/connman/main.conf \
|
||||||
-e "s|^# BackgroundScanning.*|BackgroundScanning = true|g" \
|
-e "s|^# BackgroundScanning.*|BackgroundScanning = true|g" \
|
||||||
-e "s|^# FallbackNameservers.*|FallbackNameservers = 8.8.8.8,8.8.4.4|g" \
|
-e "s|^# FallbackNameservers.*|FallbackNameservers = 8.8.8.8,8.8.4.4|g" \
|
||||||
|
-e "s|^# FallbackTimeservers.*|FallbackTimeservers = 0.pool.ntp.org,1.pool.ntp.org,2.pool.ntp.org,3.pool.ntp.org|g" \
|
||||||
-e "s|^# PreferredTechnologies.*|PreferredTechnologies = ethernet,wifi,cellular|g" \
|
-e "s|^# PreferredTechnologies.*|PreferredTechnologies = ethernet,wifi,cellular|g" \
|
||||||
-e "s|^# TetheringTechnologies.*|TetheringTechnologies = wifi|g" \
|
-e "s|^# TetheringTechnologies.*|TetheringTechnologies = wifi|g" \
|
||||||
-e "s|^# AllowHostnameUpdates.*|AllowHostnameUpdates = false|g" \
|
-e "s|^# AllowHostnameUpdates.*|AllowHostnameUpdates = false|g" \
|
||||||
@ -107,9 +108,6 @@ post_makeinstall_target() {
|
|||||||
|
|
||||||
mkdir -p $INSTALL/usr/config
|
mkdir -p $INSTALL/usr/config
|
||||||
cp $PKG_DIR/config/hosts.conf $INSTALL/usr/config
|
cp $PKG_DIR/config/hosts.conf $INSTALL/usr/config
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/share/connman/
|
|
||||||
cp $PKG_DIR/config/settings $INSTALL/usr/share/connman/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
@ -17,12 +17,6 @@
|
|||||||
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# creating initial settings file
|
|
||||||
if [ ! -f /storage/.cache/connman/settings ]; then
|
|
||||||
mkdir -p /storage/.cache/connman
|
|
||||||
cp /usr/share/connman/settings /storage/.cache/connman
|
|
||||||
fi
|
|
||||||
|
|
||||||
# set variable for connman main.conf location
|
# set variable for connman main.conf location
|
||||||
if [ -f /storage/.config/connman_main.conf ]; then
|
if [ -f /storage/.config/connman_main.conf ]; then
|
||||||
export CONNMAN_MAIN="--config=/storage/.config/connman_main.conf"
|
export CONNMAN_MAIN="--config=/storage/.config/connman_main.conf"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user