From owner-freebsd-current Thu Aug 20 02:28:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA23222 for freebsd-current-outgoing; Thu, 20 Aug 1998 02:28:15 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from critter.freebsd.dk (obelix.trw.nl [195.193.64.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA23216 for ; Thu, 20 Aug 1998 02:28:12 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.1/8.8.5) with ESMTP id LAA01272; Thu, 20 Aug 1998 11:23:50 +0200 (CEST) To: Ollivier Robert cc: "FreeBSD Current Users' list" Subject: Re: Problem with Poul-Henning's commit in /etc/rc In-reply-to: Your message of "Thu, 20 Aug 1998 11:01:25 +0200." <19980820110125.A17863@caerdonn.eurocontrol.fr> Date: Thu, 20 Aug 1998 11:23:48 +0200 Message-ID: <1270.903605028@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG you're right... In message <19980820110125.A17863@caerdonn.eurocontrol.fr>, Ollivier Robert wri tes: >Unless I'm mistaken, the latest change from Poul-Henning to /etc/rc is bad >because failures are not detected anymore. The $? check is now after the >"echo" and will check its return code, not the one from mount. > >Index: rc >=================================================================== >RCS file: /home/ncvs/src/etc/rc,v >retrieving revision 1.148 >retrieving revision 1.149 >diff -u -2 -u -r1.148 -r1.149 >--- rc 1998/08/10 19:53:50 1.148 >+++ rc 1998/08/14 06:49:05 1.149 >@@ -77,5 +77,7 @@ > umount -a >/dev/null 2>&1 > >+echo -n "Mounting NFS file systems" > mount -a -t nonfs >+echo . > if [ $? != 0 ]; then > echo "Filesystem mount failed, startup aborted" > >-- >Ollivier ROBERT -=- Eurocontrol EEC/TS -=- Ollivier.Robert@eurocontrol.fr >FreeBSD caerdonn.eurocontrol.fr 3.0-CURRENT #5: Tue Apr 22 14:57:00 CEST 1997 >roberto@caerdonn.eurocontrol.fr:/src/src/sys/compile/CAERDONN2 i386 > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-current" in the body of the message > -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." "ttyv0" -- What UNIX calls a $20K state-of-the-art, 3D, hi-res color terminal To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message