summaryrefslogtreecommitdiff
path: root/source3/rpcclient/cmd_shutdown.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-03-22 18:07:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:13 -0500
commit93e04e941e15034c8e7aa1faedc74ce536049153 (patch)
treef3d64b04d3eb22e4ab44b9889d26272c0b6813f9 /source3/rpcclient/cmd_shutdown.c
parent09bb17511b3c5b32ab93ef37dbb451674bcc5a0b (diff)
downloadsamba-93e04e941e15034c8e7aa1faedc74ce536049153.tar.gz
samba-93e04e941e15034c8e7aa1faedc74ce536049153.tar.bz2
samba-93e04e941e15034c8e7aa1faedc74ce536049153.zip
r5961: final round of compiler warning fixes based on feedback from Jason Mader
(This used to be commit 9e77da9320c900b3e437d534e31fa5ff81e9acfd)
Diffstat (limited to 'source3/rpcclient/cmd_shutdown.c')
-rw-r--r--source3/rpcclient/cmd_shutdown.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/rpcclient/cmd_shutdown.c b/source3/rpcclient/cmd_shutdown.c
index e42ec30ac1..b0b92949c2 100644
--- a/source3/rpcclient/cmd_shutdown.c
+++ b/source3/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 }
};