810b46655e
PR: 143376 Submitted by: Darren Pilgrim <ports.maintainer@evilphi.com> (maintainer)
15 lines
290 B
Bash
15 lines
290 B
Bash
#!/bin/sh
|
|
|
|
# 3ware hardcoded /etc/3dm2 into the binary, so we need to fake it
|
|
# in order to meet hier(9).
|
|
|
|
case $2 in
|
|
POST-INSTALL)
|
|
mkdir /etc/3dm2
|
|
ln -s ${PKG_PREFIX}/etc/3dm2/3dm2.conf /etc/3dm2/3dm2.conf
|
|
ln -s ${PKG_PREFIX}/etc/3dm2/3dm2.pem /etc/3dm2/3dm2.pem
|
|
;;
|
|
*)
|
|
;;
|
|
esac
|
|
exit 0
|