Style and typo.

This commit is contained in:
Roy Marples 2008-10-28 15:43:36 +00:00
parent aa991a3c99
commit 9ec6ff02bb

View File

@ -31,13 +31,13 @@ ifplugd_pre_start()
for f in bond bridge tuntap vlan wireless; do for f in bond bridge tuntap vlan wireless; do
if type "_is_${f}" >/dev/null 2>&1; then if type "_is_${f}" >/dev/null 2>&1; then
if _is_${f}; then if _is_${f}; then
veinfo "netplug does not work with" "${f}" veinfo "ifplugd does not work with ${f}"
return 0 return 0
fi fi
fi fi
done done
ebegin "Starting ifplugd on" "${IFACE}" ebegin "Starting ifplugd on ${IFACE}"
eval args=\$ifplugd_${IFVAR} eval args=\$ifplugd_${IFVAR}
@ -47,7 +47,7 @@ ifplugd_pre_start()
# Start ifplugd # Start ifplugd
eval start-stop-daemon --start --exec /usr/sbin/ifplugd \ eval start-stop-daemon --start --exec /usr/sbin/ifplugd \
--pidfile "${pidfile}" -- "${args}" --iface="${IFACE}" --pidfile "${pidfile}" -- "${args}" --iface="${IFACE}"
eend "$?" || return 1 eend $? || return 1
eindent eindent
@ -85,7 +85,7 @@ ifplugd_stop()
local pidfile="/var/run/ifplugd.${IFACE}.pid" local pidfile="/var/run/ifplugd.${IFACE}.pid"
[ ! -e "${pidfile}" ] && return 0 [ ! -e "${pidfile}" ] && return 0
ebegin "Stopping ifplugd on" "${IFACE}" ebegin "Stopping ifplugd on ${IFACE}"
start-stop-daemon --stop --quiet --exec /usr/sbin/ifplugd \ start-stop-daemon --stop --quiet --exec /usr/sbin/ifplugd \
--pidfile "${pidfile}" --signal QUIT --pidfile "${pidfile}" --signal QUIT
eend $? eend $?