add upstart scripts for clock and ubiattach