summarylogtreecommitdiffstats
path: root/netctlgui-helper.install
diff options
context:
space:
mode:
Diffstat (limited to 'netctlgui-helper.install')
-rw-r--r--netctlgui-helper.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/netctlgui-helper.install b/netctlgui-helper.install
new file mode 100644
index 000000000000..7d11847293db
--- /dev/null
+++ b/netctlgui-helper.install
@@ -0,0 +1,11 @@
+post_install() {
+ setcap cap_setuid=ep usr/bin/netctlgui-helper 2>/dev/null || chmod +s usr/bin/netctlgui-helper
+ cat << EOF
+Note: users should be in network group if you want to get them access to the system bus
+See http://arcanis.name/devs/netctl-gui-security-notes.html#helper
+EOF
+}
+
+post_upgrade() {
+ post_install "$1"
+}