Recently I’m playing with my OpenWrt router on a PVE machine, and I noticed that there’s a 5 second timeout in the boot procedure.
It’s important to have a router boot up fast. So I searched online how to change the timeout setting. Unfortunately OpenWrt isn’t Debian, while most tutorials I found online is Debian or RHEL. So stuff works quite differently.
After some digging I found that you can actually override
/boot/grub/grub.cfg, because there’s no
/boot was read-only for me, so I first had to run
$ mount -o remount,rw /boot
And finally I could do
$ vim /boot/grub/grub.cfg
According to the GRUB documentation:
0, and it worked flawlessly.