add custom sysctl key
I am writing a module, and I need an easy way to set parameters to it. Using sysctl seems to be an easy and convenient way of doing ti. The only problem: I can't do it :).
Say I want to add a length parameter to /proc/sys/net/mymod/length of value 10. When I execute
So my question is whether it is at all possible to use sysctl to set certain parameters for my module? If so, what do I have to do to create a custom key? If not, what would be a good alternative?
|All times are GMT -5. The time now is 07:09 PM.|