diff --git a/packages/network/indicator-network/config/network.conf b/packages/network/indicator-network/config/network.conf new file mode 100644 index 0000000000..e8e814c9e6 --- /dev/null +++ b/packages/network/indicator-network/config/network.conf @@ -0,0 +1,21 @@ +# Setup Network + +# Hostname + HOSTNAME="openelec" + +# Network type ( wired, wlan, 3g ) +# Note: only "wired" is still supported + NETWORK_TYPE="wired" + +# Connection type ( dhcp, static ) + CONNECTION="dhcp" + +# IP settings (only with static connection type) +# IP address + IPADDRESS="192.168.0.12" + +# Netmask + NETMASK="255.255.255.0" + +# Gateway + GATEWAY="192.168.0.1" \ No newline at end of file diff --git a/packages/network/indicator-network/install b/packages/network/indicator-network/install index 55732a1e80..1a3fc9ce0f 100755 --- a/packages/network/indicator-network/install +++ b/packages/network/indicator-network/install @@ -5,6 +5,10 @@ $SCRIPTS/install Python $SCRIPTS/install pygobject $SCRIPTS/install dbus-python +$SCRIPTS/install connman mkdir -p $INSTALL/usr/bin - cp $PKG_BUILD/scripts/cmcc $INSTALL/usr/bin \ No newline at end of file + cp $PKG_BUILD/scripts/cmcc $INSTALL/usr/bin + +mkdir -p $INSTALL/usr/config + cp $PKG_DIR/config/network.conf $INSTALL/usr/config