openwrtv4/package/network/config/ltq-vdsl-app/files/10-xdsl_rename
Kevin Darbyshire-Bryant 240d4b1b6e ltq-xdsl-app: script style nit
Fix missing space style nit.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2017-10-25 18:48:51 +02:00

7 lines
145 B
Bash

#!/bin/sh
if [ "$ACTION" = add ]; then
[ "$DEVICENAME" = "nas0" ] || [ "$DEVICENAME" = "ptm0" ] || exit
ip link set $DEVICENAME name dsl0
fi