(cc'ed to list because of attached script)

On 28 February 2010 10:29, Michael Moroni <[email protected]> wrote:
> 2010/2/27 Joachim Ott <[email protected]>
>>
>> After a reboot, it kept saying
>>
>> can't open /dev/S
>> can't open dev/z6
>
> I had the same problem so I chose to reflash.

Sorry for being slow, I finished my script just today. It's a bash
script, if you don't have bash or you don't want to install it, you
have to redo name=${1%.*} and ${link##*/} with expr (man expr).

If you call the script without params, it just shows what it would do:
e.g. in /bin for chmod.coreutils, if chmod is a link to busybox, it
changes it to chmod.coreutils. It does not link across directories, so
some files will remain and you have to do it by hand (like /bin/df to
/usr/bin/df.coreutils).

You can also run it on a mounted fs with

  ROOT=/media/mtdblock6 opkg-rework

And still others are not covered by the script like /bin/bash ->
/bin/sh or /usr/bin/vim -> /bin/vi.

This is too late for you now, but maybe next week busybox strikes back
and you don't want another reflash.

Attachment: opkg-rework
Description: Binary data

_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to