Subject: Re: misc/23908
To: None <gnats-bugs@gnats.netbsd.org, tech-userlevel@NetBSD.org>
From: Luke Mewburn <lukem@NetBSD.org>
List: tech-userlevel
Date: 04/02/2004 22:16:13
--G4UpX/lnQuKJNVOc
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Fri, Apr 02, 2004 at 01:25:17PM +0200, Julio M. Merino Vidal wrote:
| What about the following patch to fix this PR?
Looks fine.
Don't forget to update rc.subr(8).
|=20
| Index: rc.subr
| =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
| RCS file: /cvsroot/src/etc/rc.subr,v
| retrieving revision 1.61
| diff -u -r1.61 rc.subr
| --- rc.subr 6 Jan 2004 00:52:24 -0000 1.61
| +++ rc.subr 2 Apr 2004 11:20:54 -0000
| @@ -38,6 +38,8 @@
| # functions used by various rc scripts
| #
| =20
| +: ${rc_conf_manpage:=3D'rc.conf(5)'}
| +
| #
| # functions
| # ---------
| @@ -62,7 +64,7 @@
| return 1
| ;;
| *)
| - warn "\$${1} is not set properly - see rc.conf(5)."
| + warn "\$${1} is not set properly - see ${rc_conf_manpage}."
| return 1
| ;;
| esac
| Index: daily
| =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
| RCS file: /cvsroot/src/etc/daily,v
| retrieving revision 1.58
| diff -u -r1.58 daily
| --- daily 29 Mar 2004 02:17:26 -0000 1.58
| +++ daily 2 Apr 2004 11:20:55 -0000
| @@ -13,6 +13,7 @@
| =20
| host=3D`hostname`
| date=3D`date`
| +rc_conf_manpage=3D'daily.conf(5)'
| =20
| echo "To: ${MAILTO:-root}"
| echo "Subject: $host daily output for $date"
| Index: weekly
| =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
| RCS file: /cvsroot/src/etc/weekly,v
| retrieving revision 1.17
| diff -u -r1.17 weekly
| --- weekly 18 Jun 2001 10:54:02 -0000 1.17
| +++ weekly 2 Apr 2004 11:20:55 -0000
| @@ -13,6 +13,7 @@
| =20
| host=3D`hostname`
| date=3D`date`
| +rc_conf_manpage=3D'weekly.conf(5)'
| =20
| echo "To: ${MAILTO:-root}"
| echo "Subject: $host weekly output for $date"
| Index: monthly
| =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
| RCS file: /cvsroot/src/etc/monthly,v
| retrieving revision 1.8
| diff -u -r1.8 monthly
| --- monthly 10 Jan 2000 17:03:49 -0000 1.8
| +++ monthly 2 Apr 2004 11:20:55 -0000
| @@ -13,6 +13,7 @@
| =20
| host=3D`hostname`
| date=3D`date`
| +rc_conf_manpage=3D'monthly.conf(5)'
| =20
| echo "To: ${MAILTO:-root}"
| echo "Subject: $host monthly output for $date"
|=20
| --=20
| Julio M. Merino Vidal <jmmv@menta.net>
| The NetBSD Project - http://www.NetBSD.org/
--G4UpX/lnQuKJNVOc
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iD8DBQFAbVmNpBhtmn8zJHIRAs44AKDPNuA2eQcIOo6ZnfGx2KkHYkAl7QCggRLH
TJRzzz/Q+tB9RDuQ+2NWuMY=
=juE4
-----END PGP SIGNATURE-----
--G4UpX/lnQuKJNVOc--