From: Florian Eckert Date: Thu, 5 Mar 2026 07:57:26 +0000 (+0100) Subject: openvpn: remove net needed blank lines X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=54eae83c9555215453a970388d652fafc4ee90cb;p=openwrt-packages.git openvpn: remove net needed blank lines There is always only one blank line between the sections. Signed-off-by: Florian Eckert --- diff --git a/net/openvpn/files/lib/netifd/proto/openvpn.sh b/net/openvpn/files/lib/netifd/proto/openvpn.sh index 1f70a0762..7a8da999b 100755 --- a/net/openvpn/files/lib/netifd/proto/openvpn.sh +++ b/net/openvpn/files/lib/netifd/proto/openvpn.sh @@ -93,10 +93,8 @@ proto_openvpn_init_config() { option_builder add OPENVPN_PARAMS_STRING string option_builder add OPENVPN_PARAMS_FILE file option_builder add OPENVPN_LIST list - } - proto_openvpn_setup() { local config="$1" local allow_deprecated exec_params @@ -164,7 +162,6 @@ proto_openvpn_setup() { $exec_params # last param wins; user provided status or syslog supersedes these. - } proto_openvpn_renew() { @@ -173,7 +170,6 @@ proto_openvpn_renew() { sigusr1="$(kill -l SIGUSR1)" [ -n "$sigusr1" ] && proto_kill_command "$config" "$sigusr1" - } proto_openvpn_teardown() { @@ -185,7 +181,6 @@ proto_openvpn_teardown() { proto_kill_command "$iface" } - [ -n "$INCLUDE_ONLY" ] || { add_protocol openvpn }