Add -f to insmod
When the flag is on, insmod will bypass vermagic and symbol version
checking in the kernel. This is to make it possible to update kernel
without recompiling kernel modules.
BUG=28803994
Change-Id: Ib4be6999ef52baefd4210ee0d242360e43318907
diff --git a/init/readme.txt b/init/readme.txt
index aa372eb..c25a59a 100644
--- a/init/readme.txt
+++ b/init/readme.txt
@@ -278,8 +278,11 @@
ifup <interface>
Bring the network interface <interface> online.
-insmod <path>
- Install the module at <path>
+insmod [-f] <path> [<options>]
+ Install the module at <path> with the specified options.
+ -f
+ Force installation of the module even if the version of the running kernel
+ and the version of the kernel for which the module was compiled do not match.
load_all_props
Loads properties from /system, /vendor, et cetera.