I have a cubietruck (raspberry like) Linux server, which is powered by USB from a synology server. This unconventional setup has some reasons. The problem is now that when the synology server shuts down, power is cut from its USB ports. So the cubietruck is not shut down properly.
My question: Is it possible the synology server detects when a shutdown/reboot/… is imminent and sends a signal to the cubietruck? Or otherwise; cubietruck detects when the synology server is shutting down, so it can shutdown itself quickly?