adapt to new image

Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@labitat.dk>
lockd.py: only UPDATE if something has changed

Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@labitat.dk>
Merge Asbjørn's new version after restoring lockserver.