3 # Copyright (C) 2011 OpenWrt.org
6 enable_console_login
() {
8 local initline
="$cons::askfirst:/bin/ash --login"
10 grep -qs "^$initline" /etc
/inittab ||
{
11 echo "$initline" >> /etc
/inittab
17 inittab_console_fixup
() {
18 for cons
in ttyS0 ttyATH0
; do
19 grep -qs "console=$cons" /proc
/cmdline
&& {
20 enable_console_login
$cons
This page took 0.051334 seconds and 5 git commands to generate.