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.
pull/10/head
KamicDemon-Intrepid 2019-06-24 11:53:32 -04:00 committed by Paul Hollinsky
parent 3bbef8679d
commit 7c2583c938
1 changed files with 2 additions and 1 deletions

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