During my adventures in openwrt-land, I think I have come across a bug in the ifup and/or ifdown scripts. When using dhcp to configure e.g. the wan interface, a pid file is created /tmp/dhcp-${type}.pid by the ifup script, but the ifdown script tries to take the pid from the file /var/run/${if}.pid. I have used the latest binary snapshot from 2005-02-02 available at (1).
1: http://openwrt.org/downloads/snapshots/ … 02.tar.bz2
//Hugo