summaryrefslogtreecommitdiff
path: root/debian/smman.postinst
diff options
context:
space:
mode:
authorGuillaume Friloux <guillaume.friloux@gmail.com>2014-01-07 15:39:44 +0100
committerGuillaume Friloux <guillaume.friloux@gmail.com>2014-01-07 15:39:44 +0100
commit05c394bb8b50c30644b4c27a080190c2597f8c1b (patch)
treeca55780b971f4ac1bfa83c3e6d9a6a34f670589a /debian/smman.postinst
parentfeedcc4919feb92fb81f087b1c1b92fa958179eb (diff)
Add init script for debian.
Diffstat (limited to 'debian/smman.postinst')
-rw-r--r--debian/smman.postinst10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/smman.postinst b/debian/smman.postinst
new file mode 100644
index 0000000..4ca8bbf
--- /dev/null
+++ b/debian/smman.postinst
@@ -0,0 +1,10 @@
1#!/bin/bash
2
3set -e
4case "$1" in
5 configure)
6 update-rc.d smman start 28 2 3 4 5 . stop 28 0 1 6 .
7 /etc/init.d/smman restart
8 ;;
9esac
10exit 0