From 1e2af548696258501e97325e9345151b8e74a67d Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 27 Feb 2008 13:15:26 +0000 Subject: [PATCH] Change service to /etc/rc.d/init.d calls to work on SLES git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@589 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCATsn/xCATsn.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xCATsn/xCATsn.spec b/xCATsn/xCATsn.spec index 9a1593024..be7fdf87d 100644 --- a/xCATsn/xCATsn.spec +++ b/xCATsn/xCATsn.spec @@ -53,8 +53,9 @@ if [ "$1" = "1" ]; then #Only if installing for the first time.. if ! grep /install /etc/exports; then echo '/install *(ro,no_root_squash,sync)' >> /etc/exports #SECURITY: this has potential for sharing private host/user keys fi - service nfs restart chkconfig nfs on + /etc/rc.d/init.d/nfs stop + /etc/rc.d/init.d/nfs start # makes it a service node touch /etc/xCATSN @@ -77,8 +78,9 @@ if [ "$1" = "1" ]; then #Only if installing for the first time.. ### Start the xcatd daemon XCATROOT=$RPM_INSTALL_PREFIX0 /etc/init.d/xcatd start - service httpd restart chkconfig httpd on + /etc/rc.d/init.d/httpd stop + /etc/rc.d/init.d/httpd start echo "xCATsn is now installed" fi