aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/3dm/pkg-install
blob: 3cfdf38c2b69116cabd8c02db40cdfc6574a1844 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

if [ "$2" != "PRE-INSTALL" ]; then
    exit 0
fi

# 3ware lamely hardcode the locations of various things  

    mkdir /etc/3dm2
    mkdir -p ${PKG_PREFIX}/etc/3dm2/msg
    ln -s ${PKG_PREFIX}/etc/3dm2/msg /etc/3dm2/msg
    ln -s ${PKG_PREFIX}/etc/3dm2/3dm2.conf /etc/3dm2/3dm2.conf
    ln -s ${PKG_PREFIX}/etc/3dm2/3dm2.pem /etc/3dm2/3dm2.pem
exit 0