/Designs/Measuring_instruments/RMDS01A/SW/Tools/test.sh
1,5 → 1,5
#!/usr/bin/env bash
 
ssh -o StrictHostKeyChecking=no -o BatchMode=yes meteor@neptun.avc-cvut.cz "exit"
ssh -o "BatchMode yes" meteor@neptun.avc-cvut.cz "exit"
 
[[ "$?" -eq 0 ]] && exit 0 || exit 1
/Designs/Measuring_instruments/RMDS01A/SW/Tools/tidyup.sh
85,8 → 85,7
# create directory with observatory name, year, month and day if hasn't existed before
[[ -d "$DAYDIR" ]] || mkdir -p "$DAYDIR"
# check if directory really exists (if fs is full it might not be created)
[[ -d "$DAYDIR" ]] && mv "$i" "$DAYDIR"
mv "$i" "$DAYDIR"
done
echo -n "$OBSERVATORY$SLASH$YEAR$SLASH$MONTH$SLASH$DAY" > LAST