Skip to content

Commit

Permalink
add help in fleth command
Browse files Browse the repository at this point in the history
  • Loading branch information
makeding committed Sep 29, 2024
1 parent 8ec1e9e commit 051cb3b
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3 deletions.
3 changes: 2 additions & 1 deletion readme-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@ https://qiita.com/site_u/items/b6d5097f5e3a0f91c95d
- `dslite.v6connect.net`
- ASAHIネット光
## MAP-E:
- `BIGLOBE`
- `BIGLOBE`(西日本 テスト済)
- `JPNE(v6プラス)`
- DMM光
- GMOとくとくBB
- enひかり
- ic-net光コース
- おてがる光
- So-net
- ぷらら(Sコース)(R.I.P.)
- `OCN` (R.I.P.)
- `NURO`
Expand Down
3 changes: 2 additions & 1 deletion readme-zhs.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,14 @@ https://qiita.com/site_u/items/b6d5097f5e3a0f91c95d
- `dslite.v6connect.net`
- ASAHIネット光
## MAP-E:
- `BIGLOBE`
- `BIGLOBE`(西日本 テスト済)
- `JPNE(v6プラス)`
- DMM光
- GMOとくとくBB
- enひかり
- ic-net光コース
- おてがる光
- So-net
- ぷらら(Sコース)(R.I.P.)
- `OCN` (R.I.P.)
- `NURO`
Expand Down
3 changes: 2 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,14 @@ https://qiita.com/site_u/items/b6d5097f5e3a0f91c95d
- `dslite.v6connect.net`
- ASAHIネット光
## MAP-E:
- `BIGLOBE`
- `BIGLOBE`(西日本 テスト済)
- `JPNE(v6プラス)`
- DMM光
- GMOとくとくBB
- enひかり
- ic-net光コース
- おてがる光
- So-net
- ぷらら(Sコース)(R.I.P.)
- `OCN` (R.I.P.)
- `NURO`
Expand Down
21 changes: 21 additions & 0 deletions root/usr/sbin/fleth
Original file line number Diff line number Diff line change
Expand Up @@ -306,4 +306,25 @@ elif [ "$h_IP6PREFIX_ENABLED" -eq 1 ] && [ "$1" = "ip6prefix" ]; then
if [ $TRIES -ge $MAX_TRIES ]; then
logger -t fleth "Failed to obtain a valid IPv6 address after $MAX_TRIES attempts."
fi
else
echo "Flet'h by huggy"
echo "Flet'h is a helper that can configure your IPv4 over IPv6 tunnel automatically."
echo ""
echo "Usage: $0 {auto|ip6prefix|status|mape_status|get_area|get_dslite_provider|hook_none.js|restore_none.js}"
echo "auto Automatically configure the network settings based on current state and config."
echo "status Show the current area and DS-Lite AFTR domain."
echo "ip6prefix Handle the IPv6 prefix process."
echo "mape_status Show the current MAP-E provider details."
echo "get_area Show the current area information."
echo "get_dslite_provider Show the current DS-Lite provider details."
echo "hook_none.js Install the fleth hook in none.js to hook port-forward page."
echo "restore_none.js Restore the none.js to its default state."
echo ""
echo "To modify settings, use:"
echo "uci show fleth.global"
echo "uci set fleth.global.enabled=1"
echo "uci commit"
echo ""
echo "For more details, consult the documentation:"
echo "https://fleth.huggy.moe/"
fi

0 comments on commit 051cb3b

Please sign in to comment.