make cp instead of rm

This commit is contained in:
Nico Schottelius 2019-12-14 16:47:35 +01:00
parent 5343a8b8af
commit fbcecc1bf2

View file

@ -26,8 +26,8 @@ auto eth0
iface eth0 inet6 auto iface eth0 inet6 auto
EOF EOF
mv ${dir}/boot/vmlinuz-* ${kernel} cp ${dir}/boot/vmlinuz-* ${kernel}
rm ${dir}/boot/initrd* #rm ${dir}/boot/initrd*
mkdir -p ${dir}/root/.ssh mkdir -p ${dir}/root/.ssh
for key in balazs dominique jinguk nico; do for key in balazs dominique jinguk nico; do