summaryrefslogtreecommitdiffstats
path: root/initramfs/distro-specs/gentoo/functions-default
diff options
context:
space:
mode:
Diffstat (limited to 'initramfs/distro-specs/gentoo/functions-default')
-rw-r--r--initramfs/distro-specs/gentoo/functions-default7
1 files changed, 1 insertions, 6 deletions
diff --git a/initramfs/distro-specs/gentoo/functions-default b/initramfs/distro-specs/gentoo/functions-default
index 9a87fad9..0c1d9f1a 100644
--- a/initramfs/distro-specs/gentoo/functions-default
+++ b/initramfs/distro-specs/gentoo/functions-default
@@ -167,12 +167,7 @@ if [ -e /mnt/etc/${D_INITDIR}/ntp ] ; then
echo -e "ntp:!:13099:0:99999:7:::" >>/mnt/etc/shadow
fi
testmkd /mnt/var/lib/ntp/var/run/ntp &>/dev/null
- if [ "x$start_ntp" = "xinitial" ] ; then
- echo -e "\t# entries added by $0 (InitRamFS from $date)\n\
-\t( ntpdate -s -b $ntp_servers >${LOGFILE} 2>&1 && {\n\t which \
-hwclock &>/dev/null && hwclock -w;} ) &" \
- >>/mnt/etc/${D_INITDIR}/boot.slx
- elif [ "x$start_ntp" = "xyes" ] ; then
+ if [ "x$start_ntp" = "xyes" ] ; then
rllinker "ntp"
fi
fi