]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/login/logind-dbus.c
logind: Fix org.freedesktop.login1.set-reboot-to-boot-loader-menu saving to the wrong...
authorHans de Goede <hdegoede@redhat.com>
Mon, 20 Jul 2020 13:06:43 +0000 (15:06 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 21 Jul 2020 01:02:34 +0000 (10:02 +0900)
commit3a978b30cd822faef304e790c5740e1587a79e0e
treea5b548ad23cec78fadce684a2977f95bef87659f
parentddbab78f9af92e63ce12afddc2dba0e5f59b9f9d
logind: Fix org.freedesktop.login1.set-reboot-to-boot-loader-menu saving to the wrong file in the non EFI case

According to the docs, and to the
org.freedesktop.login1.get-reboot-to-boot-loader-menu code, the
(oneshot) boot-loader-menu timeout should be stored in
/run/systemd/reboot-to-boot-loader-menu, but the set method was storing it
in /run/systemd/reboot-to-loader-menu.

This commit fixes this. Note that the fixed name also is a better match
for the dbus call names and matches the related
/run/systemd/reboot-to-boot-loader-entry structure, so fixing the set code,
rather then the get code + docs seems like the right thing to do here.
src/login/logind-dbus.c