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 | 5e0df9582b1b4bfb81eefab7a4c64f66c7eb6169 (patch) | |
tree | ade7a86c1dcf86da8a868c4c91dd3b8b5471ccdd | |
parent | e5ca54aee977ae042cf02ea1028e78ff94d9c845 (diff) | |
download | upstream-5e0df9582b1b4bfb81eefab7a4c64f66c7eb6169.tar.gz upstream-5e0df9582b1b4bfb81eefab7a4c64f66c7eb6169.tar.bz2 upstream-5e0df9582b1b4bfb81eefab7a4c64f66c7eb6169.zip |
fix typo in 05_set_ether_mac_rdc preinit script (#11166)
SVN-Revision: 33618
-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" |