try_write_string


Description:

protected bool try_write_string (string property, string value)

Writes a string value to a sysfs attribute.

Parameters:

property

The name of the sysfs attribute to write to.

value

The value to write to the attribute.

Returns:

False if there was an error while writing, otherwise true.