From: Joe P. <joe...@sn...> - 2000-12-24 03:58:58
|
On Thursday 21 December 2000 23:05, Timothy Lee wrote: > > First off, Dag, sorry about the HTML format. > > I've made some changes to the script, and this time I'm including it as > an attachment > -- hope that solves the problem. Timothy: Thanks for making the changes to your script. It looks better now, but I think I see a (minor) problem with the expected file locations. If the script were being installed as part of a redhat distribution, the expected locations would be correct, but to be in compliance with the filesystem hierarchy standard, user installed apps should go under /usr/local. http://www.pathname.com/fhs/2.0/fhs-4.6.html It should be easy enough to create symlinks during the install though, so it might not be a big deal. Re your SRPM - can you make it relocatable? >Guess I'll stick to text format with > this list just so everyone could read the stuff... <grin> My thanks for that too. > The script now checks for ptal-printd and the config file before > launching the daemon and reporting success. It's hard to check for > errors because the daemon doesn't fork itself and return. (Maybe it's a > feature David will consider adding??? <grin>) You can check if the process got a PID, but that really isn't the best solution. I think David will consider additions to ptal-printd, but we'll have to wait for his reply. The hpoj project is still in its infancy, really. There are many improvements to be made before it approaches the usefulness of the windows officejet software. > The script was written with root in mind: to make administrating the > system easier. It doesn't stop the user from running a local copy of > the darmon. (But it *will* kill all daemons when stopped.) It should work well for that purpose. -- Joe |