fix agetty can be start directly

This fixes #320.
This commit is contained in:
hosxy 2019-08-18 21:13:41 +08:00 committed by William Hubbs
parent 7faa48ae04
commit c6a037e9dd

View File

@ -25,7 +25,7 @@ depend() {
} }
start_pre() { start_pre() {
if [ -z "$port" ]; then if [ "$port" = "$RC_SVCNAME" ]; then
eerror "${RC_SVCNAME} cannot be started directly. You must create" eerror "${RC_SVCNAME} cannot be started directly. You must create"
eerror "symbolic links to it for the ports you want to start" eerror "symbolic links to it for the ports you want to start"
eerror "agetty on and add those to the appropriate runlevels." eerror "agetty on and add those to the appropriate runlevels."