update a running busybox
Ralf Friedl
Ralf.Friedl at online.de
Tue Mar 29 15:46:24 UTC 2011
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
More information about the busybox
mailing list