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>master
parent
1470c79ceb
commit
b02b7004f8
@ -0,0 +1,7 @@ |
||||
#!/bin/sh |
||||
|
||||
if [ "$ACTION" = add ]; then |
||||
[ "$DEVICENAME" = "nas0" ] ||[ "$DEVICENAME" = "ptm0" ] || exit |
||||
|
||||
ip link set $DEVICENAME name dsl0 |
||||
fi |
Loading…
Reference in new issue