#include "bus-error.h"
#include "bus-util.h"
#include "dirent-util.h"
-#include "efivars.h"
+//#include "efivars.h"
#include "escape.h"
#include "fd-util.h"
#include "fileio-label.h"
sd_bus_message *reply,
void *userdata,
sd_bus_error *error) {
+/// elogind does not support EFI
+#if 0
int r;
assert(bus);
return r;
return sd_bus_message_append(reply, "b", r > 0);
+#else
+ return sd_bus_message_append(reply, "b", -EOPNOTSUPP);
+#endif // 0
}
static int method_set_reboot_to_firmware_setup(
if (r == 0)
return 1; /* No authorization for now, but the async polkit stuff will call us again when it has it */
+/// elogind does not support EFI
+#if 0
r = efi_set_reboot_to_firmware(b);
if (r < 0)
return r;
+#endif // 0
return sd_bus_reply_method_return(message, NULL);
}
void *userdata,
sd_bus_error *error) {
+/// elogind does not support EFI
+#if 0
int r;
bool challenge;
const char *result;
result = "no";
return sd_bus_reply_method_return(message, "s", result);
+#else
+ return sd_bus_reply_method_return(message, "s", "na");
+#endif // 0
}
static int method_set_wall_message(