diff options
Diffstat (limited to 'src/system/dlt-system-options.c')
-rw-r--r-- | src/system/dlt-system-options.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/system/dlt-system-options.c b/src/system/dlt-system-options.c index 4d0ae8b..113089b 100644 --- a/src/system/dlt-system-options.c +++ b/src/system/dlt-system-options.c @@ -133,6 +133,9 @@ void init_configuration(DltSystemConfiguration *config) // Common config->ApplicationId = "SYS"; + // Shell + config->Shell.Enable = 0; + // Syslog config->Syslog.Enable = 0; config->Syslog.ContextId = "SYSL"; @@ -244,6 +247,12 @@ int read_configuration_file(DltSystemConfiguration *config, char *file_name) strcpy(config->ApplicationId, value); } + // Shell + else if(strcmp(token, "ShellEnable") == 0) + { + config->Shell.Enable = atoi(value); + } + // Syslog else if(strcmp(token, "SyslogEnable") == 0) { |