From: Michael Stapelberg Date: Tue, 6 Apr 2010 12:44:53 +0000 (+0200) Subject: debian: add postinst file which issues setcap X-Git-Tag: 2.1~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d60fc3fa43d8f8674a150bfa61bad4ae7407521a;p=i3%2Fi3status debian: add postinst file which issues setcap --- 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