fix functions.sh location for gentoo; create /lib/rc/sh for older stages that don...