#!/bin/sh
#
# /etc/rc.d/rc.sysinit - run once at boot time
-# $Id: rc.sysinit,v 1.89 2001/10/30 17:03:53 gotar Exp $
+# $Id: rc.sysinit,v 1.90 2001/11/23 14:32:58 gotar Exp $
#
# Taken in part from Miquel van Smoorenburg's bcheckrc.
# Changes: Arkadiusz Mi¶kiewicz <misiek@pld.org.pl>
fi
fi
-# Load sound modules iff they need persistent DMA buffers
+# Load sound modules if they need persistent DMA buffers
if grep -q "options sound dmabuf=1" /etc/modules.conf 2>/dev/null ; then
RETURN=0
alias=$(/sbin/modprobe -c | egrep -s "^alias[[:space:]]+sound[[:space:]]+" | awk '{ print $3 }')
strncpy(ifr.ifr_name, device, sizeof(ifr.ifr_name) - 1);
ifr.ifr_name[sizeof(ifr.ifr_name) - 1] = '\0';
- /* We return TRUE iff the ioctl succeeded and the interface is UP. */
+ /* We return TRUE if the ioctl succeeded and the interface is UP. */
if (ioctl(sock, SIOCGIFFLAGS, &ifr) == -1) {
retcode = FALSE;
} else if (ifr.ifr_flags & IFF_UP) {
goto end;
}
-/* Write the current contents iff modified. Returns -1 on error
+/* Write the current contents if modified. Returns -1 on error
* and 0 on success. Do not write if no values have been modified.
* The mode argument is only used if creating the file, not if
* re-writing an existing file, and is passed unchanged to the
svSetValue(shvarFile *s, const char *key, const char *value);
-/* Write the current contents iff modified. Returns -1 on error
+/* Write the current contents if modified. Returns -1 on error
* and 0 on success. Do not write if no values have been modified.
* The mode argument is only used if creating the file, not if
* re-writing an existing file, and is passed unchanged to the