From: Leonid Krivoshein <klark.devel@gmail.com>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] grub-reboot и grub-set-default: --list и проверка ввода
Date: Tue, 5 Feb 2019 22:43:16 +0300
Message-ID: <d9d057f0-49d5-0cba-05dd-4d1f93e29679@gmail.com> (raw)
In-Reply-To: <201902051940.11194.a_s_y@sama.ru>
[-- Attachment #1: Type: text/plain, Size: 996 bytes --]
05.02.2019 18:40, Sergey пишет:
> On Tuesday 05 February 2019, Leonid Krivoshein wrote:
>
>> 2) Велосипед не мой, но вложенные меню учитывает:
>>
>> # ./grub-entries.sh
>> 0: ALT Workstation 8.2
>> 0>0 ALT Workstation 8.2, vmlinuz
>> 0>1 ALT Workstation 8.2, vmlinuz (recovery mode)
>> 0>2 ALT Workstation 8.2, 4.9.131-std-def-alt0.M80P.1
>> 1: Advanced options for ALT Workstation 8.2
>
> А правильно ли? Подпункты же в 1 должны быть? Вообще стоит поправить
> и опакетить, как мне кажется. Автор доступен? Разрешит? :-)
Не похоже, что правильно. И автора не знаю, но в поиске находится.
Тогда предлагаю свой велосипед -- задачка-то совсем не сложная:
./grub-entries.sh /boot/grub/grub.cfg
0 ALT Workstation 8.2
1 Advanced options for ALT Workstation 8.2
1>0 ALT Workstation 8.2, vmlinuz
1>1 ALT Workstation 8.2, vmlinuz (recovery mode)
1>2 ALT Workstation 8.2, 4.9.131-std-def-alt0.M80P.1
Можете опакетить, если надо. :)
--
Best regards,
Leonid Krivoshein.
[-- Attachment #2: grub-entries.sh --]
[-- Type: application/x-shellscript, Size: 890 bytes --]
next prev parent reply other threads:[~2019-02-05 19:43 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-05 12:13 Sergey
2019-02-05 13:08 ` Leonid Krivoshein
2019-02-05 15:40 ` Sergey
2019-02-05 19:43 ` Leonid Krivoshein [this message]
2019-02-05 19:54 ` Leonid Krivoshein
2019-02-05 20:14 ` Leonid Krivoshein
2019-02-05 21:11 ` Sergey
2019-02-05 21:08 ` Sergey
2019-02-05 22:07 ` Leonid Krivoshein
2019-02-06 5:35 ` Sergey
2019-02-06 5:54 ` Sergey
2019-02-06 8:03 ` Sergey
2019-02-07 11:53 ` Sergey
2019-02-07 12:15 ` Sergey
2019-02-08 7:37 ` Sergey
2019-02-08 20:52 ` Leonid Krivoshein
2019-02-05 21:32 ` Sergey
2019-02-05 22:37 ` Leonid Krivoshein
2019-02-05 21:12 ` Sergey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d9d057f0-49d5-0cba-05dd-4d1f93e29679@gmail.com \
--to=klark.devel@gmail.com \
--cc=sisyphus@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git