static bool sysConfigBool(string name, bool def) { string val = sysConfig(name); if (val != null) return val == "true"; return def; }