From 4fb700d3fd522c6e5b2234dd7c17fe248ab530f5 Mon Sep 17 00:00:00 2001 From: immarvin Date: Tue, 15 Jul 2014 03:10:05 -0700 Subject: [PATCH] fix the defect #4217 [FVT]pgsqlsetup -i failed to start postgresql --- perl-xCAT/xCAT/Utils.pm | 2 +- xCAT/postscripts/xcatlib.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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