Commit ce2ea749 authored by nanahira's avatar nanahira

fix

parent a15aafed
Pipeline #774 passed with stages
in 6 minutes and 7 seconds
......@@ -5,7 +5,7 @@
while :
do
LOCAL_IP=$(ip addr show dev brtr069 | grep 'inet ' | awk '{print $2}')
LOCAL_IP=$(ip addr show dev $TRO69_INTERFACE | grep 'inet ' | awk '{print $2}')
GATEWAY=$(subnetcalc $LOCAL_IP -n | grep "Host Range" | awk '{print $5}')
ROUTE_TXT="default via $GATEWAY dev $TRO69_INTERFACE table $TABLE"
echo "$ROUTE_TXT"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment