aboutsummaryrefslogtreecommitdiffstats
path: root/package/linux-atm
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-06-26 15:40:03 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-06-26 15:40:03 +0000
commitbe0f020ef15284ce31323977a1c521d90959ec66 (patch)
treed53e2f39390700f8c8b55bd3e047623e762ec347 /package/linux-atm
parent340bb8ff7a206006c9b21f875e238614caef7d22 (diff)
downloadupstream-be0f020ef15284ce31323977a1c521d90959ec66.tar.gz
upstream-be0f020ef15284ce31323977a1c521d90959ec66.tar.bz2
upstream-be0f020ef15284ce31323977a1c521d90959ec66.zip
[package] linux-atm: remove defunct ipoa protocol support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32504 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/linux-atm')
-rw-r--r--package/linux-atm/Makefile2
-rw-r--r--package/linux-atm/files/ipoa.sh34
2 files changed, 0 insertions, 36 deletions
diff --git a/package/linux-atm/Makefile b/package/linux-atm/Makefile
index b6b252d143..1ac0a219a2 100644
--- a/package/linux-atm/Makefile
+++ b/package/linux-atm/Makefile
@@ -100,8 +100,6 @@ endef
define Package/atm-tools/install
$(INSTALL_DIR) $(1)/usr/sbin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/arpd/atmarp{,d} $(1)/usr/sbin/
- $(INSTALL_DIR) $(1)/lib/network
- $(INSTALL_BIN) ./files/ipoa.sh $(1)/lib/network/
#
#The following is disabled by default but still useful for some debugging
diff --git a/package/linux-atm/files/ipoa.sh b/package/linux-atm/files/ipoa.sh
deleted file mode 100644
index 5d6da1ef95..0000000000
--- a/package/linux-atm/files/ipoa.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-scan_ipoa() {
- config_get ifname "$1" ifname
- ipoadev="${ipoadev:-0}"
- config_get unit "$1" unit
- [ -z "$unit" ] && {
- config_set "$1" ifname "atm$ipoadev"
- config_set "$1" unit "$ipoadev"
- ipoadev="$(($ipoadev + 1))"
- }
-}
-
-setup_interface_ipoa() {
- local iface="$1"
- local config="$2"
-
- config_get device "$config" device
- config_get vpi "$config" vpi
- vpi=${vpi:-8}
- config_get vci "$config" vci
- vci=${vci:-36}
-
- config_get encaps "$config" encaps
- case "$encaps" in
- 1|vc) ENCAPS="vc-encaps" ;;
- *) ENCAPS="llc-encaps" ;;
- esac
-
- config_get mtu "$cfg" mtu
- mtu=${mtu:-1500}
- atmarp -c $device
- ifconfig $device $ip netmask $mask mtu $mtu up
- atmarp -s $gw $vpi.$vci null
- route add default gw $gw
-}