freebsd-ports/deskutils/libmrproject/files/libmrproject.sh
Joe Marcus Clarke 5242569a08 Make sure to run ldconfig -m for each of the module directories at boot time.
This allows mrproject and its API to survive reboots.

Reported by:	olgeni
Adapted from:	databases/mysql323-client
2003-04-01 20:32:55 +00:00

16 lines
259 B
Bash

#!/bin/sh
case "$1" in
start)
/sbin/ldconfig -m %%PREFIX%%/lib/mrproject/file-modules
/sbin/ldconfig -m %%PREFIX%%/lib/mrproject/storage-modules
;;
stop)
;;
*)
echo ""
echo "Usage: `basename $0` { start | stop }"
echo ""
exit 64
;;
esac