that's because init.rc is really part of the ramdisk image (included in boot.img with the kernel image). You need to regenerate a new ramdisk + boot image for this to work. There is no way to modify this file after boot.
On Wed, Mar 18, 2009 at 8:05 AM, cpedia <[email protected]> wrote: > > I flashed my adp1 to firmware 1.1 following the instruction from HTC. > http://www.htc.com/www/support/android/adp.html > > But after that, I want to modify the /init.rc, after I remount the > rootfs as writable, I can edit or replace the /init.rc file. But the > file will roll back the original version after reboot the phone. > > Before I modify the /init.rc, I install the busybox to the phone, then > I use 'cp" command to replace the /init.rc > > Any one can give me some advice? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

