summaryrefslogtreecommitdiffstats
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.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/pptp/files/pptp.sh b/package/pptp/files/pptp.sh
index ed5f46fff..5151f7273 100644
--- a/package/pptp/files/pptp.sh
+++ b/package/pptp/files/pptp.sh
@@ -6,10 +6,14 @@ stop_interface_pptp() {
stop_interface_ppp "$1"
}
+coldplug_interface_pptp() {
+ setup_interface_pptp "pptp-$1" "$1"
+}
+
setup_interface_pptp() {
local config="$2"
local ifname
-
+
config_get device "$config" device
config_get ipproto "$config" ipproto
config_get server "$config" server