From 800e8e0a8fc17fdd14953aa57f39e00239bb1785 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Thu, 23 Sep 2010 13:13:29 +0200 Subject: [PATCH] indicator-network: remove package Signed-off-by: Stephan Raue --- .../indicator-network/config/network.conf | 21 ------- .../indicator-network/init.d/13_network | 62 ------------------- packages/network/indicator-network/install | 14 ----- packages/network/indicator-network/url | 1 - 4 files changed, 98 deletions(-) delete mode 100644 packages/network/indicator-network/config/network.conf delete mode 100755 packages/network/indicator-network/init.d/13_network delete mode 100755 packages/network/indicator-network/install delete mode 100644 packages/network/indicator-network/url diff --git a/packages/network/indicator-network/config/network.conf b/packages/network/indicator-network/config/network.conf deleted file mode 100644 index e8e814c9e6..0000000000 --- a/packages/network/indicator-network/config/network.conf +++ /dev/null @@ -1,21 +0,0 @@ -# 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/init.d/13_network b/packages/network/indicator-network/init.d/13_network deleted file mode 100755 index 3afc943e0d..0000000000 --- a/packages/network/indicator-network/init.d/13_network +++ /dev/null @@ -1,62 +0,0 @@ -#!/bin/sh - -################################################################################ -# Copyright (C) 2009-2010 OpenELEC.tv -# http://www.openelec.tv -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -# setup networking -# -# runlevels: openelec, installer, textmode - -. /etc/profile - -HOSTNAME="openelec" # default hostname -NETWORK_TYPE="wired" # default network type -CONNECTION="dhcp" # default connection - -[ -f $HOME/.config/network.conf ] && . $HOME/.config/network.conf - -# bring lo up, whether we have network card or not - progress "starting Loopback Network interface" - ifconfig lo 127.0.0.1 up - -# setup hostname - progress "Setup hostname" - echo "$HOSTNAME" > /proc/sys/kernel/hostname - -# create /etc/hosts file, useful for gethostbyname(localhost) - progress "creating /etc/hosts" - echo -e "127.0.0.1\tlocalhost $HOSTNAME" > /etc/hosts - -( - # starting Connection manager - progress "starting Connection manager" - - mkdir -p /var/run - touch /var/run/resolv.conf - [ -x /usr/sbin/connmand ] && /usr/sbin/connmand || exit 0 - - usleep 2000 - - if [ "$CONNECTION" = "dhcp" -a -x /usr/bin/cmcc ]; then - /usr/bin/cmcc edit Wired ipv4 dhcp - elif [ "$CONNECTION" = "static" -a -n "$IPADDRESS" -a -n "$NETMASK" -a -n "$GATEWAY" -a -x /usr/bin/cmcc ]; then - /usr/bin/cmcc edit Wired ipv4 manual "$IPADDRESS" "$NETMASK" "$GATEWAY" - fi -)& \ No newline at end of file diff --git a/packages/network/indicator-network/install b/packages/network/indicator-network/install deleted file mode 100755 index 1a3fc9ce0f..0000000000 --- a/packages/network/indicator-network/install +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -. config/options $1 - -$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 - -mkdir -p $INSTALL/usr/config - cp $PKG_DIR/config/network.conf $INSTALL/usr/config diff --git a/packages/network/indicator-network/url b/packages/network/indicator-network/url deleted file mode 100644 index 0de58b97d0..0000000000 --- a/packages/network/indicator-network/url +++ /dev/null @@ -1 +0,0 @@ -http://sources.openelec.tv/svn/indicator-network-78.tar.bz2 \ No newline at end of file