ellenőrizni? mire gondolsz? akkor ping -w1 -c1 sambahost || exit 1; mount || exit 1; # vagy még pluszban ez is akár, de felesleges ellenőrzés szerintem mount | grep sambahost || exit 1; backup umount