lantiq: xrx200: rename nas0/ptm0 to dsl0
[openwrt/openwrt.git] / package / network / config / ltq-vdsl-app / files / 10-xdsl_rename
1 #!/bin/sh
2
3 if [ "$ACTION" = add ]; then
4 [ "$DEVICENAME" = "nas0" ] ||[ "$DEVICENAME" = "ptm0" ] || exit
5
6 ip link set $DEVICENAME name dsl0
7 fi