Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jun 2002 19:59:01 +0100
From:      "Lee" <lee@unassemble.co.uk>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   rc.d scripts & program output
Message-ID:  <008601c21ae8$0979b060$6400a8c0@Administrator>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi,

I have (i think) now managed to get the basic system how I like it.  Cheers for all of your help.

Since that is done, I have started installing some proper server apps, the one I am doing at the moment is Postfix mail server.

What I would like to ask, is there a way of suppressing program output so that it does not show up on boot up.  

For example, when the boot process starts up it gets to the rc.d script for postfix and print out the following:-

postfix/postfix-script: starting the postfix mail system.

This is also duplicated in the logs.  Is there a way that this can be sent somewhere else, such as /dev/null.  I have tried basic ways, such as using redirection " > /dev/null" but that does not do anything.

Cheers in advance for any help

Lee.

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2716.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have (i think) now managed to get the basic 
system how I like it.&nbsp; Cheers for all of your help.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Since that is done, I have started installing some 
proper server apps, the one I am doing at the moment is Postfix mail 
server.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>What I would like to ask, is there a way of 
suppressing program output so that it does not show up on boot up.&nbsp; 
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>For example, when the boot process starts up it 
gets to the rc.d script for postfix and print out the following:-</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>postfix/postfix-script: starting the postfix mail 
system.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>This is also duplicated in the logs.&nbsp; Is there 
a way that this can be sent somewhere else, such as /dev/null.&nbsp; I have 
tried basic ways, such as using redirection " &gt; /dev/null" but that does not 
do anything.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Cheers in advance for any help</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Lee.</FONT></DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?008601c21ae8$0979b060$6400a8c0>