[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

quick hack that may be usefull to qemu armel users



A while back fsck got more bitchy (treated as an error rather than a warning) about timestamps in the future, I filed a bug report about this change in behaviour that breaks but the

anyway just recently I decided I needed to fix the boot process of my armel qemu system which was suffering from the issue so I hacked up the following script and saved it as /etc/rcS.d/S06ntpdate.sh

#!/bin/sh
#temporary tmpfs to let us bring up network with root readonly
mount -t tmpfs none /etc/network/run
ifup eth0
#give the interface some time to come up
sleep 10
/usr/sbin/ntpdate pool.ntp.org
ifdown eth0
umount /etc/network/run



Reply to: