Page MenuHomeFreeBSD

Further simplify arguments to init.
ClosedPublic

Authored by brooks on Dec 5 2018, 6:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 28, 11:46 AM
Unknown Object (File)
Sat, Apr 27, 1:47 AM
Unknown Object (File)
Dec 20 2023, 2:58 AM
Unknown Object (File)
Sep 13 2023, 9:47 PM
Unknown Object (File)
Aug 28 2023, 1:53 PM
Unknown Object (File)
Aug 22 2023, 12:41 AM
Unknown Object (File)
Aug 7 2023, 5:16 PM
Unknown Object (File)
Aug 7 2023, 5:16 PM
Subscribers

Details

Summary

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
same.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 21374
Build 20700: arc lint + arc unit