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