Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jul 2000 12:34:20 -0700 (PDT)
From:      "Thomas D. Dean" <tomdean@ix.netcom.com>
To:        freebsd-current@FreeBSD.ORG
Subject:   Re: HEADS UP: /etc/rc.shutdown calls local scripts now
Message-ID:  <200007061934.MAA12852@ix.netcom.com>
In-Reply-To: <3964DB9F.2D9E86D3@cup.hp.com> (message from Marcel Moolenaar on Thu, 06 Jul 2000 12:18:55 -0700)
References:  <freebsd-current.Pine.BSF.4.21.0007060846010.74904-100000@q.closedsrc.org> <20000706185810.8EECB7D33@yellow.rahul.net> <3964DB9F.2D9E86D3@cup.hp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
We have gone to some pains in the past to make the rc.d scripts silent.

Either work or fail silently.

  if [ -x ... ]; do
    ...
  done

Now, with the addition of the start/stop, there is a message output if
the argument is not 'start' or 'stop'.

The default should be 'start'.  These scripts are frequently used to
restart or redo things.

And, continue to exit silently in all cases.

tomdean


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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