diff options
-rwxr-xr-x | initramfs/stage3-stuff/bin/servconfig | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/initramfs/stage3-stuff/bin/servconfig b/initramfs/stage3-stuff/bin/servconfig index 7a10a8b5..1c4b43cf 100755 --- a/initramfs/stage3-stuff/bin/servconfig +++ b/initramfs/stage3-stuff/bin/servconfig @@ -214,8 +214,10 @@ config_bt # network(ed) services if [ -n "$ntp_servers" ]; then - rdate -s "$ntp_servers" - hwclock -w + # rdate uses the time protocol (port 37 which is not the ntp standard port) + # thus not every standard ntp-server might offer this service) + ( rdate -s "$ntp_servers" 2>/dev/null || error "$scfg_rdate" nonfatal + hwclock -w ) & fi # network time service (ntp) configuration file |