diff options
Diffstat (limited to 'data/openssh/_metadata/extrainst_')
-rwxr-xr-x | data/openssh/_metadata/extrainst_ | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/data/openssh/_metadata/extrainst_ b/data/openssh/_metadata/extrainst_ index f1e8ec5a3..afdc6d157 100755 --- a/data/openssh/_metadata/extrainst_ +++ b/data/openssh/_metadata/extrainst_ @@ -1,5 +1,9 @@ #!/bin/sh +if [[ $1 == upgrade ]]; then + /bin/launchctl unload /Library/LaunchDaemons/com.openssh.sshd.plist +fi + if [[ $1 == install || $1 == upgrade ]]; then /bin/launchctl load /Library/LaunchDaemons/com.openssh.sshd.plist fi |