diff --git a/perl-xCAT/xCAT/Utils.pm b/perl-xCAT/xCAT/Utils.pm index ee19a6002..8d75343d4 100644 --- a/perl-xCAT/xCAT/Utils.pm +++ b/perl-xCAT/xCAT/Utils.pm @@ -3624,7 +3624,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 fb96e1305..65b8984db 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