aboutsummaryrefslogtreecommitdiff
path: root/myrepo/files/updater.lua
blob: b9946c0443d99d21619c82aad5ee1ca9bbbe6ce1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
local board
if model:match('[Oo]mnia') then
	board = "omnia"
else
	board = "turris"
end

Script("myrepo", "http://cynerd.cz/myrepo/" .. board .. ".lua", {
	pubkey = "file:///etc/updater/keys/myrepo.pub"
})

Install("myrepo")