-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #66 from izhdahawrt/izhdahawrt-wrtfocus
RFC: proposing new openwrt package
- Loading branch information
Showing
57 changed files
with
317 additions
and
61 deletions.
There are no files selected for viewing
This file contains 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 was deleted.
Oops, something went wrong.
This file contains 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,4 @@ | ||
config hiddify 'main' | ||
option enabled '0' | ||
option config '/config/file/or/sublink' | ||
option appconfig '/etc/hiddify/appconfig.json' |
This file contains 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,27 @@ | ||
#!/bin/sh /etc/rc.common | ||
|
||
USE_PROCD=1 | ||
START=99 | ||
|
||
NAME="hiddify" | ||
PROG="/usr/bin/hiddify-cli" | ||
|
||
|
||
start_service() { | ||
config_load "$NAME" | ||
|
||
local enabled config appconfig | ||
config_get_bool enabled "main" "enabled" "0" | ||
[ "$enabled" -eq "1" ] || return 0 | ||
|
||
config_get config "main" "config" | ||
config_get appconfig "main" "appconfig" | ||
args="" | ||
args="$args run -c $config -d $appconfig" | ||
procd_open_instance | ||
procd_set_param command $PROG $args | ||
# procd_set_param stdout 1 | ||
# procd_set_param stderr 1 | ||
procd_set_param respawn | ||
procd_close_instance | ||
} |
This file contains 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 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 @@ | ||
yacd.metacubex.one |
This file contains 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,12 @@ | ||
# for netlify hosting | ||
# https://docs.netlify.com/routing/headers/#syntax-for-the-headers-file | ||
|
||
/* | ||
X-Frame-Options: DENY | ||
X-XSS-Protection: 1; mode=block | ||
X-Content-Type-Options: nosniff | ||
Referrer-Policy: same-origin | ||
/*.css | ||
Cache-Control: public, max-age=31536000, immutable | ||
/*.js | ||
Cache-Control: public, max-age=31536000, immutable |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.