Init script specifies commands to be ran after very first slave connection to Jenkins. Once finished, it created ~/.hudson-run-init file to prevent Jenkins from running it within each reconnection.