1
Discovery / Re: No Config-Backup after Change
« on: February 01, 2018, 09:19:30 am »
I have edited line 1674 in libmisc.pm from
to that:
Now, NeDi reads the config every time, but the Datebase is only Updated when the Config has changed. That is want I want, but I do not think that I have done right....
Code: [Select]
if($skip =~ /s/ or $main::dev{$dv}{fs} == $main::now or $main::dev{$dv}{bup} ne 'A'){# Skip sysinfo or new devs force backup (or non-active are updated)
to that:
Code: [Select]
if($skip =~ /s/ or $main::dev{$dv}{fs} lt $main::now or $main::dev{$dv}{bup} ne 'A'){# Skip sysinfo or new devs force backup (or non-active are updated)
Now, NeDi reads the config every time, but the Datebase is only Updated when the Config has changed. That is want I want, but I do not think that I have done right....