[Gergely Nagy] > The change introduced in sysvinit 2.88dsf-50, which turns > /etc/init.d/skeleton into a script that has /lib/init/init-d-script > as interpreter fails on kFreeBSD, because on that platform, > interpreters cannot be other scripts.
Oh. I tested on Linux and Hurd, and did not imagine that kFreeBSD was that different from these two. :) > If you want to do this kind of thing, you will either need a binary > wrapper at least on kFreeBSD, or you'll need to use sourcing. Right. Back to the drawing board. :) Can you test this construct instead of #!/lib/init/init-d-script: #!/bin/sh if [ true != "$INIT_D_SCRIPT_SOURCED" ] ; then set $0 $@; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script fi -- Happy hacking Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org