diff options
Diffstat (limited to 'init.d/agetty.in')
-rw-r--r-- | init.d/agetty.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/agetty.in b/init.d/agetty.in index e4866f7a..7409e122 100644 --- a/init.d/agetty.in +++ b/init.d/agetty.in @@ -25,7 +25,7 @@ depend() { } start_pre() { - if [ -z "$port" ]; then + if [ "$port" = "$RC_SVCNAME" ]; then eerror "${RC_SVCNAME} cannot be started directly. You must create" eerror "symbolic links to it for the ports you want to start" eerror "agetty on and add those to the appropriate runlevels." |