summaryrefslogtreecommitdiffstats
path: root/source/rpcclient/cmd_shutdown.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/rpcclient/cmd_shutdown.c')
-rw-r--r--source/rpcclient/cmd_shutdown.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source/rpcclient/cmd_shutdown.c b/source/rpcclient/cmd_shutdown.c
index b0b92949c2a..e42ec30ac13 100644
--- a/source/rpcclient/cmd_shutdown.c
+++ b/source/rpcclient/cmd_shutdown.c
@@ -24,9 +24,6 @@
#include "includes.h"
#include "rpcclient.h"
-#if 0 /* don't uncomment this unless you remove the getopt() calls */
- /* use net rpc shutdown instead */
-
/****************************************************************************
nt shutdown init
****************************************************************************/
@@ -99,7 +96,6 @@ static NTSTATUS cmd_shutdown_abort(struct cli_state *cli,
return result;
}
-#endif
/* List of commands exported by this module */
@@ -107,12 +103,10 @@ struct cmd_set shutdown_commands[] = {
{ "SHUTDOWN" },
-#if 0
{ "shutdowninit", RPC_RTYPE_NTSTATUS, cmd_shutdown_init, NULL, PI_SHUTDOWN, "Remote Shutdown (over shutdown pipe)",
"syntax: shutdown [-m message] [-t timeout] [-r] [-h] [-f] (-r == reboot, -h == halt, -f == force)" },
{ "shutdownabort", RPC_RTYPE_NTSTATUS, cmd_shutdown_abort, NULL, PI_SHUTDOWN, "Abort Shutdown (over shutdown pipe)",
"syntax: shutdownabort" },
-#endif
{ NULL }
};