mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-15 04:32:52 +08:00
update 2026-11-04 05:27:41
This commit is contained in:
1 parent
0350fcc2e5
commit
1b82056d99
1124 files changed
+3
-574287
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