--- loncom/build/Attic/postinstall.pl 2000/11/21 15:43:53 1.8 +++ loncom/build/Attic/postinstall.pl 2000/12/28 23:52:32 1.12 @@ -14,15 +14,15 @@ system('lynx -source http://install.lon- system('rpm -Uvh --force wget-1.5.3-6.i386.rpm'); # download SupplementalRPMS and install -system('wget','-r','http://install.lon-capa.org/3.1/SupplementalRPMS'); +system('wget','-r','-np','http://install.lon-capa.org/3.1/SupplementalRPMS'); system('rpm -Uvh --force install.lon-capa.org/3.1/SupplementalRPMS/*.rpm'); # download remove_extra.sh and run -system('wget','http://install.lon-capa.org/3.1/scripts/remove_extra.sh'); +system('wget','-r','-np','http://install.lon-capa.org/3.1/scripts/remove_extra.sh'); system('sh','./remove_extra.sh'); # download FinalRPMS and install -system('wget','-r','http://install.lon-capa.org/3.1/FinalRPMS'); +system('wget','-r','-np','http://install.lon-capa.org/3.1/FinalRPMS'); system('rpm -Uvh --force install.lon-capa.org/3.1/FinalRPMS/*.rpm'); my $okay=0; @@ -39,6 +39,11 @@ DEV: while ($okay==0) { if (!$okay) { system('wget','http://install.lon-capa.org/3.1/scripts/remove_extra_dev.sh'); system('sh','./remove_extra_dev.sh'); + $template=`/bin/cat /etc/inittab`; + $template=~s|id:5:initdefault:|id:3:initdefault:|; + open OUT, ">/etc/inittab"; + print OUT $template; + close OUT; } # allow entry of new access.conf parameters