Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How does rc(8) work?

RC
0
10 Posted

How does rc(8) work?

0

The main files a system administrator should concentrate on are /etc/rc.conf (or /etc/rc.conf.local), /etc/rc.local and /etc/rc.shutdown. To get a look of how the rc(8) procedure works, here is the flow: After the kernel is booted, /etc/rc is started: • Filesystems are checked. • Configuration variables are read in from /etc/rc.conf and, afterwards, /etc/rc.conf.local. Settings in rc.conf.local will override those in rc.conf. • Filesystems are mounted • Clears out /tmp and preserves any editor files • Configures the network via /etc/netstart • Configures your interfaces up. • Sets your hostname, domainname, etc. • Starts system daemons • Performs various other checks (quotas, savecore, etc) • Local daemons are run, via /etc/rc.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123