mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
704d84b6fa
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/
14 lines
354 B
Bash
14 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
|