--- loncom/lonnet/perl/lonnet.pm 2001/12/05 21:00:23 1.183 +++ loncom/lonnet/perl/lonnet.pm 2001/12/06 19:23:42 1.184 @@ -1,7 +1,7 @@ # The LearningOnline Network # TCP networking package # -# $Id: lonnet.pm,v 1.183 2001/12/05 21:00:23 albertel Exp $ +# $Id: lonnet.pm,v 1.184 2001/12/06 19:23:42 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -61,8 +61,10 @@ # 10/5,10/10,11/13,11/15 Scott Harrison # 11/17,11/20,11/22,11/29 Gerd Kortemeyer # 12/5 Matthew Hall +# 12/5 Guy Albertelli +# 12/6 Gerd Kortemeyer # -# $Id: lonnet.pm,v 1.183 2001/12/05 21:00:23 albertel Exp $ +# $Id: lonnet.pm,v 1.184 2001/12/06 19:23:42 www Exp $ # ### @@ -170,7 +172,7 @@ use Apache::File; use LWP::UserAgent(); use HTTP::Headers; use vars -qw(%perlvar %hostname %homecache %hostip %spareid %hostdom %libserv %pr %prp %fe %fd $readit %metacache %packagetab %courselogs); +qw(%perlvar %hostname %homecache %hostip %spareid %hostdom %libserv %pr %prp %fe %fd %metacache %packagetab %courselogs %accesshash); use IO::Socket; use GDBM_File; use Apache::Constants qw(:common :http); @@ -2607,6 +2609,11 @@ sub unescape { # ================================================================ Main Program +sub goodbye { + &flushcourselogs(); + &logthis("Shutting down"); +} + BEGIN { # ------------------------------------------------------------ Read access.conf { @@ -2704,7 +2711,6 @@ BEGIN { %metacache=(); -$readit='done'; &logtouch(); &logthis('INFO: Read configuration'); }