On Sat, 1 Dec 2018, Michael Biebl wrote: > I'd also be interested to know why > > #!/usr/bin/env /lib/init/init-d-script > is preferred over > #!/bin/sh /lib/init/init-d-script > given that init-d-script is *no* C implementation.
That’s easy: this way, the shebang at the start of /lib/init/init-d-script can, if needed, select a shell other than /bin/sh to be the interpreter, e.g. if shell-specific features need to be used. This will also make it easier to switch to a binary implementation later. bye, //mirabilos -- 15:41⎜<Lo-lan-do:#fusionforge> Somebody write a testsuite for helloworld :-)