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