spreaded if for more readability
This commit is contained in:
parent
a884f563f6
commit
710c15b064
@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
xorriso -osirrox on -indev debian-11.3.0-amd64-netinst.iso -extract / isofiles
|
xorriso -osirrox on -indev debian-11.3.0-amd64-netinst.iso -extract / isofiles
|
||||||
sudo sed -i '/vesamenu.c32/d' isofiles/isolinux/isolinux.cfg
|
sudo sed -i '/vesamenu.c32/d' isofiles/isolinux/isolinux.cfg
|
||||||
if [[ $(grep timeout_style isofiles/boot/grub/grub.cfg) == "" ]]; then sudo sed -i 's/insmod play/set timeout_style=hidden\nset timeout=0\nset default=1\n\ninsmod play/' isofiles/boot/grub/grub.cfg; fi
|
if [[ $(grep timeout_style isofiles/boot/grub/grub.cfg) == "" ]]; then
|
||||||
|
sudo sed -i 's/insmod play/set timeout_style=hidden\nset timeout=0\nset default=1\n\ninsmod play/' isofiles/boot/grub/grub.cfg;
|
||||||
|
fi
|
||||||
|
|
||||||
chmod +w -R isofiles/install.amd/
|
chmod +w -R isofiles/install.amd/
|
||||||
gunzip isofiles/install.amd/initrd.gz
|
gunzip isofiles/install.amd/initrd.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user