diff --git a/acs.coffee b/acs.coffee index a48ebcd..4381fc4 100644 --- a/acs.coffee +++ b/acs.coffee @@ -59,7 +59,7 @@ updateDevice = (currentRequest, actions, callback) -> updates = {} deletes = {} if actions.inform? - updates['_last_inform'] = now + updates['_lastInform'] = now updates['_lastBoot'] = now if '1 BOOT' in actions.inform updates['_lastBootstrap'] = now if '0 BOOTSTRAP' in actions.inform diff --git a/config/parameters.json b/config/parameters.json index 1710a36..83ee10b 100644 --- a/config/parameters.json +++ b/config/parameters.json @@ -1,5 +1,7 @@ { - "_last_inform" : {"alias" : "summary.lastInform", "type" : "date"}, + "_lastInform" : {"alias" : "summary.lastInform", "type" : "date"}, + "_lastBoot" : {"alias" : "summary.lastBoot", "type" : "date"}, + "_lastBootstrap" : {"alias" : "summary.lastBootstrap", "type" : "date"}, "InternetGatewayDevice.DeviceInfo.SerialNumber" : {"alias" : "summary.serialNumber"}, "InternetGatewayDevice.DeviceInfo.Manufacturer" : {"alias" : "summary.manufacturer"}, "InternetGatewayDevice.DeviceInfo.ProductClass" : {"alias" : "summary.productClass"},