init script: update rm with -d
grunt: add .* to lineending plugin