1#!/bin/sh
2# unload bacula file daemon before upgrading
3
4if [ -f "$3/Library/LaunchDaemons/org.bacula.bacula-fd.plist" ]; then
5  /bin/launchctl unload "$3/Library/LaunchDaemons/org.bacula.bacula-fd.plist"
6fi
7
8