mirror of
https://github.com/koush/scrypted.git
synced 2026-09-17 17:20:39 +01:00
install: remove old scrypted fstab when passing directory
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user