OSDN Git Service
(root)
/
android-x86
/
device-generic-common.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
init.sh: unmute audio of Broadwell-Y-based tablets
[android-x86/device-generic-common.git]
/
ppp
/
ip-down
1
#!/system/bin/sh
2
export PATH=/system/bin
3
4
case $1 in
5
ppp1)
6
echo 0 > /proc/sys/net/ipv4/ip_forward
7
;;
8
esac
9
10
# Use interface name if linkname is not available
11
NAME=${LINKNAME:-"$1"}
12
13
setprop "net.dns1" ""
14
setprop "net.dns2" ""
15
setprop "net.$NAME.local-ip" ""
16
setprop "net.$NAME.remote-ip" ""