summaryrefslogtreecommitdiff
path: root/personal-pkgs-repo/files/updater.lua
blob: 859c7800eed1b9bfaa9b5ede65c1d0b7de5afe62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
local board
if model:match('[Oo]mnia') then
	board = "omnia"
elseif model:match('^[Tt]urris$') then
	board = "turris"
else
	DIE("Unsupported board!")
end

Repository("personal-pkgs", "https://cynerd.cz/repo/openwrt/" .. board, {
	pubkey = "file:///etc/updater/keys/personal-pkgs.pub",
	ocsp = false
})

Install("personal-pkgs-repo")
Package("personal-pkgs-repo", { replan = "finished" })

Install("shellrc-zsh", "shellrc-ash")