#!/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
