bozo: Remove unused conditional OPBOS from 'bos'

Since the original IBM code import, the 'bos' utility source code has
contained an unused pre-processor conditional 'OPBOS'.  If OPBOS is
defined, it builds a bos binary that implements only the following bos
commands:  status, start, stop, restart, startup, shutdown.

There is no configure option or any other logic that defines 'OPBOS',
nor is it documented.  Remove the unused conditional.

Change-Id: I4d32084e6a6b4ca8cadb0aa0ef06c74fb6edb770
Reviewed-on: https://gerrit.openafs.org/15875
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
This commit is contained in:
Mark Vitale 2024-05-07 12:42:16 -04:00 committed by Andrew Deason
parent 3db9ecd852
commit af1a384072

View File

@ -1876,8 +1876,6 @@ main(int argc, char **argv)
cmd_AddParm(ts, "-all", CMD_FLAG, CMD_OPTIONAL, "restart all processes");
add_std_args(ts);
#ifndef OPBOS
ts = cmd_CreateSyntax("create", CreateServer, NULL, 0,
"create a new server instance");
cmd_AddParm(ts, "-server", CMD_SINGLE, 0, "machine name");
@ -2046,7 +2044,6 @@ main(int argc, char **argv)
cmd_AddParm(ts, "-server", CMD_SINGLE, 0, "machine name");
cmd_AddParm(ts, "-mode", CMD_SINGLE, 0, "mode to set");
add_std_args(ts);
#endif
code = cmd_Dispatch(argc, argv);
rx_Finalize();