you'll find that in the directory
/usr/local/etc on the ME, (not in the debian environment) there is a
file called rcS
you can edit this file using vi
at the end you can add commands, or, a safer way I think is to add a
call to another file (autoexec.sh) that you can store in the same
directory.
At the end of the file add the line.
sh /usr/local/etc/autoexec.sh &
then in the same directory you can create a file called autoexec.sh
in this file you can add the line
chroot /usr/local/etc/hdd/volumes/HDD1/chroot /usr/sbin/ntpd -g -q
as suggested above.
the first line of the file on my autoexec.sh file is actually
sleep 60,
basically if I do something that kills the device, or makes it go into
a loop of rebooting or something from stuff I've added, (all of which
are called in this file), I'll have 60 seconds from boot to telnet to
the device and kill this script before it starts running stuff.