Revision eab89033
Added by Scott Ullrich almost 16 years ago
usr/local/www/diag_nanobsd.php | ||
---|---|---|
122 | 122 |
$ABOOTFLASH="{$BOOT_DRIVE}s{$AOLDSLICE}"; |
123 | 123 |
} |
124 | 124 |
|
125 |
$NANOBSD_SIZE = file_get_contents("/etc/nanosize.txt"); |
|
126 |
|
|
127 | 125 |
conf_mount_rw(); |
128 | 126 |
exec("sysctl kern.geom.debugflags=16"); |
129 | 127 |
exec("gpart set -a active -i {$ASLICE} {$BOOT_DRIVE}"); |
... | ... | |
144 | 142 |
detect_slice_info(); |
145 | 143 |
} |
146 | 144 |
|
145 |
$NANOBSD_SIZE = file_get_contents("/etc/nanosize.txt"); |
|
146 |
|
|
147 | 147 |
if($_POST['destslice']) { |
148 | 148 |
|
149 | 149 |
echo <<<EOF |
Also available in: Unified diff
Use /etc/nanosize.txt