FYI, chrisvcpp successfully implemented a software shutdown button in his Win2X firmware. When decompiling his Win2X, I cannot find any internal shell command for that action (other shell commands as rm, cp... can be easily found) as it seems to be some compiled code, a kind of hack I guess...