On 06/06/12 09:57, Mark Rogers wrote:
Looking at the script, all it needed was some helper scripts for copying scripts into the right directories and setting their permissions, and for installing an init.d script. Doing this manually without lsb was pretty trivial, although bearing in mind that I had already done the full install (then uninstall) on this system it may be that I'm missing something that was done by the original install, so I won't know for sure until I try again on a clean box.
I've now tried it on a clean box, albeit based on an x86 chip, and a simple script to cp and chmod the files to their correct locations seems to have worked fine.
The only bit I'm unsure of is the "correct" way to install an init.d startup script; copying the file into /etc/init.d and running it works, but obviously that won't auto-start on power-up. Lurking in the back of my brain I recall using chkconfig or update-rc.d but that's not installed on my ARM (Debian 6) box, what should I use instead? Or should I just create the symlinks manually?