diff options
Diffstat (limited to 'updater.lua')
-rw-r--r-- | updater.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/updater.lua b/updater.lua index 011abab..7308ab3 100644 --- a/updater.lua +++ b/updater.lua @@ -32,27 +32,27 @@ Package("personal-pkgs-repo", { replan = "finished" }) local tools = false local vpn = false local bigclown = false -local sentinel = false +local public = false uci_cursor:foreach("system", "system", function(s) hostname = s['hostname'] end) if hostname == "turris-prague" then tools = true vpn = true bigclown = true - sentinel = true + public = true Install("6to4") Install("etherwake") elseif hostname == "turris-home" then tools = true vpn = true - sentinel = true + public = true Install("transmission-daemon") elseif hostname:match("-home$") then tools = true elseif hostname == "turris-adamkovi" then tools = true vpn = true - sentinel = true + public = true Install("etherwake") elseif hostname:match("^work-") then tools = true @@ -77,6 +77,6 @@ if bigclown then Install("mosquitto", "mosquitto-client") Install("bigclown-leds") end -if sentinel then - Install("personal-enabler-sentinel") +if public then + Install("personal-enabler-sentinel", "personal-enabler-public-ssh") end |