projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[pacakge] dropbear: Add config options to allow specification of host key files,...
[openwrt.git]
/
package
/
pptp
/
files
/
pptp.sh
diff --git
a/package/pptp/files/pptp.sh
b/package/pptp/files/pptp.sh
index c95895d9fa7c0d746537eaa54fdc5cdda16211b7..436bee3c8763dd79c474cede47ef14181365feb8 100644
(file)
--- a/
package/pptp/files/pptp.sh
+++ b/
package/pptp/files/pptp.sh
@@
-2,6
+2,10
@@
find_gw() {
route -n | awk '$1 == "0.0.0.0" { print $2; exit }'
}
+scan_pptp() {
+ config_set "$1" device "pptp-$1"
+}
+
stop_interface_pptp() {
stop_interface_ppp "$1"
}