View Single Post
Old 12-10-2019, 01:20 PM   #12
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by MrTick View Post
The custom-login is executed by /etc/upstart/console.conf:
Code:
(...)
  # This feature is introduced from Zelda platform. For older platforms, we keep the login unlocked
(...)
if [ "$prodVersion" == "0" -o "$unlockedKernel" == "true" -o "$secureCpu" = "0" ]; then
    #Unlocked Prompt if: unlockedKernel or not prod or not secure cpu
    exec getty -L $BAUD /dev/$UART 2>> $STDERR
else
    exec getty -L $BAUD /dev/$UART -i -n -l /etc/upstart/custom-login 2>> $STDERR
fi
I'll check this out, initctl2dot seems to be a good candidate.
Unfortunately I've left my Kindle at work so I need to wait with experiments till tomorrow
Quote:
-o "$secureCpu" = "0"
That condition is the one people are encountering on "serial port" thread.
I suggest that we trash everything of that 'if' statement except the:
Code:
exec getty -L $BAUD /dev/$UART -i -n -l /etc/upstart/custom-login 2>> $STDERR
I.E: Keep only that line of the current 'if' statement.
knc1 is offline   Reply With Quote