baselayout-2 (not yet in portage) is now in C and works with non bash shells. /sbin/splash-functions.sh is no longer sourced by /etc/init.d/functions.sh Instead, the splash functions will be handled by a plugin. I will attach a new init script that works with baselayout-1 and baselayout-2. I will also attach sample C code to make a plugin for baselayout-2. Obviously you cannot build this unless rc.h exists in /usr/include Of course, the ideal would be to scrap splash-functions.sh and move it entirely to the C plugin :) But that is for the future.
Created attachment 113246 [details, diff] Patch to current init script
Created attachment 113248 [details] splash C plugin Sample Makefile entry to build it splash: CFLAGS += -fPIC splash: splash.o $(CC) -fPIC -shared -Wl,-soname,splash.so -o splash.so splash.o splash.so should be installed to /lib/rcscripts/plugins
Created attachment 113371 [details] splash C plugin We need to inform localmount not to unmount the splash cache dir. If LIB is not defined we default to lib.
Big thanks for the sample splash plugin. Closing the bug since splashutils-1.4 comes with a pure C baselayout-2 plugin.