diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2011-10-25 14:47:18 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-31 23:03:11 +0000 |
commit | 2ad87adf2cb4a93eeedfd77b486212e1364bc511 (patch) | |
tree | 4200af82308ed09cd08fd2a50917801e70c59085 /meta/recipes-core/netbase/netbase-4.45 | |
parent | 96316199940d44bf3a0a05ae96bdb3a595744fa6 (diff) | |
download | openembedded-core-2ad87adf2cb4a93eeedfd77b486212e1364bc511.tar.gz openembedded-core-2ad87adf2cb4a93eeedfd77b486212e1364bc511.tar.bz2 openembedded-core-2ad87adf2cb4a93eeedfd77b486212e1364bc511.zip |
netbase: upgrade to version 4.46
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Diffstat (limited to 'meta/recipes-core/netbase/netbase-4.45')
11 files changed, 0 insertions, 171 deletions
diff --git a/meta/recipes-core/netbase/netbase-4.45/hosts b/meta/recipes-core/netbase/netbase-4.45/hosts deleted file mode 100644 index 2f332451b5..0000000000 --- a/meta/recipes-core/netbase/netbase-4.45/hosts +++ /dev/null @@ -1,2 +0,0 @@ -127.0.0.1 localhost.localdomain localhost - diff --git a/meta/recipes-core/netbase/netbase-4.45/init b/meta/recipes-core/netbase/netbase-4.45/init deleted file mode 100644 index 8a67e1cef2..0000000000 --- a/meta/recipes-core/netbase/netbase-4.45/init +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/sh -# -### BEGIN INIT INFO -# Provides: networking -# Required-Start: $local_fs mountvirtfs -# Required-Stop: $local_fs -# Default-Start: S -# Default-Stop: 0 6 -# Short-Description: Raise network interfaces and configure them -### END INIT INFO - -PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin - -if ! [ -x /sbin/ifup ]; then - exit 0 -fi - -case "$1" in - start) - echo -n "Configuring network interfaces... " - ifup -a - echo "done." - ;; - stop) - if sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\1 \2/p' /proc/mounts | - grep -q "^/ nfs$"; then - echo "NOT deconfiguring network interfaces: / is an NFS mount" - elif sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\1 \2/p' /proc/mounts | - grep -q "^/ smbfs$"; then - echo "NOT deconfiguring network interfaces: / is an SMB mount" - elif sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\2/p' /proc/mounts | - grep -qE '^(nfs|smbfs|ncp|coda)$'; then - echo "NOT deconfiguring network interfaces: network shares still mounted." - else - echo -n "Deconfiguring network interfaces... " - ifdown -a - echo "done." - fi - ;; - force-reload|restart) - echo -n "Reconfiguring network interfaces... " - ifdown -a - ifup -a - echo "done." - ;; - *) - echo "Usage: /etc/init.d/networking {start|stop|restart|force-reload}" - exit 1 - ;; -esac - -exit 0 diff --git a/meta/recipes-core/netbase/netbase-4.45/interfaces b/meta/recipes-core/netbase/netbase-4.45/interfaces deleted file mode 100644 index 0acf4cf441..0000000000 --- a/meta/recipes-core/netbase/netbase-4.45/interfaces +++ /dev/null @@ -1,31 +0,0 @@ -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) - -# The loopback interface -auto lo -iface lo inet loopback - -# Wireless interfaces -iface wlan0 inet dhcp - wireless_mode managed - wireless_essid any - wpa-driver wext - wpa-conf /etc/wpa_supplicant.conf - -iface atml0 inet dhcp - -# Wired or wireless interfaces -auto eth0 -iface eth0 inet dhcp -iface eth1 inet dhcp - -# Ethernet/RNDIS gadget (g_ether) -# ... or on host side, usbnet and random hwaddr -iface usb0 inet static - address 192.168.7.2 - netmask 255.255.255.0 - network 192.168.7.0 - gateway 192.168.7.1 - -# Bluetooth networking -iface bnep0 inet dhcp - diff --git a/meta/recipes-core/netbase/netbase-4.45/nfsroot b/meta/recipes-core/netbase/netbase-4.45/nfsroot deleted file mode 100644 index 750c0a98f9..0000000000 --- a/meta/recipes-core/netbase/netbase-4.45/nfsroot +++ /dev/null @@ -1,39 +0,0 @@ -#! /bin/sh - -# In case the interface is used as nfsroot, avoid ifup, otherwise -# nfsroot may lose response - -nfsroot=0 - -if test "x$IFACE" = xlo ; then - exit 0 -fi - -exec 9<&0 < /proc/mounts -while read dev mtpt fstype rest; do - if test $mtpt = "/" ; then - case $fstype in - nfs | nfs4) - nfsroot=1 - nfs_addr=`echo $rest | sed -e 's/^.*addr=\([0-9.]*\).*$/\1/'` - break - ;; - *) - ;; - esac - fi -done -exec 0<&9 9<&- - -test $nfsroot -eq 0 && exit 0 - -if [ -x /bin/ip -o -x /sbin/ip ] ; then - nfs_iface=`ip route get $nfs_addr | grep dev | sed -e 's/^.*dev \([-a-z0-9.]*\).*$/\1/'` -fi - -if test "x$IFACE" = "x$nfs_iface" ; then - echo "ifup skipped for nfsroot interface $nfs_iface" - exit 1 -fi - -exit 0 diff --git a/meta/recipes-core/netbase/netbase-4.45/qemuarm/interfaces b/meta/recipes-core/netbase/netbase-4.45/qemuarm/interfaces deleted file mode 100644 index 16967763e5..0000000000 --- a/meta/recipes-core/netbase/netbase-4.45/qemuarm/interfaces +++ /dev/null @@ -1,5 +0,0 @@ -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) - -# The loopback interface -auto lo -iface lo inet loopback diff --git a/meta/recipes-core/netbase/netbase-4.45/qemuarmv6/interfaces b/meta/recipes-core/netbase/netbase-4.45/qemuarmv6/interfaces deleted file mode 100644 index 16967763e5..0000000000 --- a/meta/recipes-core/netbase/netbase-4.45/qemuarmv6/interfaces +++ /dev/null @@ -1,5 +0,0 @@ -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) - -# The loopback interface -auto lo -iface lo inet loopback diff --git a/meta/recipes-core/netbase/netbase-4.45/qemuarmv7/interfaces b/meta/recipes-core/netbase/netbase-4.45/qemuarmv7/interfaces deleted file mode 100644 index 16967763e5..0000000000 --- a/meta/recipes-core/netbase/netbase-4.45/qemuarmv7/interfaces +++ /dev/null @@ -1,5 +0,0 @@ -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) - -# The loopback interface -auto lo -iface lo inet loopback diff --git a/meta/recipes-core/netbase/netbase-4.45/qemumips/interfaces b/meta/recipes-core/netbase/netbase-4.45/qemumips/interfaces deleted file mode 100644 index f62b9a897d..0000000000 --- a/meta/recipes-core/netbase/netbase-4.45/qemumips/interfaces +++ /dev/null @@ -1,8 +0,0 @@ -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) - -# The loopback interface -auto lo -iface lo inet loopback - - - diff --git a/meta/recipes-core/netbase/netbase-4.45/qemuppc/interfaces b/meta/recipes-core/netbase/netbase-4.45/qemuppc/interfaces deleted file mode 100644 index f62b9a897d..0000000000 --- a/meta/recipes-core/netbase/netbase-4.45/qemuppc/interfaces +++ /dev/null @@ -1,8 +0,0 @@ -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) - -# The loopback interface -auto lo -iface lo inet loopback - - - diff --git a/meta/recipes-core/netbase/netbase-4.45/qemux86-64/interfaces b/meta/recipes-core/netbase/netbase-4.45/qemux86-64/interfaces deleted file mode 100644 index f62b9a897d..0000000000 --- a/meta/recipes-core/netbase/netbase-4.45/qemux86-64/interfaces +++ /dev/null @@ -1,8 +0,0 @@ -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) - -# The loopback interface -auto lo -iface lo inet loopback - - - diff --git a/meta/recipes-core/netbase/netbase-4.45/qemux86/interfaces b/meta/recipes-core/netbase/netbase-4.45/qemux86/interfaces deleted file mode 100644 index f62b9a897d..0000000000 --- a/meta/recipes-core/netbase/netbase-4.45/qemux86/interfaces +++ /dev/null @@ -1,8 +0,0 @@ -# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) - -# The loopback interface -auto lo -iface lo inet loopback - - - |