Safely shutting down and restarting the NAS box.
Due to the use of a swap file, the normal methods of shutting down and restarting the NAS box (pressing the power button on the front and using D-Link's web GUI) can not be used safely.
Instead:
Shutting down safely
To shut down safely, log in via SSH (requires that your public key is on the NAS box) and run the command:
Code: Select all
/home/admin/shutdown.sh
Rebooting safely
To reboot safely, log in via SSH and run the command:
Code: Select all
/home/admin/reboot.sh