Man sentenced to probation in attempted truck theft