]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Prevent sysinstall from needlessly waiting for confirmation when using an USB
authorRink Springer <rink@FreeBSD.org>
Sun, 16 Aug 2009 10:11:33 +0000 (10:11 +0000)
committerRink Springer <rink@FreeBSD.org>
Sun, 16 Aug 2009 10:11:33 +0000 (10:11 +0000)
commitab1a777e91108fe75346dfb805029bcad5817d11
treeab9e13f6a9ca449a88535edefade2403fea6e711
parent538e86713d153598a9069d6c77b98d51d4c740cb
Prevent sysinstall from needlessly waiting for confirmation when using an USB
device in non-interactive mode.

If there are no USB devices, sysinstall gives an error messages, and if there
is >1, it'll ask which one is to be used. This change allows a non-interactive
install from USB media to succeed without any user interaction if there is
exactly one USB disk device in the system it can use.

Submitted by: Daniel O'Connor < doconnorat gsoft dot com dot au >
Reviewed by: randi
Approved by: re (rwatson)
usr.sbin/sysinstall/media.c