indicator-network: remove package

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-09-23 13:13:29 +02:00
parent dd22c43174
commit 800e8e0a8f
4 changed files with 0 additions and 98 deletions

View File

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

View File

@ -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
)&

View File

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

View File

@ -1 +0,0 @@
http://sources.openelec.tv/svn/indicator-network-78.tar.bz2