From b53fc040c3a2066f0e239a23ae9ab61982ced66b Mon Sep 17 00:00:00 2001 From: Igor Sobrado Date: Thu, 6 Nov 2008 11:19:25 +0000 Subject: use spacing consistently to make example shorter and more readable; improve indentation. --- usr.sbin/hotplugd/hotplugd.8 | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'usr.sbin/hotplugd/hotplugd.8') 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 .\" @@ -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 -- cgit v1.2.3