diff options
| author | Blake Romero <blake@blkrom.com> | 2024-04-18 18:59:22 +0100 |
|---|---|---|
| committer | Blake Romero <blake@blkrom.com> | 2024-04-18 18:59:22 +0100 |
| commit | d8a5f65e9ed8ca7741700bcc1aab86e6bb1ec1e0 (patch) | |
| tree | cc3c30c627e9af96187065c5d387e258acdbc4ba | |
| parent | 24ea394107199d146dd656da33e13fdc2d87a54e (diff) | |
Adjust regexp in grub comand
| -rwxr-xr-x | install-artix.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install-artix.sh b/install-artix.sh index e0e820b..1c4df58 100755 --- a/install-artix.sh +++ b/install-artix.sh @@ -335,7 +335,7 @@ devices+=" resume_offset=$(btrfs inspect-internal map-swapfile -r $swapfile)" grub_cmds="loglevel=3 net.iframes=0 quiet splash" # Replace default grub commands -sed "s/^GRUB_CMDLINE_LINUX_DEFAULT=.*$/GRUB_CMDLINE_LINUX_DEFAULT=\"${grub_cmds} ${devices}\"/" \ +sed "s/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT=\"${grub_cmds} ${devices}\"/" \ -i /mnt/etc/default/grub # Enable os-prober to detect other operating systems |
