Skip to content

Commit

Permalink
Change default timeout to 1s
Browse files Browse the repository at this point in the history
  • Loading branch information
RadxaYuntian committed Aug 29, 2022
1 parent 6eafb5d commit 4daa7d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions root/usr/sbin/update-extlinux
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ fi

echo "Updating /boot/extlinux/extlinux.conf ..."

TIMEOUT=${TIMEOUT:-3}
TIMEOUT=${TIMEOUT:-10}
APPEND="$(cat /etc/kernel/cmdline)${APPEND:+ $APPEND}"

mkdir -p /boot/extlinux/
cat << EOF > /boot/extlinux/extlinux.conf.new
timeout $TIMEOUT
menu title Radxa Boot Selection
timeout $TIMEOUT
#default $DEFAULT
EOF
Expand Down

0 comments on commit 4daa7d2

Please sign in to comment.