Skip to content
Snippets Groups Projects
Commit f71c71dd authored by rswindell's avatar rswindell
Browse files

Update the existing BINKP service, if it exists, setting Enabled=true

(rather than leaving the default disabled BINKP service configuration
in tact)
parent 01cc3f6f
No related branches found
No related tags found
No related merge requests found
......@@ -1246,7 +1246,7 @@ function install()
ini = new File(file_cfgname(system.ctrl_dir, "services.ini"));
if (!ini.open(file_exists(ini.name) ? 'r+':'w+'))
return ini.name + " open error " + ini.error;
if(!ini.iniGetObject("BINKP") && !ini.iniGetObject("BINKIT")) {
if(!ini.iniGetObject("BINKIT")) {
printf("Updating %s\r\n", ini.name);
var section = "BINKP";
ini.iniSetValue(section, "Enabled", true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment