projects
/
openwrt
/
svn-archive
/
archive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ramips: set preinit interface to eth0 by default.
[openwrt/svn-archive/archive.git]
/
target
/
linux
/
ramips
/
base-files
/
lib
/
preinit
/
07_set_preinit_iface_ramips
1
#!/bin/sh
2
#
3
# Copyright (C) 2013 OpenWrt.org
4
#
5
6
.
/
lib
/
ramips.sh
7
8
ramips_set_preinit_iface
() {
9
ifname
=
eth0
10
}
11
12
boot_hook_add preinit_main ramips_set_preinit_iface