summaryrefslogtreecommitdiffstats
path: root/source/rpcclient/cmd_shutdown.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-03-22 18:07:58 +0000
committerGerald Carter <jerry@samba.org>2005-03-22 18:07:58 +0000
commit147a6a8a7576f1de7bf50a26b51e82524c7ebd8c (patch)
tree1ff4244298f8cc03399edfa37847c6b612bed886 /source/rpcclient/cmd_shutdown.c
parent0a992866e794cb1cdbfe5e961f9d9240d0ada960 (diff)
downloadsamba-147a6a8a7576f1de7bf50a26b51e82524c7ebd8c.tar.gz
samba-147a6a8a7576f1de7bf50a26b51e82524c7ebd8c.tar.xz
samba-147a6a8a7576f1de7bf50a26b51e82524c7ebd8c.zip
r5961: final round of compiler warning fixes based on feedback from Jason Mader
Diffstat (limited to 'source/rpcclient/cmd_shutdown.c')
-rw-r--r--source/rpcclient/cmd_shutdown.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/rpcclient/cmd_shutdown.c b/source/rpcclient/cmd_shutdown.c
index e42ec30ac13..b0b92949c2a 100644
--- a/source/rpcclient/cmd_shutdown.c
+++ b/source/rpcclient/cmd_shutdown.c
@@ -24,6 +24,9 @@
#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
****************************************************************************/
@@ -96,6 +99,7 @@ static NTSTATUS cmd_shutdown_abort(struct cli_state *cli,
return result;
}
+#endif
/* List of commands exported by this module */
@@ -103,10 +107,12 @@ 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 }
};