mirror of
https://github.com/unraid/webgui.git
synced 2026-01-08 10:39:56 -06:00
Revert "stop ntpd from complaining about multiple IP addresses"
This commit is contained in:
@@ -101,11 +101,8 @@ ntpd_reload(){
|
||||
|
||||
ntpd_update(){
|
||||
# 0 = update needed, 1 = no action
|
||||
# if ! ntpd_running; then exit 1; fi
|
||||
# if check && [[ "$(this 'interface listen')" == "$BIND" ]]; then exit 1; else exit 0; fi
|
||||
# upon network change always return 'update needed' - subsequent reload stops ntp complaining
|
||||
# when multiple interfaces have same IP address (such as shim-br0).
|
||||
if ntpd_running; then exit 0; else exit 1; fi
|
||||
if ! ntpd_running; then exit 1; fi
|
||||
if check && [[ "$(this 'interface listen')" == "$BIND" ]]; then exit 1; else exit 0; fi
|
||||
}
|
||||
|
||||
ntpd_status(){
|
||||
|
||||
Reference in New Issue
Block a user