summaryrefslogtreecommitdiff
path: root/data/netatalk/_metadata/extrainst_
blob: bcd309e8eded4811c1f94f80d7f974246bef68b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

if [[ $1 == upgrade ]]; then
    /bin/launchctl unload /System/Library/LaunchDaemons/com.saurik.afpd.dns-sd.plist
    /bin/launchctl unload /System/Library/LaunchDaemons/net.sourceforge.netatalk.afpd.plist
fi

if [[ $1 == install || $1 == upgrade ]]; then
    /bin/launchctl load /System/Library/LaunchDaemons/com.saurik.afpd.dns-sd.plist
    /bin/launchctl load /System/Library/LaunchDaemons/net.sourceforge.netatalk.afpd.plist
fi

exit 0