mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 01:28:59 +00:00
b02b7004f8
This change makes it possible to configure the wan/dsl ppp interface settings independantly from the used TC-Layer (ATM/PTM). By using dsl0 as interface name as for the xrx200 we can get rid of a few conditionals which were introduced because of the different default TC-Layer in xway and xrx200. Signed-off-by: Mathias Kresin <dev@kresin.me>
8 lines
144 B
Bash
8 lines
144 B
Bash
#!/bin/sh
|
|
|
|
if [ "$ACTION" = add ]; then
|
|
[ "$DEVICENAME" = "nas0" ] ||[ "$DEVICENAME" = "ptm0" ] || exit
|
|
|
|
ip link set $DEVICENAME name dsl0
|
|
fi
|