He would greet every train that arrived each day after that, expecting his master to return.
It took station employees some time to realize that the body in the casket was probably the dog's master, and it was showing up for each incoming train to see if his master would be getting off.