rblythe wrote: > After viewing the hplip script, I realized that it does not look like > the blfs bootscripts at all. I believe this is my problem. I have > never written scripts like these before, but my thinking is this: I am > going to use the cups bootscript as a template to create a blfs > compatible hplip bootscript.
The template script was designed just for this purpose and might be easier to use. Just make two sections in the start, stop, reload, and status cases. You won't need to mess with restart. Use loadproc if possible as it call evaluate_retval to print the [ok,warn,failed] messages. I don't have the hplip script handy to see exactly what is needed, but just for instance: start) boot_mesg "Starting HPLIP HSIOD..." loadproc /usr/bin/hsiod #Add any needed options boot_mesg "Starting HPLIP HPSSD..." loadproc /usr/bin/hpssd #Add any needed options ;; HTH -- DJ Lucas -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page