diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-10-04 12:36:50 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-10-04 12:36:50 +0000 |
commit | 3e911e9ef113edaaefc1c07dc03dbd2042049f7f (patch) | |
tree | 73e3f431eaac69d98f1f0d243d05166afeac1ed9 /target | |
parent | 7732c5c47c801b36a7ca1826fb056809df82141c (diff) | |
download | upstream-3e911e9ef113edaaefc1c07dc03dbd2042049f7f.tar.gz upstream-3e911e9ef113edaaefc1c07dc03dbd2042049f7f.tar.bz2 upstream-3e911e9ef113edaaefc1c07dc03dbd2042049f7f.zip |
[rdc] fix typo in 05_set_ether_mac_rdc preinit script (#11166)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33618 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/rdc/base-files/lib/preinit/05_set_ether_mac_rdc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/rdc/base-files/lib/preinit/05_set_ether_mac_rdc b/target/linux/rdc/base-files/lib/preinit/05_set_ether_mac_rdc index 1a9ad2f233..4640e008fa 100644 --- a/target/linux/rdc/base-files/lib/preinit/05_set_ether_mac_rdc +++ b/target/linux/rdc/base-files/lib/preinit/05_set_ether_mac_rdc @@ -19,7 +19,7 @@ set_ether_mac() { mac0=$(hexdump -n 6 -e '6/1 ":%X"' -s 24583 $config | cut -c2-) [ "$mac0" = "FF:FF:FF:FF:FF:FF" -o "$mac0" = "0:0:0:0:0:0" ] && unset mac0 mac1=$(hexdump -n 6 -e '6/1 ":%X"' -s 24589 $config | cut -c2-) - [ "$mac1" = "FF:FF:FF:FF:FF:FF" -o "$mac0" = "0:0:0:0:0:0" ] && unset mac1 + [ "$mac1" = "FF:FF:FF:FF:FF:FF" -o "$mac1" = "0:0:0:0:0:0" ] && unset mac1 fi if [ -n "$mac0" ]; then logger -t kernel -p user.info "r6040: Setting MAC for eth0 to $mac0" |