diff options
Diffstat (limited to 'comms/smstools3/files/pkg-install.in')
-rw-r--r-- | comms/smstools3/files/pkg-install.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/comms/smstools3/files/pkg-install.in b/comms/smstools3/files/pkg-install.in new file mode 100644 index 000000000000..9f9262263885 --- /dev/null +++ b/comms/smstools3/files/pkg-install.in @@ -0,0 +1,11 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +if [ "x$2" = "xPOST-INSTALL" ]; then + mkdir -p %%SPOOLDIR%%/incoming %%SPOOLDIR%%/outgoing \ + %%SPOOLDIR%%/checked %%LOGDIR%% %%PIDDIR%% + chown -R %%SMSD_USER%%:%%SMSD_GROUP%% %%SPOOLDIR%% \ + %%LOGDIR%% %%PIDDIR%% +fi |