#!/bin/sh set_preinit_iface() { ifconfig eth0 up ifname=lan1 } boot_hook_add preinit_main set_preinit_iface