aboutsummaryrefslogtreecommitdiffstats
path: root/package/pptp/files/pptp.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/pptp/files/pptp.sh')
-rw-r--r--package/pptp/files/pptp.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/pptp/files/pptp.sh b/package/pptp/files/pptp.sh
index c95895d9fa..436bee3c87 100644
--- 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"
}