diff options
Diffstat (limited to 'data/netatalk/_metadata/extrainst_')
-rwxr-xr-x | data/netatalk/_metadata/extrainst_ | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/data/netatalk/_metadata/extrainst_ b/data/netatalk/_metadata/extrainst_ new file mode 100755 index 000000000..bcd309e8e --- /dev/null +++ b/data/netatalk/_metadata/extrainst_ @@ -0,0 +1,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 |