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)
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
Unknown Object (File)
Aug 7 2023, 5:13 PM
Unknown Object (File)
Aug 4 2023, 2:23 AM
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable