In sourcecode file sysd-3.0+svnr5463\sysd\src\system.c, there are commands for shutdown, so someone just needs to compile some of those commands together. The initial command appears to be 'do_poweroff(), and it triggers a bunch of processes like to shutdown the inputs, unmount storage, and etc before the final "shutdown -h now".
This part is most interesting:
Code:
void sys_standby(void)
{
LOGPRINTF("entry");
// shutdown completely when standby switch is toggled during first boot of the device
if (conf_get_first_boot() && (device_state == STATE_DEVICE_STARTING))
{
busy_add_background(0);
sys_spawn_sync("shutdown -h now");
return;
}
It's saying that during the first boot of the device, flicking the standby switch will shutdown the device. I guess it's also worth a try to reboot the device and see if flicking the switch again during startup does anything. If not, then one needs to trick the device into thinking it's starting for the first time and then try again.
Note that the sourcecode is for both the dr800 and dr1000 so some things may only be implemented on one device.