diff options
author | jmc <jmc@openbsd.org> | 2006-05-31 09:16:35 +0000 |
---|---|---|
committer | jmc <jmc@openbsd.org> | 2006-05-31 09:16:35 +0000 |
commit | 6cb19231b50da5ba8aa91568e825951043150fb0 (patch) | |
tree | 35cce29fac76849446a3a8c5a88ddfd7b6dc39a4 /usr.sbin/hotplugd | |
parent | - tidy up SYNOPSIS (diff) | |
download | wireguard-openbsd-6cb19231b50da5ba8aa91568e825951043150fb0.tar.xz wireguard-openbsd-6cb19231b50da5ba8aa91568e825951043150fb0.zip |
tweak the sample attach script; ok grange
Diffstat (limited to 'usr.sbin/hotplugd')
-rw-r--r-- | usr.sbin/hotplugd/hotplugd.8 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/hotplugd/hotplugd.8 b/usr.sbin/hotplugd/hotplugd.8 index d94a0f523bc..4db8280b258 100644 --- a/usr.sbin/hotplugd/hotplugd.8 +++ b/usr.sbin/hotplugd/hotplugd.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: hotplugd.8,v 1.2 2004/12/25 20:05:43 ian Exp $ +.\" $OpenBSD: hotplugd.8,v 1.3 2006/05/31 09:16:35 jmc Exp $ .\" .\" Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org> .\" @@ -94,8 +94,8 @@ case $DEVCLASS in 2) # disk devices - disklabel=`/sbin/disklabel $DEVNAME | grep '^label:' | \e - sed -e 's/^label: //'` + disklabel=`/sbin/disklabel $DEVNAME 2>&1 | \e + grep '^label:' | sed -e 's/^label: //'` case $disklabel in Sony*DSC*) # Sony DSC camera |