mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-15 20:52:53 +08:00
update 2026-10-29 11:59:06
This commit is contained in:
1 parent
bc85557d34
commit
e2f86e09f4
5033 files changed
-2043160
No files matched your search
@@ -1,7 +0,0 @@
|
||||
config ghfu 'main'
|
||||
option github_repo 'smallprogram/OpenWrtAction'
|
||||
option selected_release ''
|
||||
option keep_config '1'
|
||||
option fetch_timeout '15'
|
||||
option filter_ext_enabled '1'
|
||||
option valid_extensions '.img .img.gz .bin .tar .itb .trx .chk .dlf .ari'
|
||||
@@ -1,19 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
uci -q get ghfu.main >/dev/null || {
|
||||
uci -q batch <<EOF
|
||||
set ghfu.main=ghfu
|
||||
set ghfu.main.github_repo='smallprogram/OpenWrtAction'
|
||||
set ghfu.main.selected_release=''
|
||||
set ghfu.main.keep_config='1'
|
||||
set ghfu.main.fetch_timeout='15'
|
||||
set ghfu.main.filter_ext_enabled='1'
|
||||
set ghfu.main.valid_extensions='.img .img.gz .bin .tar .itb .trx .chk .dlf .ari'
|
||||
EOF
|
||||
uci commit ghfu
|
||||
}
|
||||
|
||||
# Record firmware flash timestamp (recreated on every post-flash first boot)
|
||||
date +%s > /etc/ghfu_flash_epoch
|
||||
|
||||
exit 0
|
||||
Reference in new issue
Block a user