summaryrefslogtreecommitdiff
path: root/data/openssh/_metadata
diff options
context:
space:
mode:
Diffstat (limited to 'data/openssh/_metadata')
-rwxr-xr-xdata/openssh/_metadata/postinst3
-rwxr-xr-xdata/openssh/_metadata/prerm3
2 files changed, 6 insertions, 0 deletions
diff --git a/data/openssh/_metadata/postinst b/data/openssh/_metadata/postinst
new file mode 100755
index 000000000..6d47c8d6f
--- /dev/null
+++ b/data/openssh/_metadata/postinst
@@ -0,0 +1,3 @@
+#!/bin/sh
+/bin/launchctl load /Library/LaunchDaemons/com.openssh.sshd.plist
+exit 0
diff --git a/data/openssh/_metadata/prerm b/data/openssh/_metadata/prerm
new file mode 100755
index 000000000..b717b6b1c
--- /dev/null
+++ b/data/openssh/_metadata/prerm
@@ -0,0 +1,3 @@
+#!/bin/sh
+/bin/launchctl unload /Library/LaunchDaemons/com.openssh.sshd.plist
+exit 0