diff options
-rwxr-xr-x | share/provision/development | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/share/provision/development b/share/provision/development index eaa77c3..cf62c29 100755 --- a/share/provision/development +++ b/share/provision/development @@ -63,5 +63,7 @@ if ! grep -q "/swapfile" /etc/fstab; then fi # GRUB configuration -sudo sed -i -e 's|GRUB_TIMEOUT=5|GRUB_TIMEOUT=1|' /etc/default/grub -sudo update-grub +if ! grep -q "GRUB_TIMEOUT=1" /etc/default/grub; then + sudo sed -i -e 's|GRUB_TIMEOUT=5|GRUB_TIMEOUT=1|' /etc/default/grub + sudo update-grub +fi |