If a custom init script ends in .sh, it can be added to a runlevel, but depscan.sh can't figure out the dependencies. According to /lib/rcscripts/awk/genenviron.awk this is the desired behaviour. That's fine, but it should be documented as such in http://www.gentoo.org/doc/en/rc-scripts.xml Reproducible: Always Steps to Reproduce: 1.Create custom init script according to guide at http://www.gentoo.org/doc/en/rc-scripts.xml 2. Use anyname.sh 3. run depscan.sh Actual Results: depscan happily prints [ok], whithout actualy doing what it's supposed to. Expected Results: Should tell the user to use anyname instead of anyname.sh OR should calculate the dependencies. I would be happy if depscan just complains. http://www.gentoo.org/doc/en/rc-scripts.xml doesn't mention the fact that it should be anyname instead of anyname.sh
considering .sh implies a shell script (/bin/sh) seems like it wouldnt make sense to name an init script with .sh when it uses /sbin/runscript but whatever ;)
Added warning about .sh scripts in CVS.