From dcd8f5f1100670f560712eff8c335d0ec2283577 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Thu, 23 Sep 2010 05:31:57 +0200 Subject: [PATCH] indicator-network: add network config file Signed-off-by: Stephan Raue --- .../indicator-network/config/network.conf | 21 +++++++++++++++++++ packages/network/indicator-network/install | 6 +++++- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 packages/network/indicator-network/config/network.conf 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