Lines 211-215
Link Here
|
211 |
print_info 1 "initrd: copying bootsplash" |
211 |
source /etc/conf.d/bootsplash.conf |
212 |
/sbin/splash -s -f /etc/bootsplash/gentoo/config/bootsplash-800x600.cfg >> ${TEMP}/initrd-loop || gen_die "could not copy 800x600 bootsplash" |
212 |
|
213 |
/sbin/splash -s -f /etc/bootsplash/gentoo/config/bootsplash-1024x768.cfg >> ${TEMP}/initrd-loop || gen_die "could not copy 1024x768 bootsplash" |
213 |
if [ -z "${BOOTSPLASH_THEME}" ] |
214 |
/sbin/splash -s -f /etc/bootsplash/gentoo/config/bootsplash-1280x1024.cfg >> ${TEMP}/initrd-loop || gen_die "could not copy 1280x1024 bootsplash" |
214 |
then |
215 |
/sbin/splash -s -f /etc/bootsplash/gentoo/config/bootsplash-1600x1200.cfg >> ${TEMP}/initrd-loop || gen_die "could not copy 1600x1200 bootsplash" |
215 |
BOOTSPLASH_THEME=default |
216 |
-- |
216 |
fi |
|
|
217 |
|
218 |
print_info 1 "initrd: copying bootsplash theme:${BOOTSPLASH_THEME}" |
219 |
|
220 |
for res in 800x600 1024x768 1280x1024 1600x1200 |
221 |
do |
222 |
if [ -f "/etc/bootsplash/${BOOTSPLASH_THEME}/config/bootsplash-${res}.cfg" ] |
223 |
then |
224 |
/sbin/splash -s -f /etc/bootsplash/${BOOTSPLASH_THEME}/config/bootsplash-${res}.cfg >> ${TEMP}/initrd-loop || gen_die "could not copy ${res} bootsplash" |
225 |
print_info 1 "splash: Copied resolution ${res}" |
226 |
else |
227 |
print_info 1 "splash: Cannot find splash for ${res} continuing" |
228 |
fi |
229 |
done |