[nos-bbs] Ubuntu 10.04 autoboot JNOS & respawn

Bob Tenty bobtenty at gmail.com
Sat Nov 27 13:17:28 EST 2010


The error is in "startnos".


In your "startnos" file you have:

exec /jnos/jnos -d/jnos -v </dev/tty5>/dev/tty5 2>&1

The error is "jnos -d/jnos -v"


You should use:


exec /jnos/jnos -d  -v </dev/tty5>/dev/tty5 2>&1

-----

tty5.conf itself is OK



73,

Bob VE3TOK


On 10-11-27 07:01 AM, Wm Lewis wrote:
> Bob:
>
> I tried updating as you said. Still no Joy.
>
> Do I need to be using some sort of SUDO command in any of this for it 
> to work on boot?
>
> Here are my updated files.
>
> "startnos" file (in /jnos directory
> ==============================================
> cd /jnos
> rm -f /jnos/spool/mqueue/*.lck 2> /dev/null
> rm -f /jnos/spool/mail/*.lck 2> /dev/null
> export TZ=PST8PDT
> exec /jnos/jnos -d/jnos -v </dev/tty5>/dev/tty5 2>&1
> ==============================================
>
> and the "tty5.conf" file
>
> ==============================================
> # tty5 - getty
> #
> # This service maintains a getty on tty5 from the point the system is
> # started until it is shut down again.
>
> start on runlevel [23]
> stop on runlevel [!23]
>
> respawn
> exec /jnos/startnos
> ==============================================
>
> What am I missing ?
>
> Bill
> KG6BAJ
> ------------------------------------------------------------------------
> Date: Sat, 27 Nov 2010 01:23:29 -0500
> From: bobtenty at gmail.com
> To: nos-bbs at tapr.org
> Subject: Re: [nos-bbs] ubuntu 9.1 compiles OK now, but...
>
> Bill:
>
> To start it in  virtual tty5 add </dev/tty5>/dev/tty5 2>&1 to the "exec"
> line in your startnos file.
>
> like:
>
> exec ./jnos  -g2 -w7+4 -d </dev/tty5>/dev/tty5 2>&1
>
>
> export TERM=linux is not necessary
>
>
> Don't use tty5 (or whatever console not in use) to your tty5.conf file 
> if you use
> </dev/tty5>/dev/tty5 2>&1 , etc  in your startnos file.
>
>
>
>
> You can stop and start tty5 with the commands:
>
> initctl stop tty5
> initctl start tty5
>
>
>
> 73,
>
> Bob VE3TOK
>
>
> _______________________________________________
> nos-bbs mailing list
> nos-bbs at tapr.org
> https://www.tapr.org/cgi-bin/mailman/listinfo/nos-bbs

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tapr.org/pipermail/nos-bbs_lists.tapr.org/attachments/20101127/5430824a/attachment.html>


More information about the nos-bbs mailing list