move cc mode config to init.d