Commit c5ce9d4c authored by Dan Reading's avatar Dan Reading
Browse files

Issue #316 emulab/emulab-devel

In checknode code for FreeBSD don't check the /dev/ad* device if it is a symlink.
[I think the a error in the test command for -c]
parent d7aa8b1a
......@@ -770,6 +770,8 @@ getdrivenames() {
list="0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15"
for i in $list
do
[[ ! -L /dev/ad${i} ]] && [[ -c /dev/ad${i} ]] && drivelist+="/dev/ad${i} "
[[ -c /dev/ada${i} ]] && drivelist+="/dev/ada${i} "
[[ -c /dev/ad${i} ]] && drivelist+="/dev/ad${i} "
[[ -c /dev/da${i} ]] && drivelist+="/dev/da${i} "
[[ -c /dev/ar${i} ]] && drivelist+="/dev/ar${i} "
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment