Fix bash in pre-up script