Edit /etc/modules in "install" function

The previous version of the "install" function in the MakeFile didn't update the /etc/modules file to include intrepid as a kernel to load at boot time. This change makes the necessary change, allowing the kernel to be loaded automatically.
This commit is contained in:
KamicDemon-Intrepid
2019-06-24 12:01:35 -04:00
committed by Paul Hollinsky
parent 3bbef8679d
commit 7c2583c938
+1
View File
@@ -5,6 +5,7 @@ all:
install:
mkdir -p /lib/modules/$(KVERSION)/extra
cp intrepid.ko /lib/modules/$(KVERSION)/extra/
grep -q -F 'intrepid' /etc/modules || echo 'intrepid' | tee -a /etc/modules
depmod -a
clean:
make -C /lib/modules/$(KVERSION)/build M=$(PWD) clean