grub_background

This commit is contained in:
simono41 2018-08-26 19:00:17 +02:00
parent 4d194cb37e
commit b0729b4443
3 changed files with 5 additions and 0 deletions

View file

@ -828,6 +828,10 @@ if [ "$version" != "lite" ] && [ "$skip" != "skip" ]; then
cp /opt/${repo}/*.jpg /usr/share/backgrounds/xfce/
chmod 755 -Rv /usr/share/backgrounds/xfce/
# grub_background
mkdir -p /usr/share/grub/
cp grub_background.png /usr/share/grub/background.png
if [ "$version" != "pi" ] && [ "$packageupdate" != "skip" ]; then
# zusatzsoftware
su "$username" -c "aurinstaller "https://aur.archlinux.org/google-chrome.git""

View file

@ -566,6 +566,7 @@ function installation {
function grubinstall() {
sed -i 's/GRUB_DISTRIBUTOR=.*$/GRUB_DISTRIBUTOR=\"'$repo'\"/' ${mountpoint}/etc/default/grub
sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT=.*$/GRUB_CMDLINE_LINUX_DEFAULT="splash"/' ${mountpoint}/etc/default/grub
sed -i 's/GRUB_BACKGROUND=.*$/GRUB_BACKGROUND="/usr/share/grub/background.png"/' ${mountpoint}/etc/default/grub
if [ "${verschluesselung}" == "y" ]; then
tobootdevice=$(blkid -s PARTUUID -o value ${device}${rootpartitionnummer})
if [ "${swap}" != "n" ]; then

BIN
grub_background.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 715 KiB