adapt boot line bug fix for pi to pi only and not affect ubuntu