summaryrefslogtreecommitdiff
path: root/libre/libksysguard/libksysguard.install
diff options
context:
space:
mode:
Diffstat (limited to 'libre/libksysguard/libksysguard.install')
-rw-r--r--libre/libksysguard/libksysguard.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/libre/libksysguard/libksysguard.install b/libre/libksysguard/libksysguard.install
new file mode 100644
index 000000000..891b1d423
--- /dev/null
+++ b/libre/libksysguard/libksysguard.install
@@ -0,0 +1,9 @@
+post_install() {
+# this is executed by make install, but doesn't work since setcap can only be run as root
+ setcap CAP_NET_RAW=+ep /usr/lib/ksysguard/ksgrd_network_helper
+}
+
+post_upgrade() {
+ post_install
+}
+