debianization 2: hooks
authorKonstantin Stepanov <kstep@p-nut.info>
Sun, 12 Dec 2010 15:21:55 +0000 (17:21 +0200)
committerKonstantin Stepanov <kstep@p-nut.info>
Sun, 12 Dec 2010 15:21:55 +0000 (17:21 +0200)
debian/postinst [new file with mode: 0755]
debian/prerm [new file with mode: 0755]

diff --git a/debian/postinst b/debian/postinst
new file mode 100755 (executable)
index 0000000..20414a4
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+/sbin/initctl start dbuscron
+
diff --git a/debian/prerm b/debian/prerm
new file mode 100755 (executable)
index 0000000..89fba48
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+/sbin/initctl stop dbuscron
+exit 0
+