pkg upgrade
some init cleanup