#!/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
