I boot a WD EX2 Ultra using WOL.
On My Cloud OS 3 i shut down the device via REST command (http://localhost/api/@REST_API_VERSION/rest/shutdown)
Was the REST API removed in OS 5 ?
Under OS 5 i found script /opt/wd/sbin/send_pending_shutdown.sh - is this the correct script to shutdown (hibernate) the device (works fine using option -s 0) via ssh - or should i use shutdown.sh ?
Which script exactly is executed if i click on “Hibernate” on UI ?