diff --git a/source/ubl-settings-kernel.c b/source/ubl-settings-kernel.c index 6789aa6..3298e84 100644 --- a/source/ubl-settings-kernel.c +++ b/source/ubl-settings-kernel.c @@ -1113,7 +1113,7 @@ void on_launch_cliked(GtkWidget *self,dictionary *dict){ data->function = NULL; data->data = NULL; if (yon_confirmation_dialog_call(self,data) == GTK_RESPONSE_ACCEPT){ - yon_config_set(KERNEL_BOOT_parameter,tab->package); + yon_config_register(KERNEL_BOOT_parameter,KERNEL_BOOT_command,tab->package); on_update_clicked(NULL,widgets); } diff --git a/source/ubl-settings-kernel.h b/source/ubl-settings-kernel.h index e006606..f4ad367 100644 --- a/source/ubl-settings-kernel.h +++ b/source/ubl-settings-kernel.h @@ -69,6 +69,7 @@ #define config_get_local_only_parameters "" #define KERNEL_BOOT_parameter "KERNEL_BOOT" +#define KERNEL_BOOT_command "ubconfig --source global get boot KERNEL_BOOT" typedef char* string; string version_application;