summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarkeye <postfach@martinmichel.info>2011-03-05 23:50:48 (GMT)
committerDarkeye <postfach@martinmichel.info>2011-03-05 23:50:48 (GMT)
commit949b9dac55f444712f7fbf71eddff0d433dd98cc (patch)
tree9a875a520d56f82b9064d9e9b75095c85a76b4d1
parentc074b1a47bfb84e01a7cc52b08d262a9ae8550ba (diff)
hostname use now hw-addre from ath0 (old was only from ath1)
-rwxr-xr-xfiles/etc/rc.d/S40network2
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
}
contact: Jan Huwald // Impressum