--- loncom/build/Attic/postinstall.pl 2000/11/20 22:52:05 1.2 +++ loncom/build/Attic/postinstall.pl 2000/11/20 23:23:15 1.3 @@ -168,16 +168,55 @@ system('/etc/rc.d/init.d/httpd','restart # fix the setup of init.d processes # nfs -# atalk +# bash$ diff nfs nfs~ +# 6c6 +# < # chkconfig: 345 60 20 +# --- +# > # chkconfig: - 60 20 +# then chkconfig + +# ntp +# chkconfig 345 +# then chkconfig + # make atalk specific modifications -# /etc/services -# /etc/atalk/conf +# /etc/atalk/config +open OUT, ">/etc/atalk/config"; +print OUT <; split(/\s+/); print "LONCAPA_\$_[2]"; +'` +# Set which daemons to run: +PAPD_RUN=no +AFPD_RUN=yes +# Control whether the daemons are started in the background +ATALK_BGROUND=no +END +close OUT; +# /etc/conf.modules should have this line +# alias net-pf-5 appletalk +# depmod -a +$template=`/bin/cat /etc/conf.modules`; +$template.="alias net-pf-5 appletalk\n"; +open OUT, ">/etc/conf.modules"; +print OUT $template; +close OUT; +system('depmod -a'); # restart nfs, smb, and atalk services system('/etc/rc.d/init.d/smb','restart'); system('/etc/rc.d/init.d/atalk','restart'); - +system('/etc/rc.d/init.d portmap','stop'); +system('/etc/rc.d/init.d nfs','stop'); +system('/etc/rc.d/init.d portmap','start'); +system('/etc/rc.d/init.d nfs','start'); +system('/etc/rc.d/init.d/smb','restart'); +system('/etc/rc.d/init.d/inet','restart'); # restart loncontrol print "Please be patient while loncontrol services are restarted (approximately 10 minutes).\n";