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:
caabee3
)
fix to also gain standard broadcast
author
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Mon, 22 Jun 2020 14:10:20 +0000
(
00:10
+1000)
committer
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Mon, 22 Jun 2020 14:10:20 +0000
(
00:10
+1000)
rrqnet-cron.sh
patch
|
blob
|
history
diff --git
a/rrqnet-cron.sh
b/rrqnet-cron.sh
index 68d04e687db92ab0ebf3454000b01df310cd42c1..f92ad74c00daffaa6332f471239d4bf93ae4a7ae 100755
(executable)
--- a/
rrqnet-cron.sh
+++ b/
rrqnet-cron.sh
@@
-16,7
+16,7
@@
function start-cable() {
[ -z "$MAC" ] || ifconfig $TAP | grep -q "ether $MAC" || \
ifconfig $TAP hw ether $MAC
[ -z "$IP" ] || ip addr show dev $TAP | grep -q $IP || \
- i
p addr add $IP dev $TAP
+ i
fconfig $TAP $IP up
[ -z "$BR" ] || brctl show | grep -q $TAP || \
brctl addif $BR $TAP
exec $RRQNET $VERBOSE -4 ${OPTIONS[@]} -t $TAP $PORT ${VPN[@]}