[no ci] Overlay: move ntpd query to udhcpc (#1106)

pull/1109/head
viktorxda 2023-11-05 01:49:29 +01:00 committed by GitHub
parent e1ba943ea0
commit d99bc57ea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -16,7 +16,6 @@ start() {
start-stop-daemon -b -m -S -q -p "$PIDFILE" -x "/usr/sbin/$DAEMON" -- $NTPD_ARGS
status=$?
if [ "$status" -eq 0 ]; then
ntpd -q -N -n -d
echo "OK"
else
echo "FAIL"

View File

@ -101,6 +101,8 @@ case "$1" in
echo adding dns $i
echo "nameserver $i" >> $RESOLV_CONF
done
ntpd -q -N -n
;;
esac

View File

@ -1030,7 +1030,7 @@ CONFIG_UDHCP_DEBUG=0
CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80
CONFIG_FEATURE_UDHCP_RFC3397=y
CONFIG_FEATURE_UDHCP_8021Q=y
CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-x hostname:$(hostname) -A 0 -T 1 -t 1 -R -b -O search"
CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-x hostname:$(hostname) -A 0 -R -b -O search"
#
# Print Utilities