summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-02-23 22:54:44 +0000
committerJay Freeman <saurik@saurik.com>2008-02-23 22:54:44 +0000
commitb1e14be1a7ca693a619a174531a53ed32efcc818 (patch)
tree8d86a4d314a5b4daba4f6857d8f848e9693f3162 /data
parent5b225e7e2e5f164ea01dad426bc5be6ab7af2168 (diff)
OpenSSH should start/stop its daemon when installed/uninstalled.
git-svn-id: http://svn.telesphoreo.org/trunk@94 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data')
-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