malyvelky,
I have tested and I have changed the code according to your suggestion (instead of grep I have used "grep -E"), to make code working on all of Ubuntu versions. I have changed daemon and publish changes in the first post of this thread.
Thanks for testing and reporting problems.
Regards
Bookmarks