-
Notifications
You must be signed in to change notification settings - Fork 6
Add using hotplug, init.d and procd OpenWrt system. Do not more need … #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ilya-fedin
wants to merge
48
commits into
TTLMaster:master
Choose a base branch
from
ilya-fedin:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+487
−18
Open
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
5dabc4e
Add using hotplug, init.d and procd OpenWrt system. Do not more need …
ilya-fedin ad6b1a8
fixes and new features
ilya-fedin b273a7e
New files
ilya-fedin d66e8fa
readme fix
ilya-fedin 75455ef
readme fix
ilya-fedin 1f70e4c
readme fix
ilya-fedin cf5c087
readme fix
ilya-fedin 29f565a
readme fix
ilya-fedin 6c8fe6a
readme fix
ilya-fedin f15c681
readme fix
ilya-fedin bdc0aed
readme fix
ilya-fedin 4f305e3
readme fix
ilya-fedin db0800b
readme fix
ilya-fedin 533da43
readme fix
ilya-fedin 61fa47f
readme fix
ilya-fedin fb8db67
readme fix
ilya-fedin 250ddec
readme fix
ilya-fedin 55d51b2
readme fix
ilya-fedin a36c1a2
more info
ilya-fedin 5c869f9
for completion
ilya-fedin 68b5724
Scripts for Huawei HiLink, simplify scripts from @derlaft and ReadMe
ilya-fedin 7399cae
readme fix
ilya-fedin 4d1d306
readme fix
ilya-fedin d875a56
small update
ilya-fedin c33bc2d
add windows adb
ilya-fedin c550f90
fix windows scripts
ilya-fedin cb5f8e9
bugfix and mf910
ilya-fedin d48d6d3
Bugfix
ilya-fedin 6802ea5
mf910 in header
ilya-fedin 29fb366
And edit for linux...
ilya-fedin f329fa3
OpenWrt packges, uci integration and more...
ilya-fedin 410f486
probeport path fix
ilya-fedin 44ddacf
Add telnet support and small fixes
ilya-fedin 760b9de
Add ca-certificates as dependency
ilya-fedin 640fcca
Add support of static tty and small fixes
ilya-fedin d8e7339
small fix
ilya-fedin 4579196
small fix
ilya-fedin 6cc390b
more telnet reboot methods!
ilya-fedin 03d0cbc
send at commands without atc
ilya-fedin 006064e
small fix
ilya-fedin 0810327
add ttl configuration support
ilya-fedin 04db8fa
Prevent multiple downloads
ilya-fedin 48d9164
fix deps
ilya-fedin 829611d
fix deps
ilya-fedin b7bdf24
Small fixes
ilya-fedin bc1dcf8
restore files
ilya-fedin 743d834
fix tty detect
ilya-fedin 67d7a05
fix permissions
ilya-fedin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/sh /etc/rc.common | ||
|
||
START=19 | ||
VALUE="`uci -q get yota.@ttl[0].value`" | ||
MODE="`uci -q get yota.@ttl[0].mode`" | ||
|
||
start() { | ||
iptables -t mangle -N yotattl | ||
iptables -t mangle -A POSTROUTING -j yotattl | ||
iptables -t mangle -A yotattl -j TTL --ttl-$MODE $VALUE | ||
} | ||
|
||
stop() { | ||
iptables -t mangle -D POSTROUTING -j yotattl | ||
iptables -t mangle -F yotattl | ||
iptables -t mangle -X yotattl | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Какая-то задница. Так лучше не делать.
method=$(uci -q get yota.@reboot[0].method)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Почему? Они же индентичны...