diff options
author | Daniel Golle <daniel@makrotopia.org> | 2016-08-11 11:36:08 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2016-08-11 17:16:03 +0200 |
commit | a9b1a429ab2541b173aea13d6aab9ab5ae82e332 (patch) | |
tree | 68335185ad3eb0ee2ff7ce2556970d61b47b08fc /target/linux | |
parent | 592c0a1cd226b7c5a90fb2c3127ac1e0743c22fd (diff) | |
download | mtk-20170518-a9b1a429ab2541b173aea13d6aab9ab5ae82e332.zip mtk-20170518-a9b1a429ab2541b173aea13d6aab9ab5ae82e332.tar.gz mtk-20170518-a9b1a429ab2541b173aea13d6aab9ab5ae82e332.tar.bz2 |
oxnas: set preinit network interface
set network interface for failsafe mode to eth0 for all boards
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/oxnas/base-files/lib/preinit/07_set_preinit_iface_oxnas.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/oxnas/base-files/lib/preinit/07_set_preinit_iface_oxnas.sh b/target/linux/oxnas/base-files/lib/preinit/07_set_preinit_iface_oxnas.sh new file mode 100644 index 0000000..1e096bb --- /dev/null +++ b/target/linux/oxnas/base-files/lib/preinit/07_set_preinit_iface_oxnas.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +oxnas_set_preinit_iface() { + ifname=eth0 +} + +boot_hook_add preinit_main oxnas_set_preinit_iface |