mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-24 09:13:37 +01:00
d0b2dbfa0e
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
19 lines
249 B
Bash
19 lines
249 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
MD=99
|
|
(
|
|
for s in 1m 4m 60m 120m 240m 1g
|
|
do
|
|
(
|
|
mdconfig -d -u $MD || true
|
|
mdconfig -a -t malloc -s $s -u $MD
|
|
disklabel -w md$MD auto
|
|
./newfs -R /dev/md${MD}c
|
|
) 1>&2
|
|
md5 < /dev/md${MD}c
|
|
done
|
|
mdconfig -d -u $MD 1>&2 || true
|
|
)
|