mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-03-08 13:39:12 +02:00
[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
This commit is contained in:
parent
59aa4df1d5
commit
e10dff6c2e
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user