projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[package] base-files: revert r21595
[openwrt.git]
/
package
/
comgt
/
files
/
3g.iface
diff --git
a/package/comgt/files/3g.iface
b/package/comgt/files/3g.iface
index
cd4e4cc
..
a89f053
100644
(file)
--- a/
package/comgt/files/3g.iface
+++ b/
package/comgt/files/3g.iface
@@
-6,15
+6,9
@@
config_get proto "$INTERFACE" proto
config_get iface "$INTERFACE" ifname
case "$ACTION" in
ifup)
config_get iface "$INTERFACE" ifname
case "$ACTION" in
ifup)
- iptables -I LAN_ACCEPT 1 -i "$iface" -j RETURN
- iptables -A FORWARD -o "$iface" -j ACCEPT
- iptables -t nat -A POSTROUTING -o "$iface" -j MASQUERADE
set_3g_led 1 1 0
;;
ifdown)
set_3g_led 1 1 0
;;
ifdown)
- iptables -D LAN_ACCEPT -i "$iface" -j RETURN
- iptables -D FORWARD -o "$iface" -j ACCEPT
- iptables -t nat -D POSTROUTING -o "$iface" -j MASQUERADE
set_3g_led 0 0 0
;;
esac
set_3g_led 0 0 0
;;
esac
This page took
0.021842 seconds
and
4
git commands to generate.