mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
sysmngr: run reset_reason if present
This commit is contained in:
parent
2c9a35eb8c
commit
b087faf6b9
1 changed files with 10 additions and 1 deletions
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue