mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
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 <aaronjg@stanford.edu>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user