Merge pull request #4101 from stefansaraev/connman

connman: revert debb37a
This commit is contained in:
Stefan Saraev 2015-04-19 22:18:12 +03:00
commit 7671ddfe3d
3 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,8 @@
[global]
OfflineMode=false
[Wired]
Enable=true
[WiFi]
Enable=true

View File

@ -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() {

View File

@ -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"