summaryrefslogtreecommitdiff
path: root/debian/mwc.cr
diff options
context:
space:
mode:
Diffstat (limited to 'debian/mwc.cr')
-rwxr-xr-xdebian/mwc.cr7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/mwc.cr b/debian/mwc.cr
new file mode 100755
index 0000000..e0c7f8f
--- /dev/null
+++ b/debian/mwc.cr
@@ -0,0 +1,7 @@
+#! /bin/bash
+
+test -x /usr/bin/mwc || exit 0
+test -e /etc/mwc/mwc-config.py || exit 0
+
+/usr/bin/mwc -config=/etc/mwc/mwc-config >/dev/null 2>&1
+