mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 09:12:39 +00:00
8 lines
144 B
Plaintext
8 lines
144 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
if [ "$ACTION" = add ]; then
|
||
|
[ "$DEVICENAME" = "nas0" ] ||[ "$DEVICENAME" = "ptm0" ] || exit
|
||
|
|
||
|
ip link set $DEVICENAME name dsl0
|
||
|
fi
|