[OpenWrt-Devel] how to stop a inittab service without reboot

Claudio Thomas ct at xmodus-systems.de
Wed Oct 21 03:24:56 EDT 2015


what would be the difference when starting such a "service" as normal
init.d-script or procd-init-script, instead of as entry in inittab?
As far as I remember the procd-init-script has also a "respawn" option,
so that procd should also restart the service in case it stops...

Has inittab a higher prio or is inittab simply the oldest way of
starting a service?

Thanks,
Claudio
 
On 19.10.2015 11:28, John Crispin wrote:
> there is no dynamic reload feature for this in procd yet
>
>
> On 19/10/2015 11:20, Claudio Thomas wrote:
>> Hi,
>> on my /etc/inittab I've the following line
>>
>>    ttyQE1::askfirst:/bin/ash --login
>>
>> I've already removed the line and killed the process, but its restarts
>> again.
>>
>> I know that commenting it out and rebooting is a way to stop this
>> "service", but is there a way to stop it without rebooting? Like
>> something that would reload a changed /etc/inittab?
>>
>> Best Regards,
>> Claudio
>>
>> -- 
>> Working on OpenWrt CC for Xmodus GSM Router XM1710E
>> <http://www.xmodus-systems.de/openwrt>
>>
>>
>> _______________________________________________
>> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20151021/c76528ee/attachment.htm>
-------------- next part --------------
_______________________________________________
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