#!/bin/bash set -e cd /root rm -rf sg2d git clone --depth 1 -q https://github.com/supergrub/supergrub.git sg2d cd sg2d echo "=== default/timeout in menus:" grep -rn 'set default\|set timeout\|default=' menus/ | head -20 echo echo "=== main.cfg (first 120 lines):" sed -n '30,120p' menus/sgd/main.cfg