From fbcecc1bf2fe46cce7f7051fac4c60d258486b98 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 14 Dec 2019 16:47:35 +0100 Subject: [PATCH] make cp instead of rm --- debian-devuan-netboot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian-devuan-netboot.sh b/debian-devuan-netboot.sh index 9585709..8937872 100755 --- a/debian-devuan-netboot.sh +++ b/debian-devuan-netboot.sh @@ -26,8 +26,8 @@ auto eth0 iface eth0 inet6 auto EOF -mv ${dir}/boot/vmlinuz-* ${kernel} -rm ${dir}/boot/initrd* +cp ${dir}/boot/vmlinuz-* ${kernel} +#rm ${dir}/boot/initrd* mkdir -p ${dir}/root/.ssh for key in balazs dominique jinguk nico; do