mirror of
https://github.com/unraid/webgui.git
synced 2026-05-12 23:30:01 -05:00
NTP: fix listening interfaces
This commit is contained in:
+1
-1
@@ -92,7 +92,7 @@ ntpd_reload() {
|
||||
|
||||
ntpd_update() {
|
||||
[[ $(pgrep -cf $NTPD) -eq 0 ]] && exit 1 # not running
|
||||
if check && [[ -z "$(this 'interface listen')" || "$(this 'interface listen')" == "$bind" ]]; then
|
||||
if check && [[ "$(this 'interface listen')" == "$bind" ]]; then
|
||||
# no action required
|
||||
exit 1
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user