projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[backfire] merge r27449
[openwrt-10.03/.git]
/
package
/
6to4
/
files
/
6to4.hotplug
diff --git
a/package/6to4/files/6to4.hotplug
b/package/6to4/files/6to4.hotplug
index 037abd48f5b3b1096c61dbcfd021285a1ab56d68..1e3d26c418843cfd763d3ef50958d43f020edd6c 100644
(file)
--- a/
package/6to4/files/6to4.hotplug
+++ b/
package/6to4/files/6to4.hotplug
@@
-20,6
+20,11
@@
if [ "$ACTION" = ifup ]; then
local wanip=$(find_6to4_wanip "$wandev")
[ -n "$wanip" ] && {
+ lsmod | grep -q ^sit || {
+ logger -t 6to4 "Tunneling driver not loaded yet, deferring action"
+ exit 0
+ }
+
uci_set_state network "$cfg" ipaddr "$wanip"
( ifup "$cfg" )&
}