From 370401f0344b691b97a2e64fffb174fce451e784 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Tue, 6 Feb 2024 19:44:50 -0800 Subject: [PATCH] install: remove old scrypted fstab when passing directory --- install/docker/setup-scrypted-nvr-volume.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/docker/setup-scrypted-nvr-volume.sh b/install/docker/setup-scrypted-nvr-volume.sh index 86ed65474..abfd887d8 100644 --- a/install/docker/setup-scrypted-nvr-volume.sh +++ b/install/docker/setup-scrypted-nvr-volume.sh @@ -67,7 +67,7 @@ function stopscrypted() { docker compose down } -function removefstab() { +function removescryptedfstab() { backup "/etc/fstab" grep -v "scrypted-nvr" /etc/fstab > /tmp/fstab && cp /tmp/fstab /etc/fstab # ensure newline