2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-18 04:10:46 +00:00

modify checking from sles to sle

This commit is contained in:
cxhong
2020-02-12 16:08:59 -05:00
parent d88065c869
commit 70d51e15c6

View File

@ -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