Improve sed regex in ec2/30-grub to adjust timeout.