RE: [PATCH] ibacm: Fixes to ACM package to support distros

Hefty, Sean
2012-04-06T04:35:28Z

> In this instance you need to have configure variable substitute your
> init script as well. You should not manipulate PATH from an init.d
> script, and you should use an absolute path to the daemon to avoid
> contamination from the invoking user's environment.

This is exactly what I wanted to do...

> So you want:
>
> %prefix$/bin/IBACM_BIN -foo

In other places, I used sbindir. But when I try to use that in the init script, I end up with something like this

${exec_prefix}/sbin/ibacm

in the final init script, which doesn't actually work. I can get @prefix@/sbin to work, but that seems less flexible.

- Sean