[OpenWrt-Users] [OpenWrt-Devel] what triggers interface configuration at boot?
Brian J. Murrell
brian at interlinx.bc.ca
Tue Jan 1 18:55:08 CET 2008
Figured it out:
init -> /etc/init.d/rcS S boot -> /etc/rc.d/S10boot:
for iface in $(awk -F: '/:/ {print $1}' /proc/net/dev); do
/usr/bin/env -i ACTION=add INTERFACE="$iface" /sbin/hotplug-call net
done
where "/sbin/hotplug-call net" results in the execution of
"/etc/hotplug.d/net/10-net"
b.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.openwrt.org/pipermail/openwrt-users/attachments/20080101/c5d116e9/attachment.pgp
More information about the openwrt-users
mailing list