[2018-11-08 19:06] Michael Biebl <bi...@debian.org>
> Am 08.11.18 um 18:54 schrieb Ian Jackson:
> 
> > env(1) would be helpful here.  If your daemon is on /usr anyway then
> > it doesn't matter that it isn't in /bin.
> 
> /usr is mounted by the initramfs nowadays, so this wouldn't be an issue
> in practice.

I made some experiments on FreeBSD-11 virtual image. I believe for
puproses we discuss, it is as good, as Debian GNU/kFreeBSD.

 * Note in /etc/init.d/skeleton still holds true -- shell script can't
   be used as interpreter in #! of another script
 * Trick with #!/usr/bin/env /path/to/script works.

As such, I will update init-d-script(5) and it will close this bug.

Reply via email to