ocochard / BSDRP

BSD Router Project
https://bsdrp.net
Other
177 stars 38 forks source link

make disk detection more robust in upgrade and system scripts #4

Closed wwaites closed 9 years ago

wwaites commented 9 years ago

A Dell host with PERC controller identifies its disk as mfisyspd0. This causes the upgrade and system scripts to fail because they look for 's' in order to separate the disk identifier from the slices.

This patch contains a better awk command line that should work more generally.