output to console from init script

Cameron Simpson cs at zip.com.au
Mon Nov 29 20:54:59 UTC 2010


On 29Nov2010 11:42, msacks <ntwrkd at gmail.com> wrote:
| Hello,
| I am trying to figure out a way to output some information to the
| console (system boots to runlevel 3) from an init script.
| 
| Here is what I've tried:
| add echo "$SOMEINFO" into the init script and pipe it to wall, and put
| that in the init script.
| 
| This doesn't seem to work, I was thinking of outputting to motd to
| achieve this, but wondered if anyone knows a better way.
| Perhaps using the at command?

Perhaps by writing to the console?

  echo blah >/dev/console

Just a thought...
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

Mark C Olson <olsonm at adc.com> wrote:
>You ARE invisible.
>They ARE intent on your destruction.
Good thing you're invisible then
        - Fitz of Fitz Hall <fitz at tpnet.co.nz>


More information about the users mailing list