X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/3048685ad17d98d1ec1f6e39a46ad4b59e115839..733f605a17e5ef598450cb30b5a92891c7e0da2b:/package/pptp/files/pptp.sh?ds=sidebyside diff --git a/package/pptp/files/pptp.sh b/package/pptp/files/pptp.sh index c95895d9f..436bee3c8 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" }