diff options
author | Angelo Naselli <anaselli@linux.it> | 2014-08-29 15:14:13 +0200 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2014-08-29 15:14:13 +0200 |
commit | ea250dd11845d8fdea3d9a8ab9083af43a5aa2c9 (patch) | |
tree | 99361f54cd4a19edb7751983e14b2394711bb144 /extras | |
parent | 87709ee49d746f1dca51ad80a98df1732ebf4871 (diff) | |
download | manatools-ea250dd11845d8fdea3d9a8ab9083af43a5aa2c9.tar manatools-ea250dd11845d8fdea3d9a8ab9083af43a5aa2c9.tar.gz manatools-ea250dd11845d8fdea3d9a8ab9083af43a5aa2c9.tar.bz2 manatools-ea250dd11845d8fdea3d9a8ab9083af43a5aa2c9.tar.xz manatools-ea250dd11845d8fdea3d9a8ab9083af43a5aa2c9.zip |
fixed script name manaproxy (new drakproxy)
Diffstat (limited to 'extras')
-rw-r--r-- | extras/desktop/manaproxy.desktop | 8 | ||||
-rw-r--r-- | extras/polkit/org.mageia.manaproxy.policy | 21 |
2 files changed, 29 insertions, 0 deletions
diff --git a/extras/desktop/manaproxy.desktop b/extras/desktop/manaproxy.desktop new file mode 100644 index 00000000..f4c59048 --- /dev/null +++ b/extras/desktop/manaproxy.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=manaproxy +Comment=AdminPanel proxy manager +Exec=pkexec /usr/bin/manauser +Icon=drakproxy-mdk +Type=Application +StartupNotify=true +Categories=System;X-MandrivaLinux-CrossDesktop; diff --git a/extras/polkit/org.mageia.manaproxy.policy b/extras/polkit/org.mageia.manaproxy.policy new file mode 100644 index 00000000..5c3ede9a --- /dev/null +++ b/extras/polkit/org.mageia.manaproxy.policy @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE policyconfig PUBLIC + "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN" + "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> +<policyconfig> + + <vendor>Mageia.Org</vendor> + <vendor_url>http://www.mageia.org</vendor_url> + + <action id="org.mageia.manaproxy.pkexec.run"> + <description>Allow APanel GUI</description> + <message>Authentication is required to run the program manaproxy (user=$(user), program=$(program), command_line=$(command_line))</message> + <defaults> + <allow_any>no</allow_any> + <allow_inactive>auth_admin</allow_inactive> + <allow_active>auth_admin</allow_active> + </defaults> + <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/manaproxy</annotate> + <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> + </action> +</policyconfig> |