hammer.sh.patch
| b/share/examples/rconfig/hammer.sh | ||
|---|---|---|
| 119 | 119 |
# |
| 120 | 120 |
cpdup -o / /mnt |
| 121 | 121 |
cpdup -o /var /mnt/var |
| 122 |
cpdup -o /usr /mnt/usr |
|
| 122 | 123 |
cpdup -o /dev /mnt/dev |
| 123 | 124 |
cpdup -i0 /etc.hdd /mnt/etc |
| 124 | 125 | |
| ... | ... | |
| 178 | 179 |
# |
| 179 | 180 |
cat >> /mnt/etc/sysctl.conf << EOF |
| 180 | 181 |
#net.inet.ip.portrange.first=4000 |
| 182 | ||
| 183 |
kern.bootfile=/boot/kernel |
|
| 181 | 184 |
EOF |
| 182 | 185 | |
| 183 | 186 |
# adjust work directory for pkgsrc in case we want |
| ... | ... | |
| 213 | 216 |
ssh-keygen -t dsa -f ssh_host_dsa_key -N "" |
| 214 | 217 |
endif |
| 215 | 218 | |
| 219 |
# Misc cleanups |
|
| 220 |
rm -R /mnt/README* /mnt/autorun* /mnt/index.html /mnt/dflybsd.ico |
|
| 221 |
rm /mnt/boot.catalog |
|
| 222 | ||
| 216 | 223 |
# take CD out and reboot |
| 217 | 224 |
# |