mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-22 03:32:04 +00:00
fix routeop does not use xcatlib.sh for issue 3359 (#3377)
* routeop does not use xcatlib.sh for issue 3359 * enhanced based on comments
This commit is contained in:
parent
55bdc98955
commit
2c97eded50
@ -23,10 +23,11 @@
|
||||
#=cut
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
|
||||
if [ "$(uname -s|tr 'A-Z' 'a-z')" = "linux" ];then
|
||||
str_dir_name=`dirname $0`
|
||||
. $str_dir_name/xcatlib.sh
|
||||
([ -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)
|
||||
fi
|
||||
|
||||
op=$1
|
||||
|
Loading…
x
Reference in New Issue
Block a user