Add section header to boot config
This commit is contained in:
parent
d57ad7688b
commit
86c79f407b
2
Makefile
2
Makefile
@ -26,7 +26,7 @@ install: sharp.ko sharp.dtbo
|
|||||||
install -D -m 0644 sharp.dtbo /boot/overlays/
|
install -D -m 0644 sharp.dtbo /boot/overlays/
|
||||||
# Add configuration line if it wasn't already there
|
# Add configuration line if it wasn't already there
|
||||||
grep -qxF '$(BOOT_CONFIG_LINE)' /boot/config.txt \
|
grep -qxF '$(BOOT_CONFIG_LINE)' /boot/config.txt \
|
||||||
|| echo '$(BOOT_CONFIG_LINE)' >> /boot/config.txt
|
|| echo '[all]\n$(BOOT_CONFIG_LINE)' >> /boot/config.txt
|
||||||
# Add auto-load module line if it wasn't already there
|
# Add auto-load module line if it wasn't already there
|
||||||
grep -qxF 'sharp' /etc/modules \
|
grep -qxF 'sharp' /etc/modules \
|
||||||
|| echo 'sharp' >> /etc/modules
|
|| echo 'sharp' >> /etc/modules
|
||||||
|
Loading…
Reference in New Issue
Block a user