save log output of .initialboot script to /var/log/initialboot

If any errors pop up while executing the .initialboot file I would like to see them in a log-file to make debugging easier.