1 2 3 4 5 6 7
#!/bin/sh set_preinit_iface() { ifconfig $ifname 0.0.0.0 up } boot_hook_add preinit_main set_preinit_iface