Re: [dev] a suckless init system?
There are dependency based init systems, should use mk for it.
net: 1
inetd: net
2: getty inetd
mk 2 # go to runlevel 2
# inetd crashes
mk 2 # bring it back to life
It would need some sort of procfs view with process names, where unlink
sends a term signal, and some extra features for mk, to remove
objects in various ways. That could be done in a separate program.
mk -rm inetd # stop inetd (and anything that depends on it)
mk -rmdeps 1 # go back to just runlevel 1
Ok, now I should install some sanity into my brain.
I wonder if people get kicked off the list for posting stuff like this?
Sam
Received on Wed Aug 15 2012 - 06:02:47 CEST
This archive was generated by hypermail 2.3.0
: Wed Aug 15 2012 - 06:12:04 CEST