From 86c79f407bd82ef3e44307da14cafaae47732a99 Mon Sep 17 00:00:00 2001 From: Andrew D'Angelo Date: Sat, 5 Aug 2023 09:49:22 -0500 Subject: [PATCH] Add section header to boot config --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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