Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: bigpcman on October 04, 2011, 06:20:28 PM

Title: How to add services to the control panel ?
Post by: bigpcman on October 04, 2011, 06:20:28 PM
How can additional services be added to the control panel services window? I would like to add vnc and samba such that they will be handled just like dropbear.
Title: Re: How to add services to the control panel ?
Post by: ixbrian on October 04, 2011, 10:38:47 PM
The scripts under /etc/init.d/services and /usr/local/etc/init.d are what shows up in the services GUI.    You would need to create a script that supports being called with the "start", "stop", and "status" parameters for it to work with the services GUI.   See the included scripts under /etc/init.d/services for dhcp and crond for examples of these scripts.