<vendor>OpenBSD</vendor>
<vendor_url>https://uglyman.kremlin.cc/gitweb/gitweb.cgi?p=systemd-utl.git</vendor_url> <!-- TODO change or redirect this URL when we rebase -->
- <action id="org.freedesktop.hostname1.SetHostname">
+ <action id="org.freedesktop.hostname1.set-hostname">
<description>Set dynamic (system) hostname.</description>
<message>Setting the dynamic (system) hostname requires authentication.</message>
<defaults>
</defaults>
</action>
- <action id="org.freedesktop.hostname1.SetStaticHostname">
+ <action id="org.freedesktop.hostname1.set-static-hostname">
<description>Set static hostname.</description>
<message>Setting the static hostname requires authentication.</message>
<defaults>
</defaults>
</action>
- <action id="org.freedesktop.hostname1.SetPrettyHostname">
+ <action id="org.freedesktop.hostname1.set-pretty-hostname">
<description>Set pretty (UTF-8) hostname.</description>
<message>Setting the pretty (UTF-8) hostname requires authentication.</message>
<defaults>
</defaults>
</action>
- <action id="org.freedesktop.hostname1.SetIconName">
+ <action id="org.freedesktop.hostname1.set-icon-name">
<description>Set system's icon name.</description>
<message>Setting the system's icon name requires authentication.</message>
<defaults>
</defaults>
</action>
- <action id="org.freedesktop.hostname1.SetChassis">
+ <action id="org.freedesktop.hostname1.set-chassis">
<description>Set system's chassis type.</description>
<message>Setting the system's chassis type requires authentication.</message>
<defaults>
<vendor>OpenBSD</vendor>
<vendor_url>https://uglyman.kremlin.cc/gitweb/gitweb.cgi?p=systemd-utl.git</vendor_url> <!-- TODO change or redirect this URL when we rebase -->
- <action id="org.freedesktop.locale1.SetLocale">
+ <action id="org.freedesktop.locale1.set-locale">
<description>Set system's locale.</description>
<message>Setting the system's locale requires authentication.</message>
<defaults>
</defaults>
</action>
- <action id="org.freedesktop.locale1.SetX11Keyboard">
+ <action id="org.freedesktop.locale1.set-keyboard">
<description>Set Xorg keymap.</description>
<message>Setting Xorg's keymap requires authentication.</message>
<defaults>
<vendor>OpenBSD</vendor>
<vendor_url>https://uglyman.kremlin.cc/gitweb/gitweb.cgi?p=systemd-utl.git</vendor_url> <!-- TODO change or redirect this URL when we rebase -->
- <action id="org.freedesktop.timedate1.SetTime">
+ <action id="org.freedesktop.timedate1.set-time">
<description>Set system time.</description>
<message>Setting the system time requires authentication.</message>
<defaults>
</defaults>
</action>
- <action id="org.freedesktop.timedate1.SetTimezone">
+ <action id="org.freedesktop.timedate1.set-timezone">
<description>Set local timezone.</description>
<message>Setting the timezone requires authentication.</message>
<defaults>
</defaults>
</action>
- <action id="org.freedesktop.timedate1.SetLocalRTC">
+ <action id="org.freedesktop.timedate1.set-local-rtc">
<description>Switch RTC between UTC and local time.</description>
<message>Switching to the system's real time clock source requires authentication.</message>
<defaults>
</defaults>
</action>
- <action id="org.freedesktop.timedate1.SetNTP">
+ <action id="org.freedesktop.timedate1.set-ntp">
<description>Toggle clock synchronization through NTP.</description>
<message>Toggling NTP requires authentication.</message>
<defaults>
bus_name = g_dbus_method_invocation_get_sender(invoc);
/* verify caller has correct permissions via polkit */
- is_authed = polkit_try_auth(bus_name, "org.freedesktop.hostname1.SetHostname", policykit_auth);
+ is_authed = polkit_try_auth(bus_name, "org.freedesktop.hostname1.set-hostname", policykit_auth);
switch(is_authed) {
bus_name = g_dbus_method_invocation_get_sender(invoc);
/* verify caller has correct permissions via polkit */
- is_authed = polkit_try_auth(bus_name, "org.freedesktop.hostname1.SetStaticHostname", policykit_auth);
+ is_authed = polkit_try_auth(bus_name, "org.freedesktop.hostname1.set-static-hostname", policykit_auth);
switch(is_authed) {
bus_name = g_dbus_method_invocation_get_sender(invoc);
/* verify caller has correct permissions via polkit */
- is_authed = polkit_try_auth(bus_name, "org.freedesktop.hostname1.SetPrettyHostname", policykit_auth);
+ is_authed = polkit_try_auth(bus_name, "org.freedesktop.hostname1.set-pretty-hostname", policykit_auth);
switch(is_authed) {
g_strlcpy(valid_chassis_name_buf, proposed_chassis_name, (gsize)64);
/* verify caller has correct permissions via polkit */
- is_authed = polkit_try_auth(bus_name, "org.freedesktop.hostname1.SetChassis", policykit_auth);
+ is_authed = polkit_try_auth(bus_name, "org.freedesktop.hostname1.set-chassis", policykit_auth);
switch(is_authed) {
bus_name = g_dbus_method_invocation_get_sender(invoc);
/* verify caller has correct permissions via polkit */
- is_authed = polkit_try_auth(bus_name, "org.freedesktop.hostname1.SetIconName", policykit_auth);
+ is_authed = polkit_try_auth(bus_name, "org.freedesktop.hostname1.set-icon-name", policykit_auth);
switch(is_authed) {