projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[atheros] fix syntax error in preinit hook (#6610)
[openwrt.git]
/
target
/
linux
/
atheros
/
base-files
/
lib
/
preinit
/
15_preinit_iface_atheros
diff --git
a/target/linux/atheros/base-files/lib/preinit/15_preinit_iface_atheros
b/target/linux/atheros/base-files/lib/preinit/15_preinit_iface_atheros
index
c15b4de
..
418d5ed
100644
(file)
--- a/
target/linux/atheros/base-files/lib/preinit/15_preinit_iface_atheros
+++ b/
target/linux/atheros/base-files/lib/preinit/15_preinit_iface_atheros
@@
-13,8
+13,9
@@
preinit_ip() {
else
ifname=eth0
fi
- pi_ifname=$ifname
- }
+ pi_ifname=$ifname
+ }
+ fi
[ -n "$pi_ifname" ] && grep "$pi_ifname" /proc/net/dev >/dev/null && {
ifconfig $pi_ifname $pi_ip netmask $pi_netmask broadcast $pi_broadcast up
}
This page took
0.036384 seconds
and
4
git commands to generate.