HomeFreeBSD

shutdown: add a -q(uiet) flag to suppress warning messages

Description

shutdown: add a -q(uiet) flag to suppress warning messages

The system-wide warning makes sense in multi-user environments, but
shutdown(8) may be used on systems or in scenarios where there's nobody
to warn and wall(1) just introduces unnecessary complexity and overhead
to the shutdown process.

Add an option to suppress the warning entirely for those contexts that
want to do so, which are anticipated to mainly be in appliance or
single-user desktop-style systems.

Reviewed by: des
Reviewed by: allanjude, imp (earlier version)
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D46216

Details

Provenance
kevansAuthored on Aug 9 2024, 4:01 PM
Reviewer
des
Differential Revision
D46216: shutdown: add a flag to suppress warning messages
Parents
rG6ee6c7b14664: acl_copyin: avoid returning uninitialized memory
Branches
Unknown
Tags
Unknown