Don't use rc.local. It has been obsolete since 1983. #FreeBSD has actually discontinued it twice in its history.
FreeBSD has had Mewburn rc for most of this century. It's what #NetBSD uses and #OpenBSD has a similar but NIH system. At minimum, use Mewburn rc scripts.
jdebp.info/FGA/rc.local-is-hisβ¦
The rc(8) manual page has an example script. There's tutorial doco as well.
feld
in reply to JdeBP • • •JdeBP
in reply to feld • • •If you look around you should still be able to find Luke Mewburn's paper on #MewburnRC .
Similarly, what Linux people erroneously call "sysvinit" is actually van Smoorenburg init+rc created (by Miquel van Smoorenburg) for Minix in 1992.
It's not from #Unix System 5 at all, as that had obsoleted R3's init+rc system years before 1992 and gone on to the AIX SRC, and the SAF, SAC, ttymon, SMF, and stuff still in #Illumos today.
jdebp.info/FGA/unix-service-acβ¦
@amin @fbievan @rl_dane
#rc #init
FGA: The Unix Service Access Facility
jdebp.infofeld
in reply to JdeBP • • •