@@ -133,7 +133,7 @@
;;
esac
fi
- for ${IFACE} in ${NPROBE_IFACE} ; do
+ for IFACE in ${NPROBE_IFACE} ; do
echo -n "instance on interface ${IFACE} "
/sbin/startproc $NPROBE_BIN -g /var/run/nprobe/nprobe-${IFACE}.pid -i ${IFACE} ${NF_VERSION} ${COLLECTOR_OPTS} ${NPROBE_OPTS}
rc_status -v
@@ -188,7 +188,7 @@
# 5--199 reserved (5--99 LSB, 100--149 distro, 150--199 appl.)
# NOTE: checkproc returns LSB compliant status values.
- for ${IFACE} in ${NPROBE_IFACE} ; do
+ for IFACE in ${NPROBE_IFACE} ; do
echo -n "instance on interface ${IFACE} "
/sbin/checkproc -p /var/run/nprobe/nprobe-${IFACE}.pid $NPROBE_BIN
rc_status -v
@@ -198,7 +198,7 @@
## Optional: Probe for the necessity of a reload, print out the
## argument to this init script which is required for a reload.
## Note: probe is not (yet) part of LSB (as of 1.9)
- for ${IFACE} in ${NPROBE_IFACE} ; do
+ for IFACE in ${NPROBE_IFACE} ; do
test /etc/sysconfig/nprobe -nt /var/run/nprobe/nprobe-${IFACE}.pid && echo reload
done
;;
|