snua
New Member
Posts: 6
|
Post by snua on Aug 24, 2007 7:03:02 GMT 7
Hi,
I'm trying to understand how modules work and have some questions about enable.sh. I can see what is happening but I'm not completely happy with my understanding.
1. Does enable.sh get run only at enabling & disabling or also at boot time (Only way I can make sense of the /img/htdocs/module/$mod_name entries existing)?
2. I've looked at a few examples (SSH, NFSD, PPP-BLOG) and if "mod_enable=$2" = "No" it looks like that the module is enabled. I would read it the other way, if "mod_enable =$2 = No" then I thought you should be disabling the module. Is $2 the desired or current status?
BTW, I don't doubt that the modules are doing the correct thing.
Thanks.
|
|