[Pkg-sysvinit-devel] Bug#739604: sysvinit: The new skeleton does not work on kFreeBSD
algernon at balabit.hu
Thu Feb 20 11:37:32 UTC 2014
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.
,----[ test.sh ]
On linux, running ./test.sh prints the usage. On kFreeBSD (as tested
locally and on falla.d.o), it prints nothing, because the #! line will
be ignored, it being a script and all.
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.
More information about the Pkg-sysvinit-devel