install: remove old scrypted fstab when passing directory

This commit is contained in:
Koushik Dutta
2024-02-06 19:44:50 -08:00
parent 911e56f6fc
commit 370401f034

View File

@@ -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