diff options
| author | Chia-chi Yeh <chiachi@android.com> | 2009-07-10 12:27:09 +0800 |
|---|---|---|
| committer | Chia-chi Yeh <chiachi@android.com> | 2009-07-10 15:51:01 +0800 |
| commit | 1219448dc7c2012edaf8fbb6b03c11d8dc419f89 (patch) | |
| tree | cea4c0d995c732f864bac01d3e1eb584d4f9f829 /rootdir/etc | |
| parent | b3edd0720ea26ef02763e7446d1bafb85546b38e (diff) | |
| download | system_core-1219448dc7c2012edaf8fbb6b03c11d8dc419f89.zip system_core-1219448dc7c2012edaf8fbb6b03c11d8dc419f89.tar.gz system_core-1219448dc7c2012edaf8fbb6b03c11d8dc419f89.tar.bz2 | |
rootdir: Remove ip-up-vpn script, which is replaced by an executable.
Diffstat (limited to 'rootdir/etc')
| -rwxr-xr-x | rootdir/etc/ppp/ip-up-vpn | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/rootdir/etc/ppp/ip-up-vpn b/rootdir/etc/ppp/ip-up-vpn deleted file mode 100755 index 5d6b611..0000000 --- a/rootdir/etc/ppp/ip-up-vpn +++ /dev/null @@ -1,18 +0,0 @@ -#!/system/bin/sh - -/system/bin/setprop "vpn.dns1" "$DNS1" -/system/bin/setprop "vpn.dns2" "$DNS2" - -GATEWAY=${6#*@} -VPNSERVER=${6%@*} - -# Protect the route to vpn server -/system/bin/route add -net "$VPNSERVER" netmask 255.255.255.255 gw "$GATEWAY" - -if (exp $?) ; then exit $?; fi - -# Route all traffic to vpn connection -/system/bin/route add -net 0.0.0.0 netmask 128.0.0.0 gw $IPREMOTE -/system/bin/route add -net 128.0.0.0 netmask 128.0.0.0 gw $IPREMOTE - -/system/bin/setprop "vpn.up" "1" |
