Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Regarding init scripts
06-08-2012, 10:04 AM
Post: #1
Regarding init scripts
I made a package for Dropbear and put it up on my repository. I had to modify the init script (/etc/rc.d/dropbear) to work around the unavailability of /etc/rc.d/functions file. I wouldn't mind hearing opinions on the inclusion of /etc/rc.d/functions (source here), as it would help the creation of init scripts and other packages that require it. It doesn't interfere with the core of Delicate, but simply helps handing services. More info here.
Find all posts by this user
Quote this message in a reply
06-08-2012, 12:31 PM
Post: #2
RE: Regarding init scripts
First, think it's great that you have Dropbear working and packaged.

Haven't looked into the rc.d stuff much yet so I don't think I'm much help on this. At some point, I think I'll need to look at alsa and possibly firewall set-up with regard to init scripts, but haven't had time at this point. I did find some Linux From Scratch examples that might give some ideas on functionality to add:
http://www.linuxfromscratch.org/lfs/view...pds03.html
http://www.linuxfromscratch.org/lfs/view...pds02.html
Also some information on LSB standards is mentioned at these links:
http://refspecs.linuxbase.org/LSB_3.1.1/...tfunc.html
http://snow.nl/dist/htmlc/ch02.html
Find all posts by this user
Quote this message in a reply
06-08-2012, 08:26 PM
Post: #3
RE: Regarding init scripts
(06-08-2012 12:31 PM)lmemsm Wrote:  http://www.linuxfromscratch.org/lfs/view...pds03.html
http://www.linuxfromscratch.org/lfs/view...pds02.html
Also some information on LSB standards is mentioned at these links:
http://refspecs.linuxbase.org/LSB_3.1.1/...tfunc.html
http://snow.nl/dist/htmlc/ch02.html

This is exactly what I was after, anything regarding daemonizing. Most init scripts that I have encountered have not used any of these functions, but could definitely benefit from them. And also to keep a standard among the scripts. Anyway, great resouces there.
Find all posts by this user
Quote this message in a reply
06-22-2012, 10:32 PM (This post was last modified: 06-22-2012 10:32 PM by tavvva.)
Post: #4
RE: Regarding init scripts
You're right .... our solution is ancient .... it was taken from DeLi as is ... If you're sure the functions script would work for all initscripts, then I'll be happy to introduce it ... I just wanted to introduce something like starting of the services in the right order and that would need all headers to be altered a bit anyway ...
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | DeLi(cate) Linux | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication