You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/target/linux/lantiq/base-files/lib/preinit/05_set_preinit_iface_lantiq

19 lines
194 B
Bash

#!/bin/sh
. /lib/functions/lantiq.sh
set_preinit_iface() {
board=$(lantiq_board_name)
case "$board" in
TDW8970)
ifname=eth0
;;
esac
}
boot_hook_add preinit_main set_preinit_iface