commit: Add sync wait support - Add Linux Distribution indipendence support