summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/i3status.postinst6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/i3status.postinst b/debian/i3status.postinst
new file mode 100644
index 0000000..bf67a48
--- /dev/null
+++ b/debian/i3status.postinst
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# Allow users to get the speed of ethernet interfaces. This is not a security
+# issue as i3status only queries the speed, it does not change any
+# configuration.
+setcap cap_net_admin=ep /usr/bin/i3status || true