mirror of
https://github.com/outbackdingo/firmware.git
synced 2026-01-28 02:18:57 +00:00
[no ci] Overlay: move ntpd query to udhcpc (#1106)
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -101,6 +101,8 @@ case "$1" in
|
||||
echo adding dns $i
|
||||
echo "nameserver $i" >> $RESOLV_CONF
|
||||
done
|
||||
|
||||
ntpd -q -N -n
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user