[nos-bbs] Ubuntu 10.04 autoboot JNOS & respawn

Wm Lewis thunderft at hotmail.com
Sat Nov 27 07:01:03 EST 2010


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

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


More information about the nos-bbs mailing list