I boot a WD EX2 Ultra using WOL.
But how to properly hibernate a WD EX2 Ultra via SSH ?
There a multiple ways suggested in the forum:
- command poweroff
- command halt
- command shutdown
- execute script shutdown.sh
- via REST (http://localhost/api/@REST_API_VERSION/rest/shutdown)
Which script exactly is executed if i click on “Hibernate” on UI ?
update: looked into code and via ui i think “cgi_shutdown” is called … but found no source for it as is an elf file.