Guarded against some hypothetically possible errors
[procprotect.git] / Makefile
index 16b125b..0a9e45e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ ARCH=$(shell uname -m)
 DIST=fc18
 
 ifeq ($(wildcard /lib/modules/$(KVER)/build),) 
-       KVER=3.10.6-100.$(DIST).$(ARCH)
+       KVER=3.11.4-101.$(DIST).$(ARCH)
 endif
 
 all:
@@ -20,3 +20,5 @@ install:
        install -D -m 755 procprotect.ko /lib/modules/$(KVER)/net/procprotect/procprotect.ko
        mkdir -p /etc/modules-load.d
        install -m 644 procprotect.conf /etc/modules-load.d/procprotect.conf
+       install -m 644 procprotect.service /usr/lib/systemd/system/procprotect.service
+       install -m 755 procprotect.init /usr/sbin/procprotect.init