projects
/
rrq
/
rrqnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
spelling
[rrq/rrqnet.git]
/
rrqnet-ifupdown.sh
diff --git
a/rrqnet-ifupdown.sh
b/rrqnet-ifupdown.sh
index 25517fab20f2c792af802f2f15cbe40872953aa9..336c46d4980b021ae8106fb0d46e15090b7e9984 100755
(executable)
--- a/
rrqnet-ifupdown.sh
+++ b/
rrqnet-ifupdown.sh
@@
-19,6
+19,7
@@
# An rrqnet stanza may have the following settings:
# rrqnet_port <port>
# An rrqnet stanza may have the following settings:
# rrqnet_port <port>
+# rrqnet_nice <nice>
# rrqnet_remote <remote declaration>
# rrqnet_options <options>
# rrqnet_log <level> <pathname>
# rrqnet_remote <remote declaration>
# rrqnet_options <options>
# rrqnet_log <level> <pathname>
@@
-44,6
+45,8
@@
configure_tap_up() {
start_cable_pre_up() {
configure_tap_up || return 1
configure_tap_bridge || return 1
start_cable_pre_up() {
configure_tap_up || return 1
configure_tap_bridge || return 1
+ [ -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 \
if [ -z "$IF_RRQNET_LOG" ] ; then
daemon -U -r -n $NAME -- \
$RRQDAEMON $IF_RRQNET_OPTIONS \