master
Artem Proskurnev 2 years ago
parent 77078f9bcd
commit 5db5fc945b
  1. 5
      installer-feature-mos-hide-grub.spec
  2. 2
      installer-feature-mos-hide-grub/92-mos-hide-grub.sh

@ -1,6 +1,6 @@
Name: installer-feature-mos-hide-grub
Version: 1.0
Release: alt1
Release: alt2
Summary: feature to M OS hide grub
Summary(ru_RU.UTF-8): Фича инсталлятора для настройки М ОС скрытие меню grub
@ -30,6 +30,9 @@ install -pm755 92-mos-hide-grub.sh %buildroot%hookdir/
%hookdir/92-mos-hide-grub.sh
%changelog
* Wed Aug 31 2022 Artem Proskurnev <tema@altlinux.org> 1.0-alt2
- Timeout 2s
* Tue Aug 30 2022 Artem Proskurnev <tema@altlinux.org> 1.0-alt1
- Init

@ -3,5 +3,5 @@
a= . install2-init-functions
#Настрока grub
sed -i 's/#GRUB_HIDDEN_TIMEOUT/GRUB_HIDDEN_TIMEOUT/g' $destdir/etc/sysconfig/grub2
sed -i 's/#GRUB_HIDDEN_TIMEOUT=3/GRUB_HIDDEN_TIMEOUT=2/g' $destdir/etc/sysconfig/grub2
sed -i 's/#GRUB_HIDDEN_TIMEOUT_QUIET/GRUB_HIDDEN_TIMEOUT_QUIET/g' $destdir/etc/sysconfig/grub2

Loading…
Cancel
Save