I have looked into providing a timeout for this prompt, however the extraordinarily limited ash shell in busybox makes this very difficult.
Something like this seems to work well in bash/dash/ash, however, it does not work properly in busybox.
# Set a 15-second timeout for this question trap : USR1 (sleep 15 && kill -USR1 "$$" 2>/dev/null) & pid=$! read -p "Do you wish to boot the degraded RAID? [y/N]: " -r BOOT_DEGRADED kill "$pid" 2> /dev/null
In any case, perhaps this is a nice-to-have, but does not have to be part of this commit.
I've tested the above debdiff and I'm satisfied with it. Requesting sponsorship.
:-Dustin
I have looked into providing a timeout for this prompt, however the extraordinarily limited ash shell in busybox makes this very difficult.
Something like this seems to work well in bash/dash/ash, however, it does not work properly in busybox.
In any case, perhaps this is a nice-to-have, but does not have to be part of this commit.
I've tested the above debdiff and I'm satisfied with it. Requesting sponsorship.
:-Dustin