From 70d51e15c6b7cb46e7c53ace152f01b54bff6720 Mon Sep 17 00:00:00 2001 From: cxhong Date: Wed, 12 Feb 2020 16:08:59 -0500 Subject: [PATCH] modify checking from sles to sle --- xCAT-server/share/xcat/install/scripts/post.xcat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/install/scripts/post.xcat b/xCAT-server/share/xcat/install/scripts/post.xcat index 0a9e943b5..bfcea68f0 100755 --- a/xCAT-server/share/xcat/install/scripts/post.xcat +++ b/xCAT-server/share/xcat/install/scripts/post.xcat @@ -332,7 +332,7 @@ EOF if [[ $OSVER == ubuntu* ]]; then update-rc.d xcatpostinit1 defaults else - if [[ $OSVER == sles* ]]; then + if [[ $OSVER == sle* ]]; then if [[ $OSVER == sles10* ]]; then /sbin/insserv xcatpostinit1 else