If hard drives have been mounted via https://szaimen.github.io/Nextcloud-NAS-Guide/docs/mount-hdd and are no longer to be permanently connected to the server, the following two changes must be made:
-
Under “nano /var/scripts/veracrypt-automount.sh,” the corresponding seven lines from “if !” to “fi” must be commented out with “#” or deleted, otherwise the server will go into maintenance mode when rebooted and the hard drives listed below will no longer be mounted automatically.
-
If there is an entry “@reboot /var/scripts/is-drive-connected.sh ‘XXXXX’ >/dev/null” under “crontab -e”, it must be deleted or commented out with “#”.
If hard drives have been mounted via https://szaimen.github.io/Nextcloud-NAS-Guide/docs/mount-hdd and are no longer to be permanently connected to the server, the following two changes must be made:
Under “nano /var/scripts/veracrypt-automount.sh,” the corresponding seven lines from “if !” to “fi” must be commented out with “#” or deleted, otherwise the server will go into maintenance mode when rebooted and the hard drives listed below will no longer be mounted automatically.
If there is an entry “@reboot /var/scripts/is-drive-connected.sh ‘XXXXX’ >/dev/null” under “crontab -e”, it must be deleted or commented out with “#”.