projects
/
rrq
/
rrqnet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2df8ce0
)
allow logging without -v
author
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Thu, 29 Sep 2022 05:52:28 +0000
(15:52 +1000)
committer
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Thu, 29 Sep 2022 05:52:28 +0000
(15:52 +1000)
rrqnet-ifupdown.sh
patch
|
blob
|
history
diff --git
a/rrqnet-ifupdown.sh
b/rrqnet-ifupdown.sh
index 4c6ce4dfadf314e8f2a39c0471e9f32bcb5e7e7c..99e45df714d73a79037fea62b5a9357368b270a0 100755
(executable)
--- a/
rrqnet-ifupdown.sh
+++ b/
rrqnet-ifupdown.sh
@@
-86,8
+86,9
@@
start_cable_pre_up() {
$RRQDAEMON $IF_RRQNET_OPTIONS \
$TAP $IF_RRQNET_PORT $IF_RRQNET_REMOTE
else
- daemon -U -r -a 10 -n $NAME -E "${IF_RRQNET_LOG#* }" -- \
- $RRQDAEMON ${IF_RRQNET_LOG%% *} $IF_RRQNET_OPTIONS \
+ LOG=${IF_RRQNET_LOG#* }
+ daemon -U -r -a 10 -n $NAME -E "$LOG" -- \
+ $RRQDAEMON ${IF_RRQNET_LOG%$LOG} $IF_RRQNET_OPTIONS \
$TAP $IF_RRQNET_PORT $IF_RRQNET_REMOTE
fi
}