Renaming a device after re-inclusion
Posted: 24 Feb 2016 00:37
I had to re-include a device, and now it of course got a new id. Since I have some rules etc, I'd like it to be named as before the re-inclusion. So from the new "Routing Multilevel Sensor_16" I'd like it to go back to the old "Routing Multilevel Sensor_4". This of course goes for all the sensors for that device, i.e. "Alarm Tampering 16-0-113-7-3" => "Alarm Tampering 4-0-113-7-3". Just as long I know which files are affected I can just create a simple sed script, but I don't want to mess around in the wrong config files. Any ideas?