comparison hooks/50-ntp.conf @ 5535:a0d828e25482 draft

Add --noconfigure option With this set dhcpcd will not configure anything on the host. The expectation is that a 3rd party script will instead.
author Roy Marples <roy@marples.name>
date Wed, 04 Nov 2020 14:18:48 +0000
parents 4539ffcdd656
children
comparison
equal deleted inserted replaced
5534:605f7f9a20c0 5535:a0d828e25482
133 BOUND6|RENEW6|REBIND6|REBOOT6|INFORM6) 133 BOUND6|RENEW6|REBIND6|REBOOT6|INFORM6)
134 new_ntp_servers="$new_dhcp6_sntp_servers" 134 new_ntp_servers="$new_dhcp6_sntp_servers"
135 ;; 135 ;;
136 esac 136 esac
137 137
138 if $if_up; then 138 if $if_configured; then
139 add_ntp_conf 139 if $if_up; then
140 elif $if_down; then 140 add_ntp_conf
141 remove_ntp_conf 141 elif $if_down; then
142 remove_ntp_conf
143 fi
142 fi 144 fi