The shooter was a usual suspect on comment boards like this, regularly denouncing immigrants and muslims as a threat.

He killed 3 times as many of them (6) as have been been killed in Islamist acts here on all of Canada's history (2).  Also, those 2 Islamist terror attacks were carried out by loner converts, not immigrants. 

Terrorism aims at 1 of 2 goals.  Against the majority, it is meant to induce the government to overreact, clamp down and radicalize your minority to your cause.  Against a minority, it is meant to send it packing.  Sunday's attack was no doubt the latter.