summaryrefslogtreecommitdiff
path: root/source3/rpcclient/rpcclient.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-11-01 17:52:11 +0000
committerLuke Leighton <lkcl@samba.org>1999-11-01 17:52:11 +0000
commit92892c014e8b5bf42e36b60b4479dbda6e20b990 (patch)
tree8a998f23e25b28b4169e7f423f74c1485be4044a /source3/rpcclient/rpcclient.c
parent7726985b00f687af210329abbcbd8ecbb74bc601 (diff)
downloadsamba-92892c014e8b5bf42e36b60b4479dbda6e20b990.tar.gz
samba-92892c014e8b5bf42e36b60b4479dbda6e20b990.tar.bz2
samba-92892c014e8b5bf42e36b60b4479dbda6e20b990.zip
added rpcclient svcstop <service name> command. gnu readline
command-completion works. (This used to be commit 926fe6273a8cd9550838ecdfca276f915c92031b)
Diffstat (limited to 'source3/rpcclient/rpcclient.c')
-rw-r--r--source3/rpcclient/rpcclient.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index 9a1193c015..732aa9ceb7 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -153,6 +153,13 @@ commands[] =
{COMPL_SVCLST, COMPL_NONE}
},
+ {
+ "svcstop",
+ cmd_svc_stop,
+ "<service> Stop Service",
+ {COMPL_SVCLST, COMPL_NONE}
+ },
+
/*
* scheduler
*/