forked from Lainports/freebsd-ports
Bareos (BackupArchivingRecoveryOpenSourced) is a reliable network open source software to backup, archive and restore files from all major operating systems. The fork was founded 2010 out of the bacula.org project. The fork has been actively developed and many new features have been added. WWW: http://www.bareos.org/
13 lines
354 B
Bash
13 lines
354 B
Bash
#!/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
|