3 ms·
BSD rc scripts haven't worked in the way that you think that they have, for decades. Mewburn rc, which reduced many rc scripts to a couple of shell function ca
by JdeBP 7y ago
BSD rc scripts haven't worked in the way that you think that they have, for decades.
Mewburn rc, which reduced many rc scripts to a couple of shell function calls and a handful of variable declarations, has been used by NetBSD since 2001, and FreeBSD started using it about a year later. OpenBSD, furthermore, reinvented Mewburn rc around 8 years ago. Project Trident (formerly TrueOS formerly PC-BSD) has also since then switched from Mewburn rc to OpenRC.
* https://news.ycombinator.com/item?id=10357589 https://news.ycombinator.com/item?id=10357589
* https://news.ycombinator.com/item?id=11550802 https://news.ycombinator.com/item?id=11550802
* https://news.ycombinator.com/item?id=14736175 https://news.ycombinator.com/item?id=14736175
/etc/rc.local was first declared obsolete in the BSD world and replaced by a system of drop-in files in a directory back in 1995.
* http://jdebp.info./FGA/rc.local-is-history.html http://jdebp.info./FGA/rc.local-is-history.html
- yellowapple 7y ago> /etc/rc.local was first declared obsolete in the BSD world and replaced by a system of drop-in files in a directory back in 1995. OpenBSD still documents it as an implicitly-recommended way to start programs (though if it's possible to start it via e.g. rc.(local.)conf, then that's obviously preferable).