Adding notes
This commit is contained in:
		
							parent
							
								
									0f23defe63
								
							
						
					
					
						commit
						290cd233cf
					
				@ -26,11 +26,9 @@ the Makefile you created to build the module.
 | 
			
		||||
* [X] Create Makefile to build your module
 | 
			
		||||
* [ ] Provide proof of this module being built and running in your kernel
 | 
			
		||||
 | 
			
		||||
== Final Product ==
 | 
			
		||||
 | 
			
		||||
{{{class="prettyprint linenums" >
 | 
			
		||||
 | 
			
		||||
}}}
 | 
			
		||||
 | 
			
		||||
== Notes ==
 | 
			
		||||
 | 
			
		||||
* `#include <linux/module.h>` Needed by all modules
 | 
			
		||||
* `#include <linux/kernel.h>` Needed for KERN_INFO
 | 
			
		||||
* `#include <linux/init.h>` Macros used to mark up functions e.g., __init __exit
 | 
			
		||||
* 
 | 
			
		||||
 | 
			
		||||
@ -201,4 +201,4 @@ This gets run when bash starts, so this allows me to use the same `~/.bashrc` on
 | 
			
		||||
 | 
			
		||||
The only thing not noted is that if the client has weechat installed (to /usr/bin/weechat) and `$HOSTNAME` is not "thurstylark-vps", an alias for 'weechat' will not be created, and weechat will launch normally.
 | 
			
		||||
 | 
			
		||||
Configuration that allows one to use an arbitrary string as a hostname for ssh/mosh can be found on the ssh config page.
 | 
			
		||||
[[Configuration]] that allows one to use an arbitrary string as a hostname for ssh/mosh can be found on the ssh config page.
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user