mirror of https://github.com/OpenIPC/firmware.git
[no ci] Overlay: move ntpd query to udhcpc (#1106)
parent
e1ba943ea0
commit
d99bc57ea7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue