diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-29 22:25:14 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-29 22:25:14 +0100 |
commit | 8d7b67dcc1e0f49d11bb98614dc1aad30ddfb4a1 (patch) | |
tree | 06f907b074ad1c5181b9ee2904d849235ef2704b /package/base-files/extra/etc/network/if-pre-up.d/01-atm | |
parent | 48ed66e5cb97df911aaf2d45200b5f1113e8261d (diff) |
make vlan configuration work with ifup/ifdown
Diffstat (limited to 'package/base-files/extra/etc/network/if-pre-up.d/01-atm')
-rwxr-xr-x | package/base-files/extra/etc/network/if-pre-up.d/01-atm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/package/base-files/extra/etc/network/if-pre-up.d/01-atm b/package/base-files/extra/etc/network/if-pre-up.d/01-atm index 0abf9d368..5c168c001 100755 --- a/package/base-files/extra/etc/network/if-pre-up.d/01-atm +++ b/package/base-files/extra/etc/network/if-pre-up.d/01-atm @@ -1,9 +1,6 @@ #!/bin/sh -if [ ! -x /usr/sbin/br2684ctl ] -then - exit 0 -fi +[ -x /usr/sbin/br2684ctl ] || exit 0 [ "${IFACE%%[0-9]*}" = "nas" ] || exit 0 @@ -40,4 +37,5 @@ esac br2684ctl -b -c ${IFACE##*[a-z]} -e $encap -p $payload -a $IF_ATM_VPI.$IF_ATM_VCI ifconfig nas${IFACE##*[a-z]} up + exit 0 |