You can modify the file “/etc/rc.button/reset” to achieve.