--- loncom/build/Attic/loncapaautoupgrade 2000/10/26 04:40:25 1.2 +++ loncom/build/Attic/loncapaautoupgrade 2000/10/27 18:10:46 1.5 @@ -12,11 +12,16 @@ use strict; # Download most recent LON-CAPA RPM -print `/usr/bin/lynx -source http://install.lon-capa.org/3.1/loncapafiles/LON-CAPA-base-3.1-1.i386.rpm > /tmp/LON-CAPA-base-3.1-1.i386.rpm`; +print `/usr/bin/lynx -term xterm -source http://install.lon-capa.org/3.1/loncapafiles/LON-CAPA-base-3.1-1.i386.rpm > /tmp/LON-CAPA-base-3.1-1.i386.rpm`; # Stop LON-CAPA -print `/etc/rc.d/init.d/loncontrol stop`; +print "Stopping LON-CAPA and Apache\n"; +system("/etc/rc.d/init.d/loncontrol stop"); +system("/etc/rc.d/init.d/httpd stop"); +system("/etc/rc.d/init.d/atalkd stop"); +system("/etc/rc.d/init.d/smb stop"); +system("/etc/rc.d/init.d/xntpd stop"); # Update downloaded RPM @@ -28,7 +33,12 @@ print `/usr/sbin/loncaparestoreconfigura # Start LON-CAPA -print `/etc/rc.d/init.d/loncontrol start`; +print "Starting LON-CAPA and Apache (be patient please)\n"; +system("/etc/rc.d/init.d/loncontrol start"); +system("/etc/rc.d/init.d/httpd start"); +system("/etc/rc.d/init.d/atalkd start"); +system("/etc/rc.d/init.d/smb start"); +system("/etc/rc.d/init.d/xntpd start"); # Verify base files and packages