mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-22 10:29:31 +00:00
parameters is now args
This commit is contained in:
parent
842b855232
commit
c6cf5c371e
@ -38,7 +38,7 @@ int emile_second_get_param(int fd, char *kernel, char *parameters, char *initrd)
|
||||
config_get_property(configuration, "kernel", kernel);
|
||||
|
||||
if (parameters != NULL)
|
||||
config_get_property(configuration, "parameters", parameters);
|
||||
config_get_property(configuration, "args", parameters);
|
||||
|
||||
if (initrd != NULL)
|
||||
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)
|
||||
config_set_property(configuration, "parameters", parameters);
|
||||
config_set_property(configuration, "args", parameters);
|
||||
else
|
||||
config_remove_property(configuration, "parameters");
|
||||
config_remove_property(configuration, "args");
|
||||
}
|
||||
|
||||
if (initrd != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user