f81a90a5f81693cf6fb090f3fb4c3e04577720e2
[openwrt/openwrt.git] / package / network / config / ltq-adsl-app / files / 10-adsl_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