diff options
author | Jay Freeman <saurik@saurik.com> | 2008-10-16 22:33:03 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2008-10-16 22:33:03 +0000 |
commit | 723da617c52176f61c5782fbe0cb5b05169d75ad (patch) | |
tree | a624f331bafdf9ac30aeeee77f66246b5b580230 /data/netatalk/_metadata/prerm | |
parent | 5f908867983163d4a75b69320db7c11875b24d7d (diff) |
Finally finished Netatalk ;P.
git-svn-id: http://svn.telesphoreo.org/trunk@495 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/netatalk/_metadata/prerm')
-rwxr-xr-x | data/netatalk/_metadata/prerm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/data/netatalk/_metadata/prerm b/data/netatalk/_metadata/prerm index 4fd7ef15d..461826ea4 100755 --- a/data/netatalk/_metadata/prerm +++ b/data/netatalk/_metadata/prerm @@ -1,6 +1,8 @@ #!/bin/sh -! /bin/launchctl list com.saurik.afpd.dns-sd &>/dev/null || + +if [[ $1 == remove ]]; then /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 +fi + exit 0 |