diff options
author | Sam Bingner <sam@bingner.com> | 2021-03-02 17:31:51 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2021-03-02 20:38:19 -1000 |
commit | 76a8eb1c6d6d806e50798d4d23c6891cf317f156 (patch) | |
tree | 12a6a9b65c393229614a3d1fbe0d41503c2dd134 /data/_openssh/_metadata/openssh-global-listener/prerm | |
parent | 240e5557842ae47d10b0e6fa68dfc96cb0a7eb29 (diff) |
Split openssh and make listeners
Diffstat (limited to 'data/_openssh/_metadata/openssh-global-listener/prerm')
-rwxr-xr-x | data/_openssh/_metadata/openssh-global-listener/prerm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/data/_openssh/_metadata/openssh-global-listener/prerm b/data/_openssh/_metadata/openssh-global-listener/prerm new file mode 100755 index 000000000..71be0c498 --- /dev/null +++ b/data/_openssh/_metadata/openssh-global-listener/prerm @@ -0,0 +1,7 @@ +#!/bin/sh + +if [[ $1 == remove || $1 == purge ]]; then + /bin/launchctl unload /Library/LaunchDaemons/com.openssh.sshd.plist +fi + +exit 0 |