Next: overview reliable, Up: overview [Contents][Index]
The easiest way to use the library is to include at run–time the library file libmbfl.sh in the script. To do it, we install the package on the system and use this code in the scripts:
source "${MBFL_LIBRARY:=$(type -p mbfl-config &>/dev/null \ && mbfl-config)}"
after the service variables have been declared. Required user defined variables.
This code will read the full pathname of the library from the environment variable
MBFL_LIBRARY
; if this variable is not set: the script mbfl-config
is invoked with no
arguments to acquire the pathname. mbfl-config
is installed by the package in the
$(bindir)
directory, which we must include in the PATH
environment variable.
Next: overview reliable, Up: overview [Contents][Index]