Update pishrink.sh
This commit is contained in:
parent
c962994481
commit
0f8996443c
|
@ -331,7 +331,7 @@ if [[ $prep == true ]]; then
|
||||||
dd if=/dev/hwrng of=/dev/urandom count=1 bs=4096 status=none
|
dd if=/dev/hwrng of=/dev/urandom count=1 bs=4096 status=none
|
||||||
fi
|
fi
|
||||||
rm -f $mountdir/etc/ssh/ssh_host_*_key*
|
rm -f $mountdir/etc/ssh/ssh_host_*_key*
|
||||||
ssh-keygen -A -f $mountdir/etc/ssh > /dev/null
|
ssh-keygen -A -f $mountdir > /dev/null
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
#check if dropbear is enabled
|
#check if dropbear is enabled
|
||||||
|
|
Loading…
Reference in New Issue