summaryrefslogtreecommitdiff
path: root/data/netatalk/_metadata/prerm
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-10-11 06:35:44 +0000
committerJay Freeman <saurik@saurik.com>2008-10-11 06:35:44 +0000
commitf595dfc4b1afab51164987c90b0975e4f969818e (patch)
treeab911f7c37ce12e47e85d56303ee4e7dffe7323b /data/netatalk/_metadata/prerm
parent0cb10758962334e6af5b02b3a72c5bfef897ac4c (diff)
Root filesystem access.
git-svn-id: http://svn.telesphoreo.org/trunk@491 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/netatalk/_metadata/prerm')
-rwxr-xr-xdata/netatalk/_metadata/prerm2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/netatalk/_metadata/prerm b/data/netatalk/_metadata/prerm
index d132b11c2..4fd7ef15d 100755
--- a/data/netatalk/_metadata/prerm
+++ b/data/netatalk/_metadata/prerm
@@ -1,4 +1,6 @@
#!/bin/sh
+! /bin/launchctl list com.saurik.afpd.dns-sd &>/dev/null ||
+ /bin/launchctl unload /System/Library/LaunchDaemons/com.saurik.afpd.dns-sd.plist
! /bin/launchctl list net.sourceforge.netatalk.afpd &>/dev/null ||
/bin/launchctl unload /System/Library/LaunchDaemons/net.sourceforge.netatalk.afpd.plist
exit 0