hammer.sh.patch
| src/share/examples/rconfig/hammer.sh 2008-12-06 15:57:09 +0100 | ||
|---|---|---|
| 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 | |
| ... | ... | |
| 213 | 214 |
ssh-keygen -t dsa -f ssh_host_dsa_key -N "" |
| 214 | 215 |
endif |
| 215 | 216 | |
| 217 |
# Misc cleanups |
|
| 218 |
rm -R /mnt/README* /mnt/autorun* /mnt/index.html /mnt/dflybsd.ico |
|
| 219 |
rm /mnt/boot.catalog |
|
| 220 | ||
| 216 | 221 |
# take CD out and reboot |
| 217 | 222 |
# |