config_data->res_type = PASS_RESOURCE_MEMORY_ID;
else if (!strncmp(device_type, PASS_RESOURCE_BATTERY_NAME, strlen(device_type)))
config_data->res_type = PASS_RESOURCE_BATTERY_ID;
+ else if (!strncmp(device_type, PASS_RESOURCE_DISPLAY_NAME, strlen(device_type)))
+ config_data->res_type = PASS_RESOURCE_DISPLAY_ID;
+ else if (!strncmp(device_type, PASS_RESOURCE_DISK_NAME, strlen(device_type)))
+ config_data->res_type = PASS_RESOURCE_DISK_ID;
+ else if (!strncmp(device_type, PASS_RESOURCE_NETWORK_NAME, strlen(device_type)))
+ config_data->res_type = PASS_RESOURCE_NETWORK_ID;
else if (!strncmp(device_type, PASS_RESOURCE_NONSTANDARD_NAME, strlen(device_type)))
config_data->res_type = PASS_RESOURCE_NONSTANDARD_ID;
else {