freebsd-ports/sysutils/bacula-server/files/pkg-install.server.in
Chris Rees b42f974e77 - Use USERS and GROUPS
- Stop setting DEFAULT_PGSQL_VER

PR:		ports/164568
Submitted by:	crees (me)
Approved by:	maintainer
2012-02-03 21:18:14 +00:00

13 lines
354 B
Bash

#!/bin/sh
PATH=/bin:/usr/bin:/usr/sbin
# Always add lines in /etc/services
grep -q "bacula-dir" /etc/services
if [ "$?" != "0" ]; then
echo "# Bacula port start
bacula-dir 9101/tcp #Bacula director daemon
bacula-fd 9102/tcp #Bacula file daemon
bacula-sd 9103/tcp #Bacula storage daemon
# Bacule port end" >> /etc/services
fi