Hibernate a WD EX2 Ultra via SSH

Hi!
The above question is still puzzling me, because Wake-On LAN (WOL) only works, if the hibernation is executed via the web GUI.
If I use any ssh command (inside a bat file via plink (from putty)) to hibernate the system (usr/sbin/shutdown.sh (with and without parameters), halt, shutdown, etc.*)), WOL doesn’t work anymore.
*) I believe a script (like shutdown.sh) should be used instead of poweroff, halt commands as this unmounts the drives etc.
MyCloud Version is 5.08.115 and I cannot find cgi_shutdown on my system…
PS: as recommended in About SSH "poweroff" command
SSH command: /usr/local/modules/script/shutdown.sh -h now doesn’t work…

1 Like