diff options
Diffstat (limited to 'term-utils')
-rw-r--r-- | term-utils/agetty.8 | 3 | ||||
-rw-r--r-- | term-utils/agetty.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/term-utils/agetty.8 b/term-utils/agetty.8 index 9cc611b03..ec279f97f 100644 --- a/term-utils/agetty.8 +++ b/term-utils/agetty.8 @@ -176,6 +176,9 @@ Please read the SECURITY NOTICE below if you want to use this. Wait for any key before dropping to the login prompt. Can be combined with \fB\-\-autologin\fP to save memory by lazily spawning shells. .TP +\-r, \-\-chroot \fI"directory"\fP +Change root to the specified directory. +.TP \-R, \-\-hangup Do call vhangup() for a virtually hangup of the specified terminal. .TP diff --git a/term-utils/agetty.c b/term-utils/agetty.c index 8f9c3244e..f877d0e36 100644 --- a/term-utils/agetty.c +++ b/term-utils/agetty.c @@ -1651,6 +1651,7 @@ static void __attribute__ ((__noreturn__)) usage(FILE *out) fputs(_(" -n, --skip-login do not prompt for login\n"), out); fputs(_(" -o, --login-options <opts> options that are passed to login\n"), out); fputs(_(" -p, --loginpause wait for any key before the login\n"), out); + fputs(_(" -r, --chroot <dir> change root to the directory\n"), out); fputs(_(" -R, --hangup do virtually hangup on the tty\n"), out); fputs(_(" -s, --keep-baud try to keep baud rate after break\n"), out); fputs(_(" -t, --timeout <number> login process timeout\n"), out); |