diff options
author | Karel Zak | 2012-09-13 12:54:36 +0200 |
---|---|---|
committer | Karel Zak | 2012-09-13 12:59:46 +0200 |
commit | 2b945eda3da145c7434cd7cc9ebc6392dcbea15d (patch) | |
tree | 23431331bb866afb91808e1f020d8b2d9ae6bd39 /term-utils/agetty.8 | |
parent | build-sys: simplify usrlib_execdir initialization (diff) | |
download | kernel-qcow2-util-linux-2b945eda3da145c7434cd7cc9ebc6392dcbea15d.tar.gz kernel-qcow2-util-linux-2b945eda3da145c7434cd7cc9ebc6392dcbea15d.tar.xz kernel-qcow2-util-linux-2b945eda3da145c7434cd7cc9ebc6392dcbea15d.zip |
agetty: add \4 and \6 issue file sequences to print IP addresses
Based on Andrea Bonomi <a.bonomi@endian.com> ideas.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'term-utils/agetty.8')
-rw-r--r-- | term-utils/agetty.8 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/term-utils/agetty.8 b/term-utils/agetty.8 index ebfdb961b..e400ec855 100644 --- a/term-utils/agetty.8 +++ b/term-utils/agetty.8 @@ -269,6 +269,14 @@ time etc. All escape codes consist of a backslash (\\) immediately followed by one of the letters explained below. .TP +4 or 4{interface} +Insert the IPv4 address of the machine hostname or IPv4 address the configured +network interface if the interface argument is specified (e.g. \\4{eth0}). +.TP +6 or 6{interface} +Insert the IPv6 address of the machine hostname or IPv6 address the configured +network interface if the interface argument is specified (e.g. \\6{eth0}} +.TP b Insert the baudrate of the current line. .TP |