summaryrefslogtreecommitdiffstats
path: root/etc/rc.isdn
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.isdn
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.isdn')
-rw-r--r--etc/rc.isdn10
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/rc.isdn b/etc/rc.isdn
index c975d13..70370c2 100644
--- a/etc/rc.isdn
+++ b/etc/rc.isdn
@@ -6,11 +6,11 @@
#
# last edit-date: [Mon Mar 8 12:15:56 1999]
#
-# $Id: rc.isdn,v 1.1 1999/01/13 08:20:55 hm Exp $
+# $Id: rc.isdn,v 1.2 1999/03/08 11:28:45 hm Exp $
#
#---------------------------------------------------------------------------
-if [ "X${isdn_enable}" = X"YES" ] ; then
+if [ "${isdn_enable}" = "YES" ] ; then
echo -n 'ISDN subsystem setup:'
@@ -24,14 +24,14 @@ if [ "X${isdn_enable}" = X"YES" ] ; then
fi
fi
- if [ "X${isdn_flags}" = X"NO" ] ; then
+ if [ "${isdn_flags}" = "NO" ] ; then
isdn_flags=""
fi
# start the isdn daemon
if [ -x /usr/sbin/isdnd ] ; then
echo -n ' isdnd'
- if [ "X${isdn_fsdev}" = X"NO" ] ; then
+ if [ "${isdn_fsdev}" = "NO" ] ; then
/usr/sbin/isdnd ${isdn_flags}
else
/usr/sbin/isdnd ${isdn_flags} -f -r ${isdn_fsdev} -t ${isdn_ttype}
@@ -39,7 +39,7 @@ if [ "X${isdn_enable}" = X"YES" ] ; then
fi
# start isdntrace
- if [ "X${isdn_trace}" = X"YES" -a -x /usr/sbin/isdntrace ] ; then
+ if [ "${isdn_trace}" = "YES" -a -x /usr/sbin/isdntrace ] ; then
echo -n ' isdntrace'
nohup /usr/sbin/isdntrace ${isdn_traceflags} >/dev/null 2>&1 &
fi
OpenPOWER on IntegriCloud