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
/
6in4
/
files
/
6in4.hotplug
diff --git
a/package/6in4/files/6in4.hotplug
b/package/6in4/files/6in4.hotplug
index 49667a815e1caa1a9aaf5b91b4eb8cbedb91880f..9df993498a1f6ae5fad21e37687d50ff90674473 100644
(file)
--- a/
package/6in4/files/6in4.hotplug
+++ b/
package/6in4/files/6in4.hotplug
@@
-20,6
+20,11
@@
if [ "$ACTION" = ifup ]; then
local wanip=$(find_6in4_wanip "$wandev")
[ -n "$wanip" ] && {
+ lsmod | grep -q ^sit || {
+ logger -t 6in4-update "Tunneling driver not loaded yet, deferring action"
+ exit 0
+ }
+
local tunnelid
config_get tunnelid "$cfg" tunnelid