diff options
Diffstat (limited to 'package')
-rw-r--r-- | package/network/config/ltq-adsl-app/files/10-adsl_rename | 2 | ||||
-rw-r--r-- | package/network/config/ltq-vdsl-app/files/10-xdsl_rename | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/package/network/config/ltq-adsl-app/files/10-adsl_rename b/package/network/config/ltq-adsl-app/files/10-adsl_rename index faa5911aa7..f81a90a5f8 100644 --- a/package/network/config/ltq-adsl-app/files/10-adsl_rename +++ b/package/network/config/ltq-adsl-app/files/10-adsl_rename @@ -1,7 +1,7 @@ #!/bin/sh if [ "$ACTION" = add ]; then - [ "$DEVICENAME" = "nas0" ] ||[ "$DEVICENAME" = "ptm0" ] || exit + [ "$DEVICENAME" = "nas0" ] || [ "$DEVICENAME" = "ptm0" ] || exit ip link set $DEVICENAME name dsl0 fi diff --git a/package/network/config/ltq-vdsl-app/files/10-xdsl_rename b/package/network/config/ltq-vdsl-app/files/10-xdsl_rename index faa5911aa7..f81a90a5f8 100644 --- a/package/network/config/ltq-vdsl-app/files/10-xdsl_rename +++ b/package/network/config/ltq-vdsl-app/files/10-xdsl_rename @@ -1,7 +1,7 @@ #!/bin/sh if [ "$ACTION" = add ]; then - [ "$DEVICENAME" = "nas0" ] ||[ "$DEVICENAME" = "ptm0" ] || exit + [ "$DEVICENAME" = "nas0" ] || [ "$DEVICENAME" = "ptm0" ] || exit ip link set $DEVICENAME name dsl0 fi |