diff options
author | Darkeye <postfach@martinmichel.info> | 2011-03-05 23:50:48 (GMT) |
---|---|---|
committer | Darkeye <postfach@martinmichel.info> | 2011-03-05 23:50:48 (GMT) |
commit | bb65017ec486a21839a85af20865014deeb34a54 (patch) | |
tree | 9a875a520d56f82b9064d9e9b75095c85a76b4d1 | |
parent | ded57acb04e3d7fa9073ad28f6d668eb4115be44 (diff) |
hostname use now hw-addre from ath0 (old was only from ath1)
-rwxr-xr-x | files/etc/rc.d/S40network | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/etc/rc.d/S40network b/files/etc/rc.d/S40network index 8718694..6d51071 100755 --- a/files/etc/rc.d/S40network +++ b/files/etc/rc.d/S40network @@ -29,7 +29,7 @@ boot() { type "coldplug_interface_$proto" >/dev/null && [ "$auto" = 1 ] && \ coldplug_interface_$proto "$ifc" done - ifconfig ath1 | grep 'HWaddr'| awk '{gsub(":","", $5); print $5}' > /proc/sys/kernel/hostname + ifconfig ath0 | grep 'HWaddr'| awk '{gsub(":","", $5); print $5}' > /proc/sys/kernel/hostname } |