On 04/29/2013 05:15 AM, Alice Wonder wrote: > I'm very tempted to try to write something similar to chkconfig but in > Python, primary motive for me is something to have in RPM scriptlets. > > But before I do, is there already something? Well, obviously there's > chkconfig but the two versions I know of are compiled (overkill) and a > perl version that apparently is overly complex (I think part of > SuSE ??). > > Also, before I do, does it look like LFS is sticking with SystemV init > (my preference) opposed to systemd? I prefer SystemV init but that's > mostly because lately my short term memory isn't so good, and thus it's > hard to learn a new system ;) > > If I do write my own, my goal is to try to make it more or less > universal (no need to make special headers in the init script) but have > it potentially use headers (like the dependency part of LFS init script > headers) if they exist. >
What about writing it using lua, then it would fit better into rpm as rpm has an internal lua interpreter. I have just looked at the language as I have the book Beginning Lua programming and I am impressed at what it can do. -- http://linuxfromscratch.org/mailman/listinfo/lfs-chat FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
