On Mon, Apr 20, 2015 at 7:15 AM, Praveen kumar R
praveenrgo...@gmail.com wrote:
You mean in the getty-generator.c ?
I actually mean your own customer generator.
On Mon, Apr 20, 2015 at 9:14 AM, Andrei Borzenkov arvidj...@gmail.com
wrote:
В Mon, 20 Apr 2015 09:09:09 +0530
Praveen kumar R
On Mon, 20.04.15 13:06, Andrei Borzenkov (arvidj...@gmail.com) wrote:
On Mon, Apr 20, 2015 at 7:15 AM, Praveen kumar R
praveenrgo...@gmail.com wrote:
You mean in the getty-generator.c ?
I actually mean your own customer generator.
For details see:
В Sat, 18 Apr 2015 19:54:50 +0530
Praveen kumar R praveenrgo...@gmail.com пишет:
Yes it's a kernel command line arg, it is board specific token introduced
to control the serial console.
if defined serial console should not be enabled.
Sorry I do not understand this sentence. define what?
This is the snippet of the code in the systemV init system that controls
the serial console login
depending on the token
TOKENEXIST=`grep TOKEN= /proc/cmdline`
TOKEN=0
if [ X$TOKENEXIST != X ]; then
#If token is pass as a command line arg, use it.
TOKEN=`sed
В Mon, 20 Apr 2015 09:09:09 +0530
Praveen kumar R praveenrgo...@gmail.com пишет:
This is the snippet of the code in the systemV init system that controls
the serial console login
depending on the token
TOKENEXIST=`grep TOKEN= /proc/cmdline`
TOKEN=0
if [ X$TOKENEXIST != X ]; then
You mean in the *getty-generator.c ?*
On Mon, Apr 20, 2015 at 9:14 AM, Andrei Borzenkov arvidj...@gmail.com
wrote:
В Mon, 20 Apr 2015 09:09:09 +0530
Praveen kumar R praveenrgo...@gmail.com пишет:
This is the snippet of the code in the systemV init system that controls
the serial console
Yes it's a kernel command line arg, it is board specific token introduced
to control the serial console.
if defined serial console should not be enabled.
we have this in place for other system initializing system - sytemV , where
depending
On Fri, Apr 17, 2015 at 4:24 PM, Lennart Poettering
On Fri, 17.04.15 15:54, Praveen kumar R (praveenrgo...@gmail.com) wrote:
I have a token passed on by command line argument on which I need to decide
to start the serial
On which command line? Kernel command line? What kind of token?
console or not. I plan to tweak the getty*ttyS0.service and
I have a token passed on by command line argument on which I need to decide
to start the serial
console or not. I plan to tweak the getty*ttyS0.service and add the script
which validates the token
and starts the console.
Is this the right approach or is there any better way of handling it ??