grub_background
This commit is contained in:
parent
4d194cb37e
commit
b0729b4443
3 changed files with 5 additions and 0 deletions
|
@ -828,6 +828,10 @@ if [ "$version" != "lite" ] && [ "$skip" != "skip" ]; then
|
||||||
cp /opt/${repo}/*.jpg /usr/share/backgrounds/xfce/
|
cp /opt/${repo}/*.jpg /usr/share/backgrounds/xfce/
|
||||||
chmod 755 -Rv /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
|
if [ "$version" != "pi" ] && [ "$packageupdate" != "skip" ]; then
|
||||||
# zusatzsoftware
|
# zusatzsoftware
|
||||||
su "$username" -c "aurinstaller "https://aur.archlinux.org/google-chrome.git""
|
su "$username" -c "aurinstaller "https://aur.archlinux.org/google-chrome.git""
|
||||||
|
|
|
@ -566,6 +566,7 @@ function installation {
|
||||||
function grubinstall() {
|
function grubinstall() {
|
||||||
sed -i 's/GRUB_DISTRIBUTOR=.*$/GRUB_DISTRIBUTOR=\"'$repo'\"/' ${mountpoint}/etc/default/grub
|
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_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
|
if [ "${verschluesselung}" == "y" ]; then
|
||||||
tobootdevice=$(blkid -s PARTUUID -o value ${device}${rootpartitionnummer})
|
tobootdevice=$(blkid -s PARTUUID -o value ${device}${rootpartitionnummer})
|
||||||
if [ "${swap}" != "n" ]; then
|
if [ "${swap}" != "n" ]; then
|
||||||
|
|
BIN
grub_background.png
Normal file
BIN
grub_background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 715 KiB |
Loading…
Reference in a new issue