add noninteractive option

This commit is contained in:
Zsolt Ero
2024-09-12 11:44:23 +02:00
parent 33cb06c7a1
commit f5a7b00256
4 changed files with 20 additions and 13 deletions

View File

@@ -20,7 +20,7 @@ def auto_mount():
if not config.runs_dir.exists():
sys.exit(' download-btrfs needs to be run first')
clean_up_mounts(config.mnt_dir)
# clean_up_mounts(config.mnt_dir) # disabling, as it can be in use before the nginx sync works
create_fstab()
print(' running mount -a')