diff --git a/Makefile b/Makefile index 0e3f9a6..f5f4394 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ install: sharp.ko sharp.dtbo install -D -m 0644 sharp.dtbo /boot/overlays/ # Add configuration line if it wasn't already there 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 grep -qxF 'sharp' /etc/modules \ || echo 'sharp' >> /etc/modules