Index: rcS =================================================================== --- rcS (revision 8763) +++ rcS (working copy) @@ -93,6 +93,7 @@ /usr/sbin/dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key fi + # Start network echo "Starting lo" /sbin/ifconfig lo up 127.0.0.1 @@ -100,6 +101,14 @@ echo "Starting inetd" /usr/sbin/inetd +if ! [ -f /etc/macaddress ]; then + macaddr=`/sbin/ifconfig eth0 | sed -ne 's/.*\(..:..:..:..:..:..\).*/\1/p'` + if [ "x${macaddr}" != "x" ]; then + echo "Storing MAC address to be used by embedded SBS on fab4: $macaddr" + echo $macaddr > /etc/macaddress + fi +fi + # Start wlan /etc/init.d/wlan start