Die Software-Homepage http://helllabs.org/finit/ hat leider nicht viele Informationen, ausser das man die Sourcen mit git herunterladen kann. In den sourcen gibts aber zwei README Dateien. Die erste schreibt:
Usage scenarios
---------------
1. Replace the original Eeepc 702 fastinit (finit-mod)
2. Allow fast booting in alternative Linux distributions running on the
Eeepc and other netbooks (finit-alt)
Finit-alt is distribution-specific. Currently it generates a finit-mdv
executable for Mandriva 2008/2008.1 systems. Smurfy ported it to
eeeXubuntu, and parts of his port have been merged to finit-alt.
Finit-alt features
------------------
Finit-alt reads configuration information from /etc/finit.conf. See
the source code for available options.
Rebooting and halting
---------------------
Finit handles SIGUSR1 and SIGUSR2 for reboot and halt, and listens to
/dev/initctl so standard Linux reboot and halt commands should also
work.
Das heißt also, daß mein imap-sshd Script gar nicht startet, wenn man es in die /etc/inittab einträgt.
In /etc/finit.conf scheint alles zu stehen, was den Rechner initialisiert. Dort wird auch der Hostname festgelegt. Den hab ich gleich mal geändert. 😉
Die zweite README Datei schreibt:
Mandriva 2008
-------------
1 - Add init=/sbin/finit-mdv to the kernel boot line
2 - Provide a suitable /usr/sbin/services.sh, this is the one I use in my
test system running e17:
mkdir /var/lock/subsys
chmod 1777 /var/lock/subsys
/etc/init.d/network start
dhclient eth0
/sbin/start_udev&
/etc/init.d/portmap start
/etc/init.d/nfs-common start
If you use KDE or need more services, see examples in contrib/
3 - Create /etc/finit.conf with user, module, filesystems to check and
hostname parameters. See the included finit.conf for more information.
If no user is specified, user "user" will be used as default.
4 - Set the pointer device in the X server configuration to /dev/input/mice
/usr/sbin/services.sh gibt es auch auf dem Hercules und dort werden in der Tat alle Services initialisiert. Ganz konkret steht dort:
for i in /etc/rc5.d/S*; do
$i status > /dev/null 2>&1 || $i start
done
Das einfachte ist also, der imap-sshd started also normales Dienst-Script in Runlevel 5. Daß heißt zwar leider das er im Falle von crashes nicht neu gestartet wird, dann muß in diesen Fällen die Mutti eben den Rechner neu starten. Aber vermutlich ist das Ding ganz robust. 😉