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:
54c5cfe
)
use less intrusive smbstatus call in periodic connections cleanup
1.0.69
author
Andrew Tridgell
<tridge@samba.org>
Tue, 5 May 2009 22:18:21 +0000
(08:18 +1000)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Tue, 5 May 2009 22:21:07 +0000
(08:21 +1000)
config/events.d/50.samba
patch
|
blob
|
history
diff --git
a/config/events.d/50.samba
b/config/events.d/50.samba
index 9ec5f1c2d830f554cafce773fe943b737f42b842..2040f9d856498446af33fa1e12060976645964a6 100755
(executable)
--- a/
config/events.d/50.samba
+++ b/
config/events.d/50.samba
@@
-109,7
+109,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