mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Merge pull request #4101 from stefansaraev/connman
connman: revert debb37a
This commit is contained in:
commit
7671ddfe3d
8
packages/network/connman/config/settings
Normal file
8
packages/network/connman/config/settings
Normal file
@ -0,0 +1,8 @@
|
||||
[global]
|
||||
OfflineMode=false
|
||||
|
||||
[Wired]
|
||||
Enable=true
|
||||
|
||||
[WiFi]
|
||||
Enable=true
|
@ -96,6 +96,9 @@ post_makeinstall_target() {
|
||||
|
||||
mkdir -p $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() {
|
||||
|
@ -17,6 +17,12 @@
|
||||
# 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
|
||||
if [ -f /storage/.config/connman_main.conf ]; then
|
||||
export CONNMAN_MAIN="--config=/storage/.config/connman_main.conf"
|
||||
|
Loading…
x
Reference in New Issue
Block a user