projects
/
lede-git
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
lantiq: xrx200: rename nas0/ptm0 to dsl0
[lede-git/.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