add init.d function, modify cache permissions