git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b51660
)
Eventscripts: update 60.nfs service() start to use set_proc().
author
Martin Schwenke
<martin@meltin.net>
Tue, 28 Jun 2011 05:16:32 +0000
(15:16 +1000)
committer
Martin Schwenke
<martin@meltin.net>
Wed, 3 Aug 2011 10:01:38 +0000
(20:01 +1000)
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit
70ebb30b90956bb1212287d267ccb72ea83740ca
)
ctdb/config/events.d/60.nfs
patch
|
blob
|
history
diff --git
a/ctdb/config/events.d/60.nfs
b/ctdb/config/events.d/60.nfs
index 0cea531fa1554a1b06fa1735427623726022029c..b2da79b7f4f1bc782fc1688aa649fb8bb6996351 100755
(executable)
--- a/
ctdb/config/events.d/60.nfs
+++ b/
ctdb/config/events.d/60.nfs
@@
-6,7
+6,7
@@
start_nfs() {
/bin/mkdir -p $CTDB_VARDIR/state/statd/ip
startstop_nfs stop
startstop_nfs start
- echo 1 > /proc/sys/net/ipv4/tcp_tw_recycle
+ set_proc "sys/net/ipv4/tcp_tw_recycle" 1
}
. $CTDB_BASE/functions