Re:Devuan “ASCII” 2.0 Release Candidate is now available
by JdeBP on Thursday May 10, 2018 @04:52PM
(#17042858)
> you need like 2 lines of shell code in a BSDish rc.conf
... and then 223 lines of actual scripts, since those two lines in rc.conf merely enable/disable the services and do not denote how to actually invoke them. (Equivalently, the systemd people could say that they need just two symbolic links, one for enabling each service.)
... and of course another 2090 lines of shell function library for those shell scripts to rely upon.
% wc -l /etc/rc.subr
2090 /etc/rc.subr
%
Mewburn rc is a fairly elegant system in comparison to van Smoorenburg rc (although it has its fair share of exceptions, sometimes quite bad ones) but it does not involve only 2 lines.
... and then 223 lines of actual scripts, since those two lines in rc.conf merely enable/disable the services and do not denote how to actually invoke them. (Equivalently, the systemd people could say that they need just two symbolic links, one for enabling each service.)
... and of course another 2090 lines of shell function library for those shell scripts to rely upon. Mewburn rc is a fairly elegant system in comparison to van Smoorenburg rc (although it has its fair share of exceptions, sometimes quite bad ones) but it does not involve only 2 lines.