Revision b6b87fef
Added by Scott Ullrich about 16 years ago
etc/rc.firmware | ||
---|---|---|
198 | 198 |
fdisk $BOOT_DRIVEs2 >> /conf/upgrade_log.txt |
199 | 199 |
fdisk $BOOT_DRIVEs2a >> /conf/upgrade_log.txt |
200 | 200 |
fdisk $BOOT_DRIVEs3 >> /conf/upgrade_log.txt |
201 |
bsdlabel -A $BOOT_DRIVEs1 >> /conf/upgrade_log.txt |
|
202 |
bsdlabel -A $BOOT_DRIVEs2 >> /conf/upgrade_log.txt |
|
203 |
bsdlabel -A $BOOT_DRIVEs3 >> /conf/upgrade_log.txt |
|
201 | 204 |
echo "" >> /conf/upgrade_log.txt |
202 | 205 |
|
203 | 206 |
# Log that we are really doing a NanoBSD upgrade |
... | ... | |
228 | 231 |
fdisk $BOOT_DRIVEs2 >> /conf/upgrade_log.txt |
229 | 232 |
fdisk $BOOT_DRIVEs2a >> /conf/upgrade_log.txt |
230 | 233 |
fdisk $BOOT_DRIVEs3 >> /conf/upgrade_log.txt |
234 |
bsdlabel -A $BOOT_DRIVEs1 >> /conf/upgrade_log.txt |
|
235 |
bsdlabel -A $BOOT_DRIVEs2 >> /conf/upgrade_log.txt |
|
236 |
bsdlabel -A $BOOT_DRIVEs3 >> /conf/upgrade_log.txt |
|
231 | 237 |
echo "" >> /conf/upgrade_log.txt |
232 | 238 |
|
233 | 239 |
# Ensure that our new system is sound and bail if it is not and file a notice |
... | ... | |
297 | 303 |
fdisk $BOOT_DRIVEs2 >> /conf/upgrade_log.txt |
298 | 304 |
fdisk $BOOT_DRIVEs2a >> /conf/upgrade_log.txt |
299 | 305 |
fdisk $BOOT_DRIVEs3 >> /conf/upgrade_log.txt |
306 |
bsdlabel -A $BOOT_DRIVEs1 >> /conf/upgrade_log.txt |
|
307 |
bsdlabel -A $BOOT_DRIVEs2 >> /conf/upgrade_log.txt |
|
308 |
bsdlabel -A $BOOT_DRIVEs3 >> /conf/upgrade_log.txt |
|
300 | 309 |
echo "" >> /conf/upgrade_log.txt |
301 | 310 |
|
302 | 311 |
# Remove extra stuff |
Also available in: Unified diff
Output bsdlabel -A diagnostics as well