Giulio Coa
edb36c08f7
Added Alpine Linux support ( #1567 )
2022-07-26 15:20:35 +02:00
4s3ti
2a78fce9d3
Shellcheck compliance
...
scripts/wireguard/disableCONF.sh
* Mapfile instead of double quoted LIST=("$(...)")
scripts/wireguard/enableCONF.sh
* SC1090: ShellCheck can't follow non-constant source. Use a directive to specify location.
* Disabled warning
* SC2207: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
* Changed to mapfile
* SC2086: Double quote to prevent globbing and word splitting.
* Added double quotes
2021-11-03 15:38:45 +01:00
4s3ti
fb71fdd9fd
Shellcheck compliance
...
scripts/wireguard/disableCONF.sh
* SC1090: ShellCheck can't follow non-constant source. Use a directive to specify location.
* Disabled warning
* SC2207: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
* Added double quotes
* SC2086: Double quote to prevent globbing and word splitting.
* Added double quotes
2021-11-03 15:20:48 +01:00
Dundar Göc
fe636e3f43
Fixed shellcheck warning SC2164: "Use 'cd ... || exit' or 'cd ... || return' in case cd fails."
2021-02-13 12:11:49 +01:00
Dundar Göc
513c2afc2e
Fixed shellcheck warning SC2004, SC2006, SC2129, SC2219. Issue #1233 .
...
SC2004: "$/${} is unnecessary on arithmetic variables."
SC2006: "Use $(...) notation instead of legacy backticked `...`."
SC2129: "Consider using { cmd1; cmd2; } >> file instead of individual redirects."
SC2219: "Instead of 'let expr', prefer (( expr ))."
2021-02-07 21:31:13 +01:00
Roger Haxby
86de3eaa8c
corect help on disable and enable
2020-12-10 23:59:54 +00:00
Roger Haxby
6009e52e74
disabled in square brackets
2020-12-08 23:44:51 +00:00
Roger Haxby
13d40399f3
fix listing disabled clients
2020-10-27 21:25:27 +00:00
shelleycat485
9dd67114f8
disable and enable wireguard clients
2020-10-21 22:35:29 +01:00