start_cable_pre_up() {
configure_tap_up || return 1
configure_tap_bridge || return 1
+ [ -z "$IF_RRQNET_RENICE" ] || \
+ RRQDAEMON="/usr/bin/nice -n $IF_RRQNET_RENICE $RRQDAEMON"
if [ -z "$IF_RRQNET_LOG" ] ; then
daemon -U -r -n $NAME -- \
$RRQDAEMON $IF_RRQNET_OPTIONS \
$RRQDAEMON ${IF_RRQNET_LOG%% *} $IF_RRQNET_OPTIONS \
-t $IFACE $IF_RRQNET_PORT $IF_RRQNET_REMOTE
fi
- CHPID="$(cat /var/run/$NAME)"
- [ -z "$RRQNET_RENICE" ] || [ -z "$CHPID" ] || \
- renice -n "$RRQNET_RENICE" "$CHPID"
}
#function