1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/bin/sh # # Copyright (C) 2009 OpenWrt.org # . /lib/ar71xx.sh set_preinit_iface() { ifname=eth0 } boot_hook_add preinit_main set_preinit_iface