Eventscripts: remove unnecessary absolute paths from external commands.
authorMartin Schwenke <martin@meltin.net>
Wed, 13 Apr 2011 02:08:09 +0000 (12:08 +1000)
committerMartin Schwenke <martin@meltin.net>
Wed, 3 Aug 2011 07:19:15 +0000 (17:19 +1000)
commit75bbc93c0bd5c5303dc772774c8722019ecd32cc
tree3cbef561497921ff4d1830b6cedc8c91369e8d93
parent5f4ab05766eaf92a99b75f5ebf487af4c5e7201c
Eventscripts: remove unnecessary absolute paths from external commands.

For eventscript unit testing it will be necessary to override external
commands to allow stub implementations to be used.  If absolute paths
aren't used then this can be done using either a fake bin/
subdirectory or by using shell functions.

This removes all of the simple cases of absolute paths.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Conflicts:

config/ctdb.init
config/events.d/50.samba

        Keep old code but remove absolute paths.

Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 05851d50b0078de8bf4691442d718825adca6fe8)
ctdb/config/ctdb.init
ctdb/config/events.d/00.ctdb
ctdb/config/events.d/13.per_ip_routing
ctdb/config/events.d/20.multipathd
ctdb/config/events.d/50.samba
ctdb/config/events.d/60.ganesha [changed mode: 0644->0755]
ctdb/config/functions
ctdb/config/statd-callout