git.samba.org
/
sahlberg
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11b11e0
)
use less intrusive smbstatus call in periodic connections cleanup
origin
rusty/origin
author
Andrew Tridgell
<tridge@samba.org>
Tue, 5 May 2009 22:18:21 +0000
(08:18 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 5 May 2009 22:18:21 +0000
(08:18 +1000)
config/events.d/50.samba
patch
|
blob
|
history
diff --git
a/config/events.d/50.samba
b/config/events.d/50.samba
index e0e2ad7bb5b307d68844d43228b9798980a7b42c..0343ce486fe77ce04f2d932ebeeadd777139b88d 100755
(executable)
--- a/
config/events.d/50.samba
+++ b/
config/events.d/50.samba
@@
-135,7
+135,7
@@
periodic_cleanup() {
# running smbstatus scrubs any dead entries from the connections
# and sessionid database
# echo "Running periodic cleanup of samba databases"
- smbstatus -n > /dev/null 2>&1 &
+ smbstatus -n
p
> /dev/null 2>&1 &
}
case $cmd in