diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-11-27 19:33:58 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-11-27 19:33:58 +0100 |
commit | 3d8d90f636eb9e1c7c89b3f99841948b6c30050c (patch) | |
tree | 4903e6ce7f4174e5e80ee3bd585b9af9d94c2255 /package/busybox | |
parent | 0c6fb98d013e4ffc664935a51adce94254d10f83 (diff) | |
parent | 7d36caec53dbfeea4e696205ae71bdae8246a082 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/busybox')
-rw-r--r-- | package/busybox/files/bridge.pre-up | 0 | ||||
-rw-r--r-- | package/busybox/files/ipv6 | 71 | ||||
-rw-r--r-- | package/busybox/files/ipv6.up | 0 | ||||
-rw-r--r-- | package/busybox/files/vlan.pre-up | 0 |
4 files changed, 0 insertions, 71 deletions
diff --git a/package/busybox/files/bridge.pre-up b/package/busybox/files/bridge.pre-up deleted file mode 100644 index e69de29bb..000000000 --- a/package/busybox/files/bridge.pre-up +++ /dev/null diff --git a/package/busybox/files/ipv6 b/package/busybox/files/ipv6 deleted file mode 100644 index 837106519..000000000 --- a/package/busybox/files/ipv6 +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/sh - -ipv6_up() { - env | grep -q IF_IPV6_ || return 0 - - # IPV6-FLUSH - if [ "$IF_IPV6_FLUSH" == "1" ] || [ "$IF_IPV6_FLUSH" == "yes" ] || [ "$IF_IPV6_FLUSH" == "YES" ] - then - ip -6 addr flush $IFACE - logger -t IPv6 "deactivated IPv6 for interface $IFACE" - fi - # IPV6-AUTOCONF - if [ "$IF_IPV6_AUTOCONF" == "1" ] || [ "$IF_IPV6_AUTOCONF" == "yes" ] || [ "$IF_IPV6_AUTOCONF" == "YES" ] - then - echo 1 > /proc/sys/net/ipv6/conf/$IFACE/autoconf - logger -t IPv6 "autoconf enabled for $IFACE" - fi - if [ "$IF_IPV6_AUTOCONF" == "0" ] || [ "$IF_IPV6_AUTOCONF" == "no" ] || [ "$IF_IPV6_AUTOCONF" == "NO" ] - then - echo 0 > /proc/sys/net/ipv6/conf/$IFACE/autoconf - logger -t IPv6 "autoconf disabled for $IFACE" - fi - # IPV6-ACCEPT-RA - if [ "$IF_IPV6_ACCEPT_RA" == "1" ] || [ "$IF_IPV6_ACCEPT_RA" == "yes" ] || [ "$IF_IPV6_ACCEPT_RA" == "YES" ] - then - - echo 1 > /proc/sys/net/ipv6/conf/$IFACE/accept_ra - logger -t IPv6 "accept-ra enabled for $IFACE" - fi - if [ "$IF_IPV6_ACCEPT_RA" == "0" ] || [ "$IF_IPV6_ACCEPT_RA" == "no" ] || [ "$IF_IPV6_ACCEPT_RA" == "NO" ] - then - echo 0 > /proc/sys/net/ipv6/conf/$IFACE/accept_ra - logger -t IPv6 "accept-ra disabled for $IFACE" - fi - # IPV6-ACCEPT-REDIRECTS - if [ "$IF_IPV6_ACCEPT_REDIRECTS" == "1" ] || [ "$IF_IPV6_ACCEPT_REDIRECTS" == "yes" ] || [ "$IF_IPV6_ACCEPT_REDIRECTS" == "YES" ] - then - - echo 1 > /proc/sys/net/ipv6/conf/$IFACE/accept_redirects - logger -t IPv6 "accept-redirects enabled for $IFACE" - fi - if [ "$IF_IPV6_ACCEPT_REDIRECTS" == "0" ] || [ "$IF_IPV6_ACCEPT_REDIRECTS" == "no" ] || [ "$IF_IPV6_ACCEPT_REDIRECTS" == "NO" ] - then - echo 0 > /proc/sys/net/ipv6/conf/$IFACE/accept_redirects - logger -t IPv6 "accept-redirects disabled for $IFACE" - fi - # IPV6-FORWARDING - if [ "$IF_IPV6_FORWARDING" == "1" ] || [ "$IF_IPV6_FORWARDING" == "yes" ] || [ "$IF_IPV6_FORWARDING" == "YES" ] - then - - echo 1 > /proc/sys/net/ipv6/conf/$IFACE/forwarding - logger -t IPv6 "forwarding enabled for $IFACE" - fi - if [ "$IF_IPV6_FORWARDING" == "0" ] || [ "$IF_IPV6_FORWARDING" == "no" ] || [ "$IF_IPV6_FORWARDING" == "NO" ] - then - echo 0 > /proc/sys/net/ipv6/conf/$IFACE/forwarding - logger -t IPv6 "forwarding disabled for $IFACE" - fi - # IPV6-USE-TEMPADDR - if [ "$IF_IPV6_USE_TEMPADDR" == "1" ] || [ "$IF_IPV6_USE_TEMPADDR" == "yes" ] || [ "$IF_IPV6_USE_TEMPADDR" == "YES" ] - then - - echo 1 > /proc/sys/net/ipv6/conf/$IFACE/use_tempaddr - logger -t IPv6 "use_tempaddr enabled for $IFACE" - fi - if [ "$IF_IPV6_USE_TEMPADDR" == "0" ] || [ "$IF_IPV6_USE_TEMPADDR" == "no" ] || [ "$IF_IPV6_USE_TEMPADDR" == "NO" ] - then - echo 0 > /proc/sys/net/ipv6/conf/$IFACE/use_tempaddr - logger -t IPv6 "use_tempaddr disabled for $IFACE" - fi -} diff --git a/package/busybox/files/ipv6.up b/package/busybox/files/ipv6.up deleted file mode 100644 index e69de29bb..000000000 --- a/package/busybox/files/ipv6.up +++ /dev/null diff --git a/package/busybox/files/vlan.pre-up b/package/busybox/files/vlan.pre-up deleted file mode 100644 index e69de29bb..000000000 --- a/package/busybox/files/vlan.pre-up +++ /dev/null |