From 5289cfce33a7fc497283058ede36bbbf9c290564 Mon Sep 17 00:00:00 2001 From: Derek Kaser Date: Wed, 1 Nov 2023 13:19:22 -0400 Subject: [PATCH] clientupdate: disable on Unraid (#10048) * clientupdate: disable on Unraid Updates dkaser/unraid-tailscale#94 Signed-off-by: Derek Kaser * Update clientupdate/clientupdate.go Signed-off-by: Andrew Lytvynov --------- Signed-off-by: Derek Kaser Signed-off-by: Andrew Lytvynov Co-authored-by: Andrew Lytvynov --- clientupdate/clientupdate.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/clientupdate/clientupdate.go b/clientupdate/clientupdate.go index 79cc43aad..2067cb4bb 100644 --- a/clientupdate/clientupdate.go +++ b/clientupdate/clientupdate.go @@ -175,6 +175,11 @@ func (up *Updater) getUpdateFunction() (fn updateFunction, canAutoUpdate bool) { return up.updateLinuxBinary, true case distro.Alpine: return up.updateAlpineLike, true + case distro.Unraid: + // Unraid runs from memory, updates must be installed via the Unraid + // plugin manager to be persistent. + // TODO(awly): implement Unraid updates using the 'plugin' CLI. + return nil, false } switch { case haveExecutable("pacman"):