From c62437ec9a40277bb95357cdfc148ad43d7cc974 Mon Sep 17 00:00:00 2001 From: Ralph Ronnquist Date: Wed, 6 Jan 2021 19:11:33 +1100 Subject: [PATCH 1/1] changed "renice" to "nice" --- rrqnet-ifupdown.sh | 6 +++--- rrqnet-ifupdown.sh.8.adoc | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/rrqnet-ifupdown.sh b/rrqnet-ifupdown.sh index 2789695..336c46d 100755 --- a/rrqnet-ifupdown.sh +++ b/rrqnet-ifupdown.sh @@ -19,7 +19,7 @@ # An rrqnet stanza may have the following settings: # rrqnet_port -# rrqnet_renice +# rrqnet_nice # rrqnet_remote # rrqnet_options # rrqnet_log @@ -45,8 +45,8 @@ configure_tap_up() { 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" + [ -z "$IF_RRQNET_NICE" ] || \ + RRQDAEMON="/usr/bin/nice -n $IF_RRQNET_NICE $RRQDAEMON" if [ -z "$IF_RRQNET_LOG" ] ; then daemon -U -r -n $NAME -- \ $RRQDAEMON $IF_RRQNET_OPTIONS \ diff --git a/rrqnet-ifupdown.sh.8.adoc b/rrqnet-ifupdown.sh.8.adoc index 39fc4d0..b0301c9 100644 --- a/rrqnet-ifupdown.sh.8.adoc +++ b/rrqnet-ifupdown.sh.8.adoc @@ -45,10 +45,10 @@ This IFACE option is required both as way of marking that the stanza is for an +rrqnet+ virtual cable +tap+, and to declare which UDP port the +rrqnet+ daemon should listen on for incoming cabling. -*rrqnet_renice* _nice_:: +*rrqnet_nice* _nice_:: This IFACE option is used for adjusting the +rrqnet+ process -scheduling priority. Refer the +renice+ man page for full details. +scheduling priority. Refer the +nice+ man page for full details. *rrqnet_remote* _remote_:: -- 2.39.2