Diff for /loncom/build/Attic/postinstall.pl between versions 1.2 and 1.3

version 1.2, 2000/11/20 22:52:05 version 1.3, 2000/11/20 23:23:15
Line 168  system('/etc/rc.d/init.d/httpd','restart Line 168  system('/etc/rc.d/init.d/httpd','restart
   
 # fix the setup of init.d processes  # fix the setup of init.d processes
 # nfs  # 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  # make atalk specific modifications
 # /etc/services  # /etc/atalk/config
 # /etc/atalk/conf  open OUT, ">/etc/atalk/config";
   print OUT <<END;
   # Appletalk configuration
   # Change this to increase the maximum number of clients that can connect:
   AFPD_MAX_CLIENTS=5
   # Change this to set the machine's atalk name:
   # ATALK_NAME=`echo \${HOSTNAME}|cut -d. -f1`
   ATALK_NAME=`grep '^PerlSetVar.*lonHostID' /etc/httpd/conf/access.conf | perl -e '\$_=<>; 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  # restart nfs, smb, and atalk services
 system('/etc/rc.d/init.d/smb','restart');  system('/etc/rc.d/init.d/smb','restart');
 system('/etc/rc.d/init.d/atalk','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  # restart loncontrol
 print "Please be patient while loncontrol services are restarted (approximately 10 minutes).\n";  print "Please be patient while loncontrol services are restarted (approximately 10 minutes).\n";

Removed from v.1.2  
changed lines
  Added in v.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>