* tty-backgrounds: declare /etc/splash properly.
svn path=/nixos/trunk/; revision=8507
This commit is contained in:
parent
f10a95e88e
commit
3f65f9ee55
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user