[BusyBox] How to update busybox on a running system ?
Erik Andersen
andersen at codepoet.org
Mon Oct 28 10:20:05 UTC 2002
On Mon Oct 28, 2002 at 05:55:43PM +0100, Steven Scholz wrote:
> Hi there,
>
> I wonder if someone updates busybox while the system is running using some file
> transfer!?
>
> A simple ftp upload fails on my machine with "Can't open file: text file is
> busy"
You want to do something like this:
#!/bin/sh
cd /bin
wget -O busybox.bin http://some.system.somewhere/busybox
chmod a+x busybox.bin
./busybox.bin mv busybox bb
./bb mv busybox.bin busybox
rm ./bb
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the busybox
mailing list