summarylogtreecommitdiffstats
path: root/scanbd.install
diff options
context:
space:
mode:
Diffstat (limited to 'scanbd.install')
-rw-r--r--scanbd.install10
1 files changed, 10 insertions, 0 deletions
diff --git a/scanbd.install b/scanbd.install
new file mode 100644
index 000000000000..0d0a391ea8ed
--- /dev/null
+++ b/scanbd.install
@@ -0,0 +1,10 @@
+post_install() {
+ echo "Read the Arch Linux Wiki on how to set up and run scanbd:"
+ echo "https://wiki.archlinux.org/index.php/Scanner_Button_Daemon"
+}
+
+pre_remove() {
+ systemctl stop scanbd.service 2>&1 > /dev/null
+ systemctl stop scanbm.socket 2>&1 > /dev/null
+ systemctl disable scanbd.service 2>&1 > /dev/null
+}