i dont have any modules autoload so my output looks like this: * Calculating module dependencies... [ ok ] * Using /etc/modules.autoload.d/kernel-2.6: * Checking all filesystems... [ ok ] personally, i dont like the blank line, plus the colon w/out anything after it strikes me as funny ;) what i'd suggest is changing the load_modules() function to count the # of modules loaded, and outside of the while loop, instead of running 'echo', doing the following: if [ ${modcount} -eq 0 ] ; then einfo "No modules autoloaded" elif [ ${modcount} -eq 1 ] ; then einfo "Autoloaded 1 module" else einfo "Autoloaded ${modcount} modules" fi or, this would just be fine if you think that's a little too much :) einfo "Autoloaded ${modcount} module(s)"
i dont have any modules autoload so my output looks like this: * Calculating module dependencies... [ ok ] * Using /etc/modules.autoload.d/kernel-2.6: * Checking all filesystems... [ ok ] personally, i dont like the blank line, plus the colon w/out anything after it strikes me as funny ;) what i'd suggest is changing the load_modules() function to count the # of modules loaded, and, outside of the while loop, instead of running 'echo', doing the following: if [ ${modcount} -eq 0 ] ; then einfo "No modules autoloaded" elif [ ${modcount} -eq 1 ] ; then einfo "Autoloaded 1 module" else einfo "Autoloaded ${modcount} modules" fi or, this would just be fine if you think that's a little too much :) einfo "Autoloaded ${modcount} module(s)"
Created attachment 15870 [details] /etc/init.d/modules Should do as requested.
Fixed in CVS, thanks.