aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extras/desktop/manahost.desktop9
-rw-r--r--extras/polkit/org.mageia.manahost.policy (renamed from extras/polkit/org.mageia.hostmanager.policy)6
-rwxr-xr-xscripts/manahost (renamed from scripts/hostmanager)0
3 files changed, 12 insertions, 3 deletions
diff --git a/extras/desktop/manahost.desktop b/extras/desktop/manahost.desktop
new file mode 100644
index 00000000..1ba6dee8
--- /dev/null
+++ b/extras/desktop/manahost.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=manahost
+Comment=AdminPanel host manager
+Exec=pkexec /usr/bin/manahost
+Icon=userdrake
+Type=Application
+StartupNotify=true
+Categories=System;X-MandrivaLinux-CrossDesktop;
+
diff --git a/extras/polkit/org.mageia.hostmanager.policy b/extras/polkit/org.mageia.manahost.policy
index 6e23364f..76a8a1cb 100644
--- a/extras/polkit/org.mageia.hostmanager.policy
+++ b/extras/polkit/org.mageia.manahost.policy
@@ -7,15 +7,15 @@
<vendor>Mageia.Org</vendor>
<vendor_url>http://www.mageia.org</vendor_url>
- <action id="org.mageia.hostmanager.pkexec.run">
+ <action id="org.mageia.manahost.pkexec.run">
<description>Allow APanel GUI</description>
- <message>Authentication is required to run the program hostmanager (user=$(user), program=$(program), command_line=$(command_line))</message>
+ <message>Authentication is required to run the program manahost (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/hostmanager</annotate>
+ <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/manahost</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>
diff --git a/scripts/hostmanager b/scripts/manahost
index 3852b17f..3852b17f 100755
--- a/scripts/hostmanager
+++ b/scripts/manahost