ugly code.need to be cleaned.
Merge branch 'master' of https://github.com/gplaza/Portero-Rpi.git