[FS#609] procd: implement runlevel 1

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Wed Nov 24 08:54:19 PST 2021


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#609 - procd: implement runlevel 1
User who did this - Stijn Tintel (stintel)

----------
https://git.openwrt.org/87b583635475c56ae5b8ec89233f6f292ba09765 implements this for the sysupgrade case. I will investigate if it makes sense to add it to the shutdown/reboot case:


diff --git a/state.c b/state.c
index fb81248..bf7557f 100644
--- a/state.c
+++ b/state.c
@@ -224,6 +224,7 @@ void procd_shutdown(int event)
        if (state >= STATE_SHUTDOWN)
                return;
        DEBUG(2, "Shutting down system with event %x\n", event);
+       service_stop_all();
        reboot_event = event;
        state = STATE_SHUTDOWN;
        state_enter();

----------

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=609#comment10342

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list