diff options
author | Jean-François Micouleau <jfm@samba.org> | 2002-03-29 13:49:48 +0000 |
---|---|---|
committer | Jean-François Micouleau <jfm@samba.org> | 2002-03-29 13:49:48 +0000 |
commit | b83f87d6811dbad2c254cd5add4bbedb3196c629 (patch) | |
tree | 4de3e61099dc0faeee5611f7711babaf313d6049 /source/utils | |
parent | f25fcd99fa0d0ec2095d9db42145d236c14748e0 (diff) | |
download | samba-b83f87d6811dbad2c254cd5add4bbedb3196c629.tar.gz samba-b83f87d6811dbad2c254cd5add4bbedb3196c629.tar.xz samba-b83f87d6811dbad2c254cd5add4bbedb3196c629.zip |
added a shutdown command to smbcontrol.
have to add the server side now.
J.F.
Diffstat (limited to 'source/utils')
-rw-r--r-- | source/utils/smbcontrol.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/utils/smbcontrol.c b/source/utils/smbcontrol.c index f492a945428..d680fa4489a 100644 --- a/source/utils/smbcontrol.c +++ b/source/utils/smbcontrol.c @@ -40,6 +40,7 @@ static struct { {"pool-usage", MSG_REQ_POOL_USAGE }, {"dmalloc-mark", MSG_REQ_DMALLOC_MARK }, {"dmalloc-log-changed", MSG_REQ_DMALLOC_LOG_CHANGED }, + {"shutdown", MSG_SHUTDOWN }, {NULL, -1} }; @@ -430,6 +431,11 @@ static BOOL do_command(char *dest, char *msg_name, int iparams, char **params) if (!send_message(dest, mtype, NULL, 0, False)) return False; break; + + case MSG_SHUTDOWN: + if (!send_message(dest, MSG_SHUTDOWN, NULL, 0, False)) + return False; + break; } return (True); |