git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa6f22d
)
ctdb-scripts: Implement registration in nfs-linux-kernel-callout
author
Martin Schwenke
<martin@meltin.net>
Tue, 14 Jul 2015 02:13:58 +0000
(12:13 +1000)
committer
Amitay Isaacs
<amitay@samba.org>
Tue, 14 Jul 2015 07:57:18 +0000
(09:57 +0200)
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/config/nfs-linux-kernel-callout
patch
|
blob
|
history
diff --git
a/ctdb/config/nfs-linux-kernel-callout
b/ctdb/config/nfs-linux-kernel-callout
index 31810d0f7d4eecb1f563be1db57770b104891932..5e770317679633f22b1fa07321cce7e73a10bbdf 100755
(executable)
--- a/
ctdb/config/nfs-linux-kernel-callout
+++ b/
ctdb/config/nfs-linux-kernel-callout
@@
-178,6
+178,20
@@
nfs_monitor_list_shares ()
##################################################
+nfs_register ()
+{
+ cat <<EOF
+shutdown
+startup
+stop
+start
+monitor-list-shares
+monitor-post
+EOF
+}
+
+##################################################
+
case "$1" in
shutdown)
nfs_shutdown
@@
-198,7
+212,7
@@
case "$1" in
nfs_check_thread_count
;;
register)
- : # Nothing yet
+ nfs_register
;;
monitor-pre|releaseip|takeip)
# Not required/implemented