From: Casper H.S. Dik on
Dietmar Braun <spam-2009-01-26(a)arath.org> writes:

>In Artikel <4b963831$0$22936$e4fe514c(a)news.xs4all.nl> schrub
>Casper.Dik(a)Sun.COM:
>> The output is not printed on the console.

>Oh...

>> /var/svc/log/milestone-multi-user-server:default.log (rc3.d scripts)
>> /var/svc/log/milestone-multi-user:default.log (rc2.d scripts_

>Ok, thank you... So what would be the best way to bring it to the
>console? Would be important since I have some interaction in the
>script...

Ah, with interaction? You will need to redirect the output to
the physical console:

Something like this:

exec >/dev/msglog 2<>/dev/msglog </dev/console

Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
First  |  Prev  | 
Pages: 1 2
Prev: Allow/Disallow User/Group
Next: cdtoc not exported