diff options
author | Jay Freeman <saurik@saurik.com> | 2009-04-06 10:41:45 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2009-04-06 10:41:45 +0000 |
commit | fbdb21a3a56e86fca4a9773f7489914f4d539dc6 (patch) | |
tree | e44586f19c81069bd9e1b068937aee72200877e6 /data/openssh/_metadata/prerm | |
parent | 5222157204b15d906aa3aae9e65943e1620e5d57 (diff) |
Upgraded OpenSS* to work with 3.x.
git-svn-id: http://svn.telesphoreo.org/trunk@561 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/openssh/_metadata/prerm')
-rwxr-xr-x | data/openssh/_metadata/prerm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/data/openssh/_metadata/prerm b/data/openssh/_metadata/prerm index 17abc80ef..71be0c498 100755 --- a/data/openssh/_metadata/prerm +++ b/data/openssh/_metadata/prerm @@ -1,4 +1,7 @@ #!/bin/sh -! /bin/launchctl list com.openssh.sshd &>/dev/null || + +if [[ $1 == remove || $1 == purge ]]; then /bin/launchctl unload /Library/LaunchDaemons/com.openssh.sshd.plist +fi + exit 0 |