User Tools

Site Tools


qLinux
… a distribution study


<< Prev
Alternative Packages

Next >>
Svctools-0.77


Sinit-1.0

Download: sinit-1.0

Make the following changes to  config.mk 

PREFIX = /qlnx
MANPREFIX = $(PREFIX)/man
CC = gcc

Change the programs called in  config.def.h :

static char *const rcinitcmd[] = { "/qlnx/bin/rc.init", NULL };
static char *const rcrebootcmd[] = { "/qlnx/bin/rc.shutdown", "reboot", NULL };
static char *const rcpoweroffcmd[] = { "/qlnx/bin/rc.shutdown", "poweroff", NULL };

Build and install sinit

make
make install

Optional: rename sinit:

mv -v /qlnx/bin/sinit /qlnx/bin/init

<< Prev
Alternative Packages

Next >>
Svctools-0.77