From a541f0be8a8f28b8bb66c2fb433fa89e25704555 Mon Sep 17 00:00:00 2001 From: Aaron Goodman Date: Tue, 21 Jul 2020 02:12:37 -0400 Subject: openfortivpn: use proper method to access configuration in hotplug Use functions.sh to get configuration variables rather than calling uci Signed-off-by: Aaron Goodman --- net/openfortivpn/files/openfortivpn.sh | 1 - 1 file changed, 1 deletion(-) (limited to 'net/openfortivpn/files/openfortivpn.sh') diff --git a/net/openfortivpn/files/openfortivpn.sh b/net/openfortivpn/files/openfortivpn.sh index 5599f3150..893510ce8 100755 --- a/net/openfortivpn/files/openfortivpn.sh +++ b/net/openfortivpn/files/openfortivpn.sh @@ -134,7 +134,6 @@ ip-down-script /lib/netifd/ppp-down mru 1354" > $callfile append_args "--pppd-call=openfortivpn/$config" - proto_export INTERFACE="$ifname" logger -p 6 -t openfortivpn "$config: executing 'openfortivpn $cmdline'" eval "proto_run_command '$config' /usr/sbin/openfortivpn-wrapper '$pwfile' '$config' $cmdline" -- cgit v1.2.3