diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2010-04-06 14:44:53 +0200 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2010-04-06 14:44:53 +0200 |
commit | d60fc3fa43d8f8674a150bfa61bad4ae7407521a (patch) | |
tree | d53ecd67ef41e65624c4132f7b06713cc22ae85a /debian/i3status.postinst | |
parent | 7665643894cf20108ba01b7fed6bc9f2fe452668 (diff) |
debian: add postinst file which issues setcap
Diffstat (limited to 'debian/i3status.postinst')
-rw-r--r-- | debian/i3status.postinst | 6 |
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 |