1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/ctdb/config
Martin Schwenke eec654314a Eventscripts - Remove local variable usage in 10.interfaces.
POSIX sh doesn't have local variables.  Debian's dash doesn't behave
the same way as bash on this contruct:

  local var=`command that produces multiple words`

It only assigns the 1st word and may print an error.

Just remove the use of the "local" keyword in monitor_interfaces() to
solve this.  It isn't actually limiting the scope of any variables
that are used outside the function.

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

(This used to be ctdb commit 95d9a1e19655461288a2c7e52abf9d01ab23e05a)
2011-08-08 15:44:30 +10:00
..
events.d Eventscripts - Remove local variable usage in 10.interfaces. 2011-08-08 15:44:30 +10:00
ctdb-crash-cleanup.sh In the example script to remove all ip addresses after a ctdb crash, 2010-04-23 09:08:26 +10:00
ctdb.init Eventscripts: remove unnecessary absolute paths from external commands. 2011-08-03 17:19:15 +10:00
ctdb.sysconfig Change how NATGW is configured to allow special nodes that do not have 2010-09-08 09:20:16 +10:00
functions Eventscripts: source a file specified by $CTDB_RC_LOCAL in functions file. 2011-08-08 13:51:32 +10:00
gdb_backtrace lib/util: import fault/backtrace handling from samba. 2010-01-20 09:44:36 +01:00
interface_modify.sh config/interface_modify.sh: do the echo before running the script 2010-07-15 15:06:51 +09:30
notify.sh server: add "setup" event 2010-02-23 10:38:49 +01:00
statd-callout Eventscripts: remove unnecessary absolute paths from external commands. 2011-08-03 17:19:15 +10:00