summaryrefslogtreecommitdiff
path: root/data/openssh/_metadata
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-12-16 11:52:18 -1000
committerSam Bingner <sam@bingner.com>2018-12-16 11:52:18 -1000
commit570d423532176c39518f3978a203250bef41cfef (patch)
treef7b690889bfbf755a61eb9092ea3c8b126b6b9ea /data/openssh/_metadata
parentb48f34eee35e3c3594a5b9e5f64ddc6e0fc84201 (diff)
A number of updates to make transitioning from electra repo smoother
Diffstat (limited to 'data/openssh/_metadata')
-rwxr-xr-xdata/openssh/_metadata/extrainst_5
1 files changed, 3 insertions, 2 deletions
diff --git a/data/openssh/_metadata/extrainst_ b/data/openssh/_metadata/extrainst_
index afdc6d157..007af8999 100755
--- a/data/openssh/_metadata/extrainst_
+++ b/data/openssh/_metadata/extrainst_
@@ -2,10 +2,11 @@
if [[ $1 == upgrade ]]; then
/bin/launchctl unload /Library/LaunchDaemons/com.openssh.sshd.plist
+ /bin/launchctl load /Library/LaunchDaemons/com.openssh.sshd.plist
fi
-if [[ $1 == install || $1 == upgrade ]]; then
- /bin/launchctl load /Library/LaunchDaemons/com.openssh.sshd.plist
+if [[ $1 == install ]]; then
+ /bin/launchctl load -w /Library/LaunchDaemons/com.openssh.sshd.plist
fi
exit 0