|
yast2-hardware-detection
|
Write
write value to relative path only .status allowed (.probe.status.configured, "unique_key", `yes); */
YCPBoolean HwProbe::Write(const YCPPath& path, const YCPValue& value, const YCPValue& arg) { y2debug ("Write (%s:%s)", path->toString().c_str(), value->toString().c_str());
dont check type of arg yet, might be symbol or string if (value.isNull() || arg.isNull() || !value->isString()) { ycp2error ("Bad parameters for Write(.probe.status...)"); return YCPBoolean (false); }
YCPValue v = checkPath (path, value, arg, 1); return v.isNull () ? YCPNull () : v->asBoolean (); }
/** Dir
show subtree possibilities
1.16.1