############################################################
## The action functions
-QUIRK=
-LOGFLAG=
-LOGFILE=
-#function
-process_logoption() {
- if [ -n "${1##-v*}" ] ; then
- QUIRK="$1"
- shift
- fi
- LOGFLAG="$1"
- LOGFILE="$2"
-}
-
#function
start_cable_pre_up() {
local TAP
fi
[ -z "$IF_RRQNET_NICE" ] || \
RRQDAEMON="/usr/bin/nice -n $IF_RRQNET_NICE $RRQDAEMON"
- process_logoption ${IF_RRQNET_LOG}
- if [ -z "$LOGFILE" ] ; then
+ if [ -z "$IF_RRQNET_LOG" ] ; then
daemon -U -r -a 10 -n $NAME -- \
- $RRQDAEMON $QUIRK $IF_RRQNET_OPTIONS \
+ $RRQDAEMON $IF_RRQNET_OPTIONS \
$TAP $IF_RRQNET_PORT $IF_RRQNET_REMOTE
else
- daemon -U -r -a 10 -n $NAME -E "$LOGFILE" -- \
- $RRQDAEMON $QUIRK $LOGFLAG $IF_RRQNET_OPTIONS \
+ daemon -U -r -a 10 -n $NAME -E "${IF_RRQNET_LOG#* }" -- \
+ $RRQDAEMON ${IF_RRQNET_LOG%% *} $IF_RRQNET_OPTIONS \
$TAP $IF_RRQNET_PORT $IF_RRQNET_REMOTE
fi
}
*rrqnet_options* _options_::
This IFACE option is used for declaring any additional +rrqnet+ daemon
-settings ([-4] [-B n] [-T n] [-m mcast]). Refer to the +rrqnet+ man
-page for the full specification.
+settings ([-tpg] [-4] [-B n] [-T n] [-m mcast]). Refer to the +rrqnet+
+man page for the full specification.
*rrqnet_log* _level_ _pathname_::