diff --git a/perl-xCAT/xCAT/Utils.pm b/perl-xCAT/xCAT/Utils.pm index 56e495327..1c6deb821 100644 --- a/perl-xCAT/xCAT/Utils.pm +++ b/perl-xCAT/xCAT/Utils.pm @@ -3595,7 +3595,7 @@ sub servicemap{ }elsif ($svcmgrtype == 1){ $path="/usr/lib/systemd/system/"; $postfix=".service"; - $retdefault=$svcname.".service"; +# $retdefault=$svcname.".service"; }elsif ($svcmgrtype == 2){ $path="/etc/init/"; $postfix=".conf"; diff --git a/xCAT/postscripts/xcatlib.sh b/xCAT/postscripts/xcatlib.sh index 46d9d3a6f..e6fec7fa3 100644 --- a/xCAT/postscripts/xcatlib.sh +++ b/xCAT/postscripts/xcatlib.sh @@ -298,7 +298,7 @@ function servicemap { if [ "$svcmgrtype" = "0" ];then path="/etc/init.d/" elif [ "$svcmgrtype" = "1" ];then - retdefault=$svcname.service + #retdefault=$svcname.service path="/usr/lib/systemd/system/" postfix=".service" elif [ "$svcmgrtype" = "2" ];then