mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
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:
parent
3db9ecd852
commit
af1a384072
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user