It's the finish script and it's only about enabling automatic start of sockets.
It doesn't throw an exception here because I think not finding sockets for whatever reason in inst-sys shouldn't stop installation workflow.
Informing the user is probably not necessary, enabling of sockets should be also done with systemd presets. I adapted this part of code to be adapted to systemd but might be superfluously here to enable sockets (will check this with Hannes).
I will add an y2error message to have info in y2log.