summaryrefslogtreecommitdiffstats
path: root/etc/rc.pccard
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>1999-08-25 16:01:45 +0000
committersheldonh <sheldonh@FreeBSD.org>1999-08-25 16:01:45 +0000
commit8cec588c449f00982159304c76482d87d5194f0d (patch)
treec5b950c555128460f4c0f03bc9b54c807a922506 /etc/rc.pccard
parentde5fc0125907bb6de177202bfa1b843589e80011 (diff)
downloadFreeBSD-src-8cec588c449f00982159304c76482d87d5194f0d.zip
FreeBSD-src-8cec588c449f00982159304c76482d87d5194f0d.tar.gz
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
Diffstat (limited to 'etc/rc.pccard')
-rw-r--r--etc/rc.pccard14
1 files changed, 7 insertions, 7 deletions
diff --git a/etc/rc.pccard b/etc/rc.pccard
index 5b171cf..6cd1e77 100644
--- a/etc/rc.pccard
+++ b/etc/rc.pccard
@@ -1,16 +1,16 @@
#!/bin/sh -
# PC-card startup script
-# $Id: rc.pccard,v 1.15 1999/07/07 01:26:55 hosokawa Exp $
+# $Id: rc.pccard,v 1.16 1999/07/26 01:08:16 obrien Exp $
-if [ "X$pccard_enable" = X"YES" ] ; then
- if [ "x$pccard_mem" != "xDEFAULT" ] ; then
- pccardc pccardmem $pccard_mem
+if [ "${pccard_enable}" = "YES" ] ; then
+ if [ "${pccard_mem}" != "DEFAULT" ] ; then
+ pccardc pccardmem ${pccard_mem}
else
pccardc pccardmem 0xd0000
fi
- if [ "X$pccard_conf" != "X" ] ; then
- pccardd_flags="$pccardd_flags -f $pccard_conf"
+ 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
+ pccardd ${pccardd_flags} 2>&1 > /var/log/pccardd.debug
fi
OpenPOWER on IntegriCloud