OSDN Git Service
(root)
/
android-x86
/
external-ppp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4d7bac
)
Add system property for ip-up script to get system properties.
author
Chung-yih Wang
<cywang@google.com>
Fri, 12 Jun 2009 14:46:23 +0000
(22:46 +0800)
committer
Chung-yih Wang
<cywang@google.com>
Fri, 12 Jun 2009 14:46:23 +0000
(22:46 +0800)
pppd/ipcp.c
patch
|
blob
|
history
diff --git
a/pppd/ipcp.c
b/pppd/ipcp.c
index
a7b984f
..
b5b5c82
100644
(file)
--- a/
pppd/ipcp.c
+++ b/
pppd/ipcp.c
@@
-1717,6
+1717,7
@@
ipcp_up(f)
script_setenv("IPREMOTE", ip_ntoa(ho->hisaddr), 1);
#ifdef ANDROID_CHANGES
script_setenv("PATH","/sbin:/system/sbin:/system/bin:/system/xbin", 0);
+ script_setenv("ANDROID_PROPERTY_WORKSPACE", getenv("ANDROID_PROPERTY_WORKSPACE"), 0);
#endif
if (go->dnsaddr[0])