summarylogtreecommitdiffstats
path: root/libksysguard.install~
diff options
context:
space:
mode:
Diffstat (limited to 'libksysguard.install~')
-rw-r--r--libksysguard.install~8
1 files changed, 8 insertions, 0 deletions
diff --git a/libksysguard.install~ b/libksysguard.install~
new file mode 100644
index 000000000000..f19747fe7f48
--- /dev/null
+++ b/libksysguard.install~
@@ -0,0 +1,8 @@
+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
+}