Project

General

Profile

Submit #1173 » hammer.sh.patch

rumcic, 12/06/2008 09:24 PM

View differences:

src/share/examples/rconfig/hammer.sh 2008-12-06 15:57:09 +0100
#
cpdup -o / /mnt
cpdup -o /var /mnt/var
cpdup -o /usr /mnt/usr
cpdup -o /dev /mnt/dev
cpdup -i0 /etc.hdd /mnt/etc
......
ssh-keygen -t dsa -f ssh_host_dsa_key -N ""
endif
# Misc cleanups
rm -R /mnt/README* /mnt/autorun* /mnt/index.html /mnt/dflybsd.ico
rm /mnt/boot.catalog
# take CD out and reboot
#
(1-1/2)