gingerbread: drop last lowmemorykiller slot setting (<detule>)
[xdandroid:rootfs.git] / init.etc / ppp / ip-down-gprs
1 #!/bin/sh
2 case $1 in
3 ppp0)
4         ;;
5 ppp1)
6         echo 0 > /proc/sys/net/ipv4/ip_forward;
7         ;;
8 esac
9
10 # Use yyy of ip-xx-yyy in program name
11 LINK=`echo $0 | cut -d- -f3`
12 NAME=${LINK:-"$LINKNAME"}
13 # Use interface name if linkname is not available
14 NAME=${NAME:-"$1"}
15
16 /system/bin/setprop "net.$NAME.dns1" "$DNS1"
17 /system/bin/setprop "net.$NAME.dns2" "$DNS2" 
18 /system/bin/setprop "net.$NAME.local-ip" "$IPLOCAL" 
19 /system/bin/setprop "net.$NAME.remote-ip" "$IPREMOTE"