summaryrefslogtreecommitdiff
path: root/debian/i3status.postinst
blob: 7a385c8531bce5d1611789dc4a4891e5985a07aa (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

set -e

# 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