I call eth1.sh near the bottom of my bootlocal.sh, which contains:
ifconfig eth1 10.10.10.1 netmask 255.255.255.0 broadcast 10.10.10.255 up
route add -net 10.10.10.0/24 gw 10.10.10.1 eth1
ifconfig eth1 shows me the static assignment.
However, ps -ef shows me that there is an /sbin/udhcpc -b -i eth1 .... etc.etc
process running. The lease timeout hasn't occurred yet but I wonder if, when the lease expires, the dhcpc daemon will overwrite my static IPADDR for eth1.
Even if it doesn't, I've got a udhcpc process running, which I guess I could kill inside of bootlocal.sh via a spin loop waiting for the udhcpc process to come up.
Any thoughts on a better way?