wifi: add init scripts and make some changes