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

Not a big deal, but I thought I'd mention it. :)

   "We have known freedom's price. We have shown freedom's power.
      And in this great conflict, ...  we will see freedom's victory."
        - George W. Bush, President of the United States
          State of the Union, January 28, 2002

         Do YOU Yahoo!?

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

Reply via email to