The real problem is that the distributed version of ifconfig is buggy, and gratuitously resets some flags. If you have a fixed version, you wouldn't have to issue it twice. (You should have seen what the buggy version did to Salkind's DEUNA driver, by resetting the RUNNING flag....)