From 1299db6b8b54a0086f2bc08dbda0c8c31762a61c Mon Sep 17 00:00:00 2001 From: frueauf Date: Sat, 30 Oct 1999 12:35:30 +0000 Subject: [PATCH] Use checkyesno to check the state of $rc_configured like for any other variable set in /etc/rc.conf. Pointed out by Erik Bertelsen in pr 8522. --- etc/rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/rc b/etc/rc index a438b1910858..345ed1923469 100644 --- a/etc/rc +++ b/etc/rc @@ -1,4 +1,4 @@ -# $NetBSD: rc,v 1.134 1999/10/05 10:54:27 darrenr Exp $ +# $NetBSD: rc,v 1.135 1999/10/30 12:35:30 frueauf Exp $ # originally from: @(#)rc 8.2 (Berkeley) 3/17/94 # System startup script run by init on autoboot @@ -85,7 +85,7 @@ if [ -f /etc/rc.conf ]; then . /etc/rc.conf fi -if [ "$rc_configured" != YES ]; then +if ! checkyesno rc_configured; then echo "/etc/rc.conf is not configured. Multiuser boot aborted." exit 1 fi