[OpenWrt-Devel] "Runlevel" support for procd

John Crispin blogic at openwrt.org
Tue Jul 29 11:59:43 EDT 2014


please explain the use case that this will solve.

at the time of design we decided to not support run levels as we had no
valid uses cases that required run levels


On 29/07/2014 17:06, Matthias Schiffer wrote:
> Hi,
> I'd like to add a feature similar to runlevels to procd; I don't need
> switching at runtime though. So far my plan is to make the following
> three changes:
>
> * Allow reading sysinit initscipts from a different directory than
> /etc/rc.d (maybe by adding a third parameter to the runrc handler?)
>
> * Allow specifying an alternative inittab on the procd cmdline
>
> * Allow providing cmdline arguments for procd from preinit (through a
> file in /tmp like debug_level?)
>
> Any comments?
>
>
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list