summaryrefslogtreecommitdiffstats
path: root/rules/openssh.postinst
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-05-01 15:30:42 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-05-01 15:46:25 +0200
commit2d894ee730b9aff7afed60304383aafa1f2487e0 (patch)
tree374ba1ab064f67c7b2449351b5dc566937b1abc4 /rules/openssh.postinst
parent30f49dc12c26089b6387a6b9d8a46b2fcf1bed35 (diff)
downloadptxdist-2d894ee730b9aff7afed60304383aafa1f2487e0.tar.gz
ptxdist-2d894ee730b9aff7afed60304383aafa1f2487e0.tar.xz
openssh: activate rc-once in postinst
This way rc-once runs again if the package is installed after the first rc-once run. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/openssh.postinst')
-rw-r--r--rules/openssh.postinst2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/openssh.postinst b/rules/openssh.postinst
new file mode 100644
index 000000000..3a2e201ce
--- /dev/null
+++ b/rules/openssh.postinst
@@ -0,0 +1,2 @@
+#!/bin/sh
+$DESTDIR/sbin/enable-rc-once openssh