mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-15 04:32:52 +08:00
update 2026-10-27 11:22:48
This commit is contained in:
1 parent
a4d6470641
commit
63a5dffe55
4907 files changed
+2036791
No files matched your search
@@ -0,0 +1,7 @@
|
||||
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'
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
#!/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