mirror of
https://github.com/vivier/EMILE.git
synced 2025-08-15 07:27:41 +00:00
parameters is now args
This commit is contained in:
@@ -38,7 +38,7 @@ int emile_second_get_param(int fd, char *kernel, char *parameters, char *initrd)
|
|||||||
config_get_property(configuration, "kernel", kernel);
|
config_get_property(configuration, "kernel", kernel);
|
||||||
|
|
||||||
if (parameters != NULL)
|
if (parameters != NULL)
|
||||||
config_get_property(configuration, "parameters", parameters);
|
config_get_property(configuration, "args", parameters);
|
||||||
|
|
||||||
if (initrd != NULL)
|
if (initrd != NULL)
|
||||||
config_get_property(configuration, "initrd", initrd);
|
config_get_property(configuration, "initrd", initrd);
|
||||||
|
@@ -34,9 +34,9 @@ int emile_second_set_param(int fd, char *kernel, char *parameters, char *initrd)
|
|||||||
if (parameters != NULL)
|
if (parameters != NULL)
|
||||||
{
|
{
|
||||||
if (*parameters)
|
if (*parameters)
|
||||||
config_set_property(configuration, "parameters", parameters);
|
config_set_property(configuration, "args", parameters);
|
||||||
else
|
else
|
||||||
config_remove_property(configuration, "parameters");
|
config_remove_property(configuration, "args");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (initrd != NULL)
|
if (initrd != NULL)
|
||||||
|
Reference in New Issue
Block a user