summaryrefslogtreecommitdiff
path: root/sysutils/bareos-server/files/pkg-install.client.in
blob: 70ca57028237d103689cb077911c8089f3df8676 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

PATH=/bin:/usr/bin:/usr/sbin

# Always add lines in /etc/services
grep -q "bareos-dir" /etc/services
if [ "$?" != "0" ]; then
    echo "# Bareos port start
bareos-dir      9101/tcp   #Bareos director daemon
bareos-fd       9102/tcp   #Bareos file daemon
bareos-sd       9103/tcp   #Bareos storage daemon
# Bareos port end" >> /etc/services
fi