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>
This commit is contained in:
parent
3f8faa46f3
commit
88317adc0a
@ -5,6 +5,10 @@
|
|||||||
|
|
||||||
TOP_DIR=`dirname $0`
|
TOP_DIR=`dirname $0`
|
||||||
|
|
||||||
|
# Import common functions in case the localrc (loaded via stackrc)
|
||||||
|
# uses them.
|
||||||
|
source $TOP_DIR/functions
|
||||||
|
|
||||||
source $TOP_DIR/stackrc
|
source $TOP_DIR/stackrc
|
||||||
|
|
||||||
# if screenrc exists, run screen
|
# if screenrc exists, run screen
|
||||||
|
Loading…
Reference in New Issue
Block a user