diff options
author | Igor Sobrado <sobrado@cvs.openbsd.org> | 2008-11-06 11:19:25 +0000 |
---|---|---|
committer | Igor Sobrado <sobrado@cvs.openbsd.org> | 2008-11-06 11:19:25 +0000 |
commit | b53fc040c3a2066f0e239a23ae9ab61982ced66b (patch) | |
tree | 19dffdbdbda4ccceab9e1e7d900ff0b76d45f38a /usr.sbin/hotplugd/hotplugd.8 | |
parent | a117fdabe6aa5e0be0c5433f59daaa2ee264d420 (diff) |
use spacing consistently to make example shorter and more readable;
improve indentation.
Diffstat (limited to 'usr.sbin/hotplugd/hotplugd.8')
-rw-r--r-- | usr.sbin/hotplugd/hotplugd.8 | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.sbin/hotplugd/hotplugd.8 b/usr.sbin/hotplugd/hotplugd.8 index e601162a717..9733c69e3c2 100644 --- a/usr.sbin/hotplugd/hotplugd.8 +++ b/usr.sbin/hotplugd/hotplugd.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: hotplugd.8,v 1.7 2008/11/06 09:16:25 ian Exp $ +.\" $OpenBSD: hotplugd.8,v 1.8 2008/11/06 11:19:24 sobrado Exp $ .\" .\" Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org> .\" @@ -98,26 +98,22 @@ DEVNAME=$2 case $DEVCLASS in 2) # disk devices - disklabel=`/sbin/disklabel $DEVNAME 2\*(Gt&1 | \e - sed -n '/^label: /s/^label: //p'` + sed -n '/^label: /s/^label: //p'` case $disklabel in Sony*DSC*) # Sony DSC camera mount -o nodev,nosuid /dev/"$DEVNAME"i /mnt/camera ;; esac - ;; 3) # network devices; use hostname.if if found, else dhclient. - if [ -f /etc/hostname.$DEVNAME ]; then sh /etc/netstart $DEVNAME else /sbin/dhclient $DEVNAME fi - ;; esac .Ed |