Szerző: Edward Bartolo Dátum: Címzett: dng Tárgy: Re: [DNG] Custom OS initiator. In need of some hints...
Hi,
On 14/06/2016, Irrwahn <irrwahn@???> wrote: > On Tue, 14 Jun 2016 10:47:02 +0200, Edward Bartolo wrote:
>> Hi,
>>
>> With some code editing to load a shell using the command system(), I
>> finally am using Felker's minimal init. In fact, I am posting this
>> through XFCE4 using Felker's minimal init.
>>
>
> Congratulations! :)
>
> Now, for a little bit more convenient system startup and
> (especially) shutdown, you should give sinit[1] a go. It's
> code is only slightly more elaborate, but much better suited
> for real-world application. I actually use it myself in a
> pet project of mine (a minimal libmusl-based non-GNU Linux
> system).
>
> [1] http://core.suckless.org/sinit >
> Regards
> Urban
>
I found using '/etc/init.d/rc 0' while felker's init is running does
an orderly shutdown.