summaryrefslogtreecommitdiffstats
path: root/initramfs/distro-specs/gentoo
diff options
context:
space:
mode:
authorDirk von Suchodoletz2007-06-01 16:46:39 +0200
committerDirk von Suchodoletz2007-06-01 16:46:39 +0200
commitda68865159eb1fcb68c1722d50d50e323227aff0 (patch)
treed7f693342d750760ff6fa2354ad63bce35c5003e /initramfs/distro-specs/gentoo
parentExtended blacklist (slamr modem driver is not needed in any case :-)) (diff)
downloadcore-da68865159eb1fcb68c1722d50d50e323227aff0.tar.gz
core-da68865159eb1fcb68c1722d50d50e323227aff0.tar.xz
core-da68865159eb1fcb68c1722d50d50e323227aff0.zip
Cleanup for ntp settings (initial setup is distro independent), cleanup
for (W)LAN interface stuff in slx init. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1129 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/distro-specs/gentoo')
-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