Append ' - see rc.conf(5)' to unset variable warning:
/etc/rc.d/fu: WARNING: $fu is not set properly - see rc.conf(5). Add a note to rc.conf that third party packages may test for additional variables.
This commit is contained in:
parent
37fdff48de
commit
9f39802939
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: rc.subr,v 1.51 2002/07/25 14:34:46 grant Exp $
|
||||
# $NetBSD: rc.subr,v 1.52 2002/08/26 17:46:57 abs Exp $
|
||||
#
|
||||
# Copyright (c) 1997-2002 The NetBSD Foundation, Inc.
|
||||
# All rights reserved.
|
||||
|
@ -62,7 +62,7 @@ checkyesno()
|
|||
return 1
|
||||
;;
|
||||
*)
|
||||
warn "\$${1} is not set properly."
|
||||
warn "\$${1} is not set properly - see rc.conf(5)."
|
||||
return 1
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: rc.conf.5,v 1.64 2002/07/08 16:15:35 atatat Exp $
|
||||
.\" $NetBSD: rc.conf.5,v 1.65 2002/08/26 17:46:58 abs Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1996 Matthew R. Green
|
||||
.\" Copyright (c) 1997 Curt J. Sampson
|
||||
|
@ -58,11 +58,12 @@ meaning that
|
|||
.Nm
|
||||
must contain valid shell commands.
|
||||
.Pp
|
||||
Listed below are the
|
||||
Listed below are the standard
|
||||
.Nm
|
||||
variables that may be set, the values to which each may be set,
|
||||
a brief description of what each variable does, and a reference to
|
||||
relevant manual pages.
|
||||
relevant manual pages. Third party packages may test for additional
|
||||
variables.
|
||||
.Pp
|
||||
Most variables are one of two types: enabling variables or flags
|
||||
variables.
|
||||
|
|
Loading…
Reference in New Issue