Configuration file for loading procprotect module
Sapan Bhatia [Thu, 21 Jun 2012 15:03:19 +0000 (11:03 -0400)]
procprotect.conf [new file with mode: 0644]
procprotect.spec

diff --git a/procprotect.conf b/procprotect.conf
new file mode 100644 (file)
index 0000000..5354d49
--- /dev/null
@@ -0,0 +1 @@
+procprotect
index 3ab687b..f2970da 100644 (file)
@@ -50,12 +50,15 @@ make -C %{kernelpath} V=1 M=$(pwd) modules
 
 %install
 install -D -m 755 procprotect.ko $RPM_BUILD_ROOT/lib/modules/%{kernel_id}/kernel/net/procprotect/procprotect.ko
+mkdir -p $RPM_BUILD_ROOT/etc/modules-load.d
+install -m 644 procprotect.conf $RPM_BUILD_ROOT/etc/modules-load.d/procprotect.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 /lib/modules/%{kernel_id}
+/etc/modules-load.d/procprotect.conf
 
 %post