> On Mon, 22 Apr 2002, David O'Brien wrote:
> 
> >     +if [ -z "`hostname -s`" ]; then
> >     +        hostname=`kenv dhcp.host-name`
> >     +        hostname $hostname
> >     +        echo "Hostname is $hostname"
> >     +fi
> 
> If you wanted to match the style for most of the rc* files, and avoid an
> unecessary call to 'test,' you could do:
> 
> case `hostname -s` in
> '')
>       foo
>       ;;
> esac
> 
> Not a big deal, but I thought I'd mention it. :)
> 
> Doug

done, and thanks,

        danny



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to