Page MenuHomeFreeBSD

Further simplify arguments to init.

Authored by brooks on Dec 5 2018, 6:40 PM.



With the removal of BOOTCDROM and fastboot support, this code always
passed "-s" or "--". The latter simply terminates getopt(3) processing
in init so we only need to pass "-s" in the single user case, or nothing
in other cases.

The passing of "--" seems to have been done to ensure that the number of
arguments passed to init was always the same and thus that argc was the

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

brooks created this revision.Dec 5 2018, 6:40 PM
jhb accepted this revision.Dec 5 2018, 6:55 PM


This revision is now accepted and ready to land.Dec 5 2018, 6:55 PM
kib accepted this revision.Dec 5 2018, 7:06 PM
This revision was automatically updated to reflect the committed changes.