ctdb-scripts: Don't load CTDB configuration in statd-callout
authorMartin Schwenke <martin@meltin.net>
Wed, 4 Apr 2018 09:14:16 +0000 (19:14 +1000)
committerAmitay Isaacs <amitay@samba.org>
Sat, 12 May 2018 04:11:17 +0000 (06:11 +0200)
The only configuration options used by statd-callout are NFS_HOSTNAME,
which comes from the NFS system configuration file, and
CTDB_NFS_CALLOUT, which is exported by the 60.nfs event script.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/config/statd-callout

index 30d547742fe7e9914f1fcead0ef7f6c0b08afffe..bf18b5586b3c1d5235a94b3223ed9227b6c69a99 100755 (executable)
@@ -22,8 +22,6 @@ die ()
 
 load_system_config "nfs"
 
-loadconfig
-
 [ -n "$NFS_HOSTNAME" ] || \
     die "NFS_HOSTNAME is not configured. statd-callout failed"