aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2007-02-07 02:36:02 +0000
committerBill Nottingham <notting@redhat.com>2007-02-07 02:36:02 +0000
commit6ab8e0e440c96fce7d62029d80f3feb90db444cc (patch)
treeff2a427b56e51e61814b157fdb456fd49f7f433b /src
parent77dbe1944947c94c23f308f41598e80ed89872dc (diff)
downloadinitscripts-6ab8e0e440c96fce7d62029d80f3feb90db444cc.tar
initscripts-6ab8e0e440c96fce7d62029d80f3feb90db444cc.tar.gz
initscripts-6ab8e0e440c96fce7d62029d80f3feb90db444cc.tar.bz2
initscripts-6ab8e0e440c96fce7d62029d80f3feb90db444cc.tar.xz
initscripts-6ab8e0e440c96fce7d62029d80f3feb90db444cc.zip
fix man page formatting (<esr@thyrsus.com>)
Diffstat (limited to 'src')
-rw-r--r--src/initlog.12
1 files changed, 1 insertions, 1 deletions
diff --git a/src/initlog.1 b/src/initlog.1
index dc21a0ed..b508b295 100644
--- a/src/initlog.1
+++ b/src/initlog.1
@@ -27,7 +27,7 @@ Messages that match the regular expression will not be logged.
initlog behavior can also be configured by command-line options.
\fBNote that initlog is deprecated and will be removed in a future
-release.\fr
+release.\fR
.SS OPTIONS
.TP
+ elif [ -d "/sys/class/net/${1}" ]; then
+ LC_ALL= LANG= ip -o link show ${1} 2>/dev/null | \
+ awk '{ print toupper(gensub(/.*link\/[^ ]* ([[:alnum:]:]*).*/,
+ "\\1", 1)); }'
+ fi
+}
get_config_by_hwaddr ()
{