2011/3/29 Ralf Friedl <[email protected]>: > Arno Steffen wrote: >> >> How can I exchange a busybox while the system is running? I have to >> use some kind of update script: >> >> #!/bin/sh >> mount -w -o remount / >> ... >> if [ -f busybox ] ; then >> chmod 4755 busybox >> mv busybox /bin >> fi >> ... >> mount -r -o remount / >> reboot > > You can try > > ln /bin/busybox /bin/busybox.old > mv busybox /bin/busybox > > Then remove /bin/busybox.old after the next reboot. > > Ralf >
Thanks for your help. I have tried Ralfs approach and it works. Just for my understanding (I like to learn more) : can you explain why this works? This is not very clear to me. But anyhow, thanks both of you for your answers. Regards Arno _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
