I've checked the init.d directory and the rc3.d directory. I'm assuming my script to have S90, and there is only a S99rmnologin which runs after my script.
So if it was like what you mentioned, this gpio module must be loaded in somewhere else, not in the rc3.d. Is there a way to find it out?
And btw, there is no rc.local in my system.
Originally Posted by smallpond
If you look at some of the entries in /etc/init.d you will see that they do modprobe to load the modules that they need. Loading the gpio module will most likely create those sysfs files.