Page MenuHomeFreeBSD

Move most startup scripts from etc/ to sbin/init/ and switch to CONFS
ClosedPublic

Authored by brd on Jul 27 2018, 5:31 AM.

Details

Summary

This includes moving the following, but arc cannot handle moves:
etc/netstart -> sbin/init/netstart
etc/network.subr -> sbin/init/network.subr
etc/pccard_ether -> sbin/init/pccard_ether
etc/rc -> sbin/init/rc
etc/defaults/rc.conf -> sbin/init/rc.conf
etc/rc.d -> sbin/init/rc.d
etc/rc.initdiskless -> sbin/init/rc.initdiskless
etc/rc.resume -> sbin/init/rc.resume
etc/rc.shutdown -> sbin/init/rc.shutdown
etc/rc.subr -> sbin/init/rc.subr
etc/rc.suspend -> sbin/init/rc.suspend

Diff Detail

Repository
rS FreeBSD src repository
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 18366
Build 18082: arc lint + arc unit

Event Timeline

brd created this revision.Jul 27 2018, 5:31 AM
will added inline comments.Jul 28 2018, 4:38 PM
etc/defaults/Makefile
5

Why only move rc.conf?

will accepted this revision.Jul 28 2018, 4:58 PM

Assuming:

  • The purpose of this particular change is to move only those things that would move to sbin/init. (Answer to my earlier question.)
  • You've tested this specific change. (I'm sure I've tested a similar version...)

This looks good to me.

This revision is now accepted and ready to land.Jul 28 2018, 4:58 PM
brd added a comment.Jul 28 2018, 8:22 PM

Exactly, I am trying to only move isolated parts in one go.

This revision was automatically updated to reflect the committed changes.