freebsd-dev/etc/rc.d/pccard
Sheldon Hearn b68adff6b7 Style clean-up:
* All variables are now embraced: ${foo}

	* All comparisons against some value now take the form:
	  [ "${foo}" ? "value" ]
	  where ? is a comparison operator

	* All empty string tests now take the form:
	  [ -z "${foo}" ]

	* All non-empty string tests now take the form:
	  [ -n "${foo}" ]

Submitted by:	jkh
1999-08-25 16:01:45 +00:00

17 lines
431 B
Bash

#!/bin/sh -
# PC-card startup script
# $Id: rc.pccard,v 1.16 1999/07/26 01:08:16 obrien Exp $
if [ "${pccard_enable}" = "YES" ] ; then
if [ "${pccard_mem}" != "DEFAULT" ] ; then
pccardc pccardmem ${pccard_mem}
else
pccardc pccardmem 0xd0000
fi
if [ -n "${pccard_conf}" ] ; then
pccardd_flags="${pccardd_flags} -f ${pccard_conf}"
fi
echo -n "Enable PC-card."
pccardd ${pccardd_flags} 2>&1 > /var/log/pccardd.debug
fi