XX-11048 - move bash script out of cfengine, and in a separate file in bin folder