* 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;
|
themes = map (x: if x ? theme then (unpackTheme x.theme) else "default") backgrounds;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extraEtc = [
|
||||||
|
{ source = themesUnpacked;
|
||||||
|
target = "splash";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
job = "
|
job = "
|
||||||
start on hardware-scan
|
start on hardware-scan
|
||||||
|
|
||||||
start script
|
start script
|
||||||
|
|
||||||
rm -f /etc/splash
|
|
||||||
ln -s ${themesUnpacked} /etc/splash
|
|
||||||
|
|
||||||
# Critical: tell the kernel where to find splash_helper. It calls
|
# Critical: tell the kernel where to find splash_helper. It calls
|
||||||
# this program every time we switch between consoles.
|
# this program every time we switch between consoles.
|
||||||
echo ${splashutils}/bin/splash_helper > /proc/sys/kernel/fbsplash
|
echo ${splashutils}/bin/splash_helper > /proc/sys/kernel/fbsplash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user