These were added back in 2012 to work around an issue with the versions in oe-core relating to our test farm, those issues have since been resolved in oe-core. Plus our tested images use systemd so these are no longer used anyway, remove them.
Signed-off-by: Andrew Davis <[email protected]> --- .../init-ifupdown/init-ifupdown-arago.inc | 4 -- .../init-ifupdown/init-ifupdown/init | 63 ------------------- .../init-ifupdown/init-ifupdown/interfaces | 36 ----------- .../init-ifupdown/init-ifupdown_%.bbappend | 4 -- 4 files changed, 107 deletions(-) delete mode 100644 meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown-arago.inc delete mode 100644 meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown/init delete mode 100644 meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown/interfaces delete mode 100644 meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown_%.bbappend diff --git a/meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown-arago.inc b/meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown-arago.inc deleted file mode 100644 index 0c1689c0..00000000 --- a/meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown-arago.inc +++ /dev/null @@ -1,4 +0,0 @@ -# look for files in this layer first -FILESEXTRAPATHS:prepend := "${THISDIR}/init-ifupdown:" - -PR:append = ".arago1" diff --git a/meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown/init b/meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown/init deleted file mode 100644 index 86aff881..00000000 --- a/meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown/init +++ /dev/null @@ -1,63 +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) - if sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\1 \2/p' /proc/mounts | - grep -q "^/ nfs$"; then - echo "NOT configuring network interfaces: / is an NFS mount" - elif sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\1 \2/p' /proc/mounts | - grep -q "^/ smbfs$"; then - echo "NOT configuring network interfaces: / is an SMB mount" - elif sed -n 's/^[^ ]* \([^ ]*\) \([^ ]*\) .*$/\2/p' /proc/mounts | - grep -qE '^(nfs|smbfs|ncp|coda)$'; then - echo "NOT configuring network interfaces: network shares still mounted." - else - echo -n "Configuring network interfaces... " - ifup -a - echo "done." - fi - ;; - 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-arago-distro/recipes-core/init-ifupdown/init-ifupdown/interfaces b/meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown/interfaces deleted file mode 100644 index 15460a45..00000000 --- a/meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown/interfaces +++ /dev/null @@ -1,36 +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 tiwlan0 inet dhcp - wireless_mode managed - wireless_essid any - -iface atml0 inet dhcp - -# Wired or wireless interfaces -auto eth0 -iface eth0 inet dhcp - pre-up /bin/grep -v -e "ip=[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+" /proc/cmdline > /dev/null - udhcpc_opts -R -b - -iface eth1 inet dhcp -iface eth2 inet dhcp -iface eth3 inet dhcp -iface eth4 inet dhcp - -# Ethernet/RNDIS gadget (g_ether) -# ... or on host side, usbnet and random hwaddr -iface usb0 inet dhcp - -# Bluetooth networking -iface bnep0 inet dhcp diff --git a/meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown_%.bbappend b/meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown_%.bbappend deleted file mode 100644 index 875b33de..00000000 --- a/meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown_%.bbappend +++ /dev/null @@ -1,4 +0,0 @@ -INIT_IFUPDOWN_ARAGO = "" -INIT_IFUPDOWN_ARAGO:arago = "init-ifupdown-arago.inc" - -require ${INIT_IFUPDOWN_ARAGO} -- 2.39.2 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16743): https://lists.yoctoproject.org/g/meta-arago/message/16743 Mute This Topic: https://lists.yoctoproject.org/mt/116243712/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
