[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [BusyBox] How to update busybox on a running system ?
From: Erik Andersen <andersen () codepoet ! org>
Date: 2002-10-28 10:20:05
[Download RAW message or body]
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--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic