forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
16 lines
328 B
Bash
16 lines
328 B
Bash
#!/bin/sh
|
|
#
|
|
PATH=/bin:/usr/sbin:/usr/bin:/usr/sbin
|
|
|
|
DBDIR=/var/netatalk
|
|
|
|
case $2 in
|
|
POST-INSTALL)
|
|
umask 22
|
|
mkdir -p $DBDIR/CNID
|
|
chown root:wheel $DBDIR $DBDIR/CNID
|
|
tee $DBDIR/README > $DBDIR/CNID/README <<-'EOF'
|
|
This directory contains modifiable Netatalk configuration files and the CNID databases.
|
|
EOF
|
|
;;
|
|
esac
|