From c49e88a9b2bf99b4a87df1886a7febc3eb522341 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C4=83rcziem=20=E2=84=A2?= <118485377+spalencsar@users.noreply.github.com> Date: Mon, 6 Oct 2025 11:08:07 +0200 Subject: [PATCH] Fix NFS service name for openSUSE - Use nfs-server.service instead of nfs-kernel-server.service - openSUSE uses different service naming for NFS --- lib/nfs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/nfs.sh b/lib/nfs.sh index 56447f5..45c6666 100644 --- a/lib/nfs.sh +++ b/lib/nfs.sh @@ -49,11 +49,11 @@ install_nfs() { # Start and enable NFS services case $DISTRO in - ubuntu|debian|opensuse) + ubuntu|debian) handle_error sudo systemctl enable nfs-kernel-server handle_error sudo systemctl start nfs-kernel-server ;; - fedora|arch) + fedora|arch|opensuse) handle_error sudo systemctl enable nfs-server handle_error sudo systemctl start nfs-server ;;