Shutting down and rebooting from web interface

Holds topics that document the NAS box's features and any related procedures. Stuff in here should eventually make it into a specification or the user guide.
hamishmb
Posts: 1891
Joined: 16/05/2017, 16:41

Re: Shutting down and rebooting from web interface

Post by hamishmb »

Here's the snippet I'd add:

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
Once you are logged out, wait 2 minutes before removing power to complete the shutdown.

Rebooting safely

To reboot safely, log in via SSH and run the command:

Code: Select all

/home/admin/reboot.sh
The NAS box will log you out and it should have rebooted successfully in 2-3 minutes.
Hamish
hamishmb
Posts: 1891
Joined: 16/05/2017, 16:41

Re: Shutting down and rebooting from web interface

Post by hamishmb »

NB: For future reference, this was added to the installation spec.
Hamish
Post Reply