* Update buildroot 2020.02.01 Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * Fix LN * Fix wpa Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * Fix lint Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * fix-network Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * Fix script Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
25 lines
497 B
Plaintext
Executable File
25 lines
497 B
Plaintext
Executable File
#!/sbin/openrc-run
|
|
# based on agetty service from OpenRC package
|
|
|
|
description="start getty on terminal"
|
|
supervisor=supervise-daemon
|
|
port="${RC_SVCNAME#*.}"
|
|
term_type="${term_type:-linux}"
|
|
command=/sbin/getty
|
|
command_args_foreground="${getty_options} ${baud} ${port} ${term_type}"
|
|
pidfile="/run/${RC_SVCNAME}.pid"
|
|
|
|
depend() {
|
|
# start getty at the very end of init
|
|
after *
|
|
keyword -prefix
|
|
}
|
|
|
|
start_pre() {
|
|
export EINFO_QUIET="${quiet:-yes}"
|
|
}
|
|
|
|
stop_pre() {
|
|
export EINFO_QUIET="${quiet:-yes}"
|
|
}
|