* Allow the tty-backgrounds service to be stopped, and remove the
themes from all consoles when we do so. svn path=/nixu/trunk/; revision=7140
This commit is contained in:
parent
0b1caba9d8
commit
19659d26c2
@ -14,11 +14,16 @@ rec {
|
|||||||
md5 = "da49f04988ab04b7e0de117b0d25061a";
|
md5 = "da49f04988ab04b7e0de117b0d25061a";
|
||||||
};
|
};
|
||||||
|
|
||||||
themePativo = fetchurl {
|
themePativo = fetchurl { # Yeah!
|
||||||
url = http://www.bootsplash.de/files/themes/Theme-Pativo.tar.bz2;
|
url = http://www.bootsplash.de/files/themes/Theme-Pativo.tar.bz2;
|
||||||
md5 = "9e13beaaadf88d43a5293e7ab757d569";
|
md5 = "9e13beaaadf88d43a5293e7ab757d569";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
themeGNU = fetchurl {
|
||||||
|
url = http://www.bootsplash.de/files/themes/Theme-GNU.tar.bz2;
|
||||||
|
md5 = "61969309d23c631e57b0a311102ef034";
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
# The themes to use for each tty. For each tty except the first
|
# The themes to use for each tty. For each tty except the first
|
||||||
# entry in the list, you can omit `theme' to get the same theme as
|
# entry in the list, you can omit `theme' to get the same theme as
|
||||||
@ -32,13 +37,13 @@ rec {
|
|||||||
{ tty = 2;
|
{ tty = 2;
|
||||||
}
|
}
|
||||||
{ tty = 3;
|
{ tty = 3;
|
||||||
theme = themeFrozenBubble;
|
theme = themeGNU;
|
||||||
}
|
}
|
||||||
{ tty = 4;
|
{ tty = 4;
|
||||||
theme = themePativo;
|
theme = themeGNU;
|
||||||
}
|
}
|
||||||
{ tty = 6;
|
{ tty = 5;
|
||||||
theme = themeFrozenBubble;
|
theme = themePativo;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ rec {
|
|||||||
job = "
|
job = "
|
||||||
start on hardware-scan
|
start on hardware-scan
|
||||||
|
|
||||||
script
|
start script
|
||||||
|
|
||||||
rm -f /etc/splash
|
rm -f /etc/splash
|
||||||
ln -s ${themesUnpacked} /etc/splash
|
ln -s ${themesUnpacked} /etc/splash
|
||||||
@ -39,6 +39,16 @@ script
|
|||||||
done
|
done
|
||||||
|
|
||||||
end script
|
end script
|
||||||
|
|
||||||
|
respawn sleep 10000 # !!! Hack
|
||||||
|
|
||||||
|
stop script
|
||||||
|
# Disable the theme on each console.
|
||||||
|
for tty in ${toString (map (x: x.tty) backgrounds)}; do
|
||||||
|
${splashutils}/bin/splash_util --tty $tty -c off || true
|
||||||
|
done
|
||||||
|
end script
|
||||||
|
|
||||||
";
|
";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user