diff options
author | Karel Kočí <karel.koci@nic.cz> | 2017-11-06 08:23:58 +0100 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2017-11-06 09:57:23 +0100 |
commit | 0bcdf73271be4a4f9ca8c849c426b521365dcf30 (patch) | |
tree | 375234b57dff8c845bdd8c5c925c3760f3b83a5e /myrepo/files/updater.lua | |
parent | 7e3c1561d5dd5e03926aab60b81c62c8b728cac4 (diff) | |
download | turris-myrepo-0bcdf73271be4a4f9ca8c849c426b521365dcf30.tar.gz turris-myrepo-0bcdf73271be4a4f9ca8c849c426b521365dcf30.tar.bz2 turris-myrepo-0bcdf73271be4a4f9ca8c849c426b521365dcf30.zip |
Rename myrepo-cert to just myrepo
Diffstat (limited to 'myrepo/files/updater.lua')
-rw-r--r-- | myrepo/files/updater.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/myrepo/files/updater.lua b/myrepo/files/updater.lua new file mode 100644 index 0000000..b9946c0 --- /dev/null +++ b/myrepo/files/updater.lua @@ -0,0 +1,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") |