mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 10:51:55 +00:00
openvpn: remove net needed blank lines
There is always only one blank line between the sections. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
committed by
Florian Eckert
parent
d1923a44fd
commit
54eae83c95
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user