2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-22 11:10:24 +00:00

fix setroute failed during updatenode (#3598)

This commit is contained in:
Yuan Bai
2017-08-02 18:09:34 +08:00
committed by yangsong
parent e27b5ec598
commit cdd1441006

View File

@@ -25,9 +25,13 @@
if [ "$(uname -s|tr 'A-Z' 'a-z')" = "linux" ];then
str_dir_name=`dirname $0`
([ -f $str_dir_name/xcatlib.sh ] && . $str_dir_name/xcatlib.sh) || \
([ -f /install/postscripts/xcatlib.sh ] && . /install/postscripts/xcatlib.sh) || \
([ -f /xcatpost/xcatlib.sh ] && . /xcatpost/xcatlib.sh)
if [ -f $str_dir_name/xcatlib.sh ]; then
. $str_dir_name/xcatlib.sh
elif [ -f /install/postscripts/xcatlib.sh ]; then
. /install/postscripts/xcatlib.sh
elif [ -f /xcatpost/xcatlib.sh ]; then
. /xcatpost/xcatlib.sh
fi
fi
op=$1