Browse code

Source functions in rejoin-stack.sh

stackrc loads localrc and localrc can use functions
like enable_service and disable_service. Make sure
the functions are defined before loading stackrc.

Change-Id: Ied7bbe0d228f252902cc491b8db0738c5071f06b
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>

Doug Hellmann authored on 2013/06/07 04:42:13
Showing 1 changed files
... ...
@@ -5,6 +5,10 @@
5 5
 
6 6
 TOP_DIR=`dirname $0`
7 7
 
8
+# Import common functions in case the localrc (loaded via stackrc)
9
+# uses them.
10
+source $TOP_DIR/functions
11
+
8 12
 source $TOP_DIR/stackrc
9 13
 
10 14
 # if screenrc exists, run screen