init.c edit from slimrom