Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
T
tr069-daemon
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
tr069-daemon
Commits
ce2ea749
Commit
ce2ea749
authored
Jul 29, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a15aafed
Pipeline
#774
passed with stages
in 6 minutes and 7 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tr069-daemon.sh
tr069-daemon.sh
+1
-1
No files found.
tr069-daemon.sh
View file @
ce2ea749
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
while
:
while
:
do
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}'
)
GATEWAY
=
$(
subnetcalc
$LOCAL_IP
-n
|
grep
"Host Range"
|
awk
'{print $5}'
)
ROUTE_TXT
=
"default via
$GATEWAY
dev
$TRO69_INTERFACE
table
$TABLE
"
ROUTE_TXT
=
"default via
$GATEWAY
dev
$TRO69_INTERFACE
table
$TABLE
"
echo
"
$ROUTE_TXT
"
echo
"
$ROUTE_TXT
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment