Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Feb 1996 08:10:03 -0800 (PST)
From:      KATO Takenori <kato@eclogite.eps.nagoya-u.ac.jp>
To:        freebsd-bugs
Subject:   Re: misc/995: /var/run/gated.pid is deleted
Message-ID:  <199602071610.IAA09340@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/995; it has been noted by GNATS.

From: KATO Takenori <kato@eclogite.eps.nagoya-u.ac.jp>
To: FreeBSD-gnats-submit@freebsd.org
Cc:  Subject: Re: misc/995: /var/run/gated.pid is deleted
Date: Thu, 08 Feb 1996 01:02:38 +0900

 > Thus, /var/run/gated.pid which gated made, is deleted.
 
 Current startup routine deletes both gated.pid and gated.version.
 
 The following patch solves above problem.
 
 --------------------
 diff -arcN etc.old/netstart etc/netstart
 *** etc.old/netstart	Thu Feb  8 00:53:05 1996
 --- etc/netstart	Thu Feb  8 00:54:10 1996
 ***************
 *** 63,71 ****
   	sysctl -w net.inet.ip.forwarding=1 >/dev/null 2>&1
   fi
   
 - if [ "x$router" != "xNO" ] ; then
 - 	echo -n starting routing daemon:
 - 	echo -n " ${router}";	${router} ${routerflags}
 - 	echo '.'
 - fi
 - 
 --- 63,65 ----
 diff -arcN etc.old/rc etc/rc
 *** etc.old/rc	Thu Feb  8 00:53:05 1996
 --- etc/rc	Thu Feb  8 00:54:11 1996
 ***************
 *** 150,155 ****
 --- 150,161 ----
   
   echo ' syslogd.';			syslogd
   
 + if [ "x$router" != "xNO" ] ; then
 + 	echo -n starting routing daemon:
 + 	echo -n " ${router}";	${router} ${routerflags}
 + 	echo '.'
 + fi
 + 
   echo -n starting network daemons:
   
   # $namedflags is imported from /etc/sysconfig
 --------------------
 
 ----
 KATO Takenori <kato@eclogite.eps.nagoya-u.ac.jp>
 Dept. Earth Planet. Sci., Nagoya Univ.,  Nagoya 464-01
 Voice: +81-52-789-2529   Fax: +81-52-789-3033
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602071610.IAA09340>