Add comment on why perl -i.
This commit is contained in:
parent
e65b60057f
commit
79a6539fac
@ -265,7 +265,7 @@ read
|
|||||||
|
|
||||||
working "Making boot quieter (part 1)" # https://scribles.net/customizing-boot-up-screen-on-raspberry-pi/
|
working "Making boot quieter (part 1)" # https://scribles.net/customizing-boot-up-screen-on-raspberry-pi/
|
||||||
echo "Updating: $BOOT_CONFIG_TXT"
|
echo "Updating: $BOOT_CONFIG_TXT"
|
||||||
perl -i -p0e "s/#disable_overscan=1/disable_overscan=1/g" "$BOOT_CONFIG_TXT"
|
perl -i -p0e "s/#disable_overscan=1/disable_overscan=1/g" "$BOOT_CONFIG_TXT" # "perl" is more cross-platform than "sed -i"
|
||||||
echo -e "\ndisable_splash=1" >> "$BOOT_CONFIG_TXT"
|
echo -e "\ndisable_splash=1" >> "$BOOT_CONFIG_TXT"
|
||||||
|
|
||||||
working "Making boot quieter (part 2)" # https://scribles.net/customizing-boot-up-screen-on-raspberry-pi/
|
working "Making boot quieter (part 2)" # https://scribles.net/customizing-boot-up-screen-on-raspberry-pi/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user