Sync to r1222: adjust freenas-common to build proper south-enabled db, first cut at upgrade script.
Authored by: bsdimp 2010-11-30
Parent: [r5639]
Child: [r5641]