diff --git a/sysmngr/files/etc/init.d/sysmngr b/sysmngr/files/etc/init.d/sysmngr index 24e77c948..434f01664 100644 --- a/sysmngr/files/etc/init.d/sysmngr +++ b/sysmngr/files/etc/init.d/sysmngr @@ -1,10 +1,19 @@ #!/bin/sh /etc/rc.common -START=15 +START=12 STOP=8 USE_PROCD=1 PROG=/usr/sbin/sysmngr +RESET_REASON="/etc/sysmngr/reset_reason" + +boot() +{ + if [ -x "${RESET_REASON}" ]; then + eval ${RESET_REASON} + fi + start +} start_service() {