mirror of
https://github.com/openwrt/packages.git
synced 2025-02-07 04:39:51 +00:00
External scripts may only be specified with script-security 2 or higher, otherwise OpenVPN fails at tunnel startup with an error. This changes the previously hardcoded hotplug scripts to only be added if script-security is 2 or higher is used. Signed-off-by: Clemens Hopfer <openwrt@wireloss.net>