the rpi() must first delete the old current_rpi_config in case its a link

This commit is contained in:
Sebastian Moser
2023-11-10 18:12:41 +01:00
parent 48163bcf93
commit 03a55289ec

View File

@@ -138,6 +138,7 @@
# a little programm, that changes the ssh config to always be able to acces rpi
function rpi(){
ssh_dir=~/.ssh
rm -f $ssh_dir/current_rpi_config
if [ "$1" == "l" ]
then
cp $ssh_dir/rpi/local $ssh_dir/current_rpi_config