* tty-backgrounds: declare /etc/splash properly.

svn path=/nixos/trunk/; revision=8507
This commit is contained in:
Eelco Dolstra 2007-03-30 13:08:01 +00:00
parent f10a95e88e
commit 3f65f9ee55

View file

@ -15,14 +15,17 @@ rec {
themes = map (x: if x ? theme then (unpackTheme x.theme) else "default") backgrounds;
};
extraEtc = [
{ source = themesUnpacked;
target = "splash";
}
];
job = "
start on hardware-scan
start script
rm -f /etc/splash
ln -s ${themesUnpacked} /etc/splash
# Critical: tell the kernel where to find splash_helper. It calls
# this program every time we switch between consoles.
echo ${splashutils}/bin/splash_helper > /proc/sys/kernel/fbsplash