1 mkinit is a tiny init daemon that relies on mk for determining the order init
2 services need to be executed.
4 WARNING: This code is not very well tested, you should probably run `mkinit -t'
5 a few times as root before actually trying using init=/sbin/mkinit.
10 Init scripts take the form of mk rules contained in /etc/init.mk. Services are
11 started by calling the `<service>-start' rule and stopped by calling
12 `<service>-stop'. Services should use `:Pservice -[ud]:' to determine if the
13 script needs to be run and call `service -[UD]' afterwards.
15 For simple services consisting of a single start and stop command with no
16 dependencies other than `boot', the default start-stop rules can be used by
17 setting `<service>-start_cmd' and `<service>-stop_cmd'.
19 Dependencies are handled by adding `<dependency>-start' to the rules list of
20 dependencies. When stopping a service, `<service>-stop' should be added to the
21 list of dependencies for the dependency.
26 COPYING - Licencing terms (MIT)
28 mkfile - For [un]installing mkinit
29 init.mk - Example database of init scripts
32 mkinit - The actual init program it runs main loop and calls mk on init.mk
33 whenever services need to be started and stopped.
34 mkinit.rc - Rc variant of mkinit, unforuntly I can't get the IO redirects
35 working, it also leave zombies laying around..
36 initctld.c - Reads /dev/initctl (Sysvinit compatability for halt,reboot,etc)
37 service - Set or query the state of a service
38 respawn - Used to respawn gettys and such