summaryrefslogtreecommitdiff
path: root/data/netatalk/_metadata/prerm
diff options
context:
space:
mode:
Diffstat (limited to 'data/netatalk/_metadata/prerm')
-rwxr-xr-xdata/netatalk/_metadata/prerm4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/netatalk/_metadata/prerm b/data/netatalk/_metadata/prerm
new file mode 100755
index 000000000..d132b11c2
--- /dev/null
+++ b/data/netatalk/_metadata/prerm
@@ -0,0 +1,4 @@
+#!/bin/sh
+! /bin/launchctl list net.sourceforge.netatalk.afpd &>/dev/null ||
+ /bin/launchctl unload /System/Library/LaunchDaemons/net.sourceforge.netatalk.afpd.plist
+exit 0