From 5c1bd3b1445c853401465bac6df215309f4da786 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Fri, 2 May 2008 18:39:17 +0000 Subject: [PATCH] Actually setup ftp on upgrades git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1253 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/xCAT.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/xCAT/xCAT.spec b/xCAT/xCAT.spec index a90327701..b1b079b0b 100644 --- a/xCAT/xCAT.spec +++ b/xCAT/xCAT.spec @@ -110,6 +110,8 @@ fi if [ -d /install/postscripts/.xcat ]; then mv /install/postscripts/.xcat /install/postscripts/_xcat fi +chkconfig vsftpd on +/etc/rc.d/init.d/vsftpd start if [ "$1" = "1" ]; then #Only if installing for the fist time.. mkdir -p /root/.ssh chmod 700 /root/.ssh @@ -193,9 +195,6 @@ if [ "$1" = "1" ]; then #Only if installing for the fist time.. $RPM_INSTALL_PREFIX0/sbin/makenetworks XCATROOT=$RPM_INSTALL_PREFIX0 $RPM_INSTALL_PREFIX0/sbin/chtab key=nameservers site.value=`sed -e 's/#.*//' /etc/resolv.conf|grep nameserver|awk '{printf $2 ","}'|sed -e s/,$//` chkconfig httpd on - chkconfig vsftpd on - /etc/rc.d/init.d/vsftpd stop - /etc/rc.d/init.d/vsftpd start /etc/rc.d/init.d/httpd stop /etc/rc.d/init.d/httpd start echo "xCAT is now installed, it is recommended to tabedit networks and set a dynamic ip address range on any networks where nodes are to be discovered"