From 7ff6b6a715852b1c7f56d6a30d42d54105bcc0a4 Mon Sep 17 00:00:00 2001 From: John Bowler Date: Sat, 11 Jun 2005 00:06:10 +0000 Subject: Implementation of reflash without RedBoot/upslug. Very limited testing. To try it run 'reflash help'. BKrev: 42aa2af2mr4JkjqtkaV8hSbfxSC9bw --- packages/openslug-init/openslug-init-0.10/turnup | 191 ++++++++++++++++++++--- 1 file changed, 171 insertions(+), 20 deletions(-) (limited to 'packages/openslug-init/openslug-init-0.10/turnup') diff --git a/packages/openslug-init/openslug-init-0.10/turnup b/packages/openslug-init/openslug-init-0.10/turnup index d22e15c208..a33a58ad02 100644 --- a/packages/openslug-init/openslug-init-0.10/turnup +++ b/packages/openslug-init/openslug-init-0.10/turnup @@ -385,24 +385,6 @@ boot_rootfs() { return 0 } -# -# mountflash -# Finds and mounts the flash file system -mountflash() { - local ffsdev - - ffsdev="$(mtblockdev Flashdisk)" - test -n "$ffsdev" -a -b "$ffsdev" || { - echo "turnup disk: unable to find flash file system to copy ($ffsdev)" >&2 - return 1 - } - mount -t jffs2 "$ffsdev" "$1" || { - echo "turnup disk: $ffsdev: unable to mount flash file system on $1" >&2 - return 1 - } - return 0 -} - # # disk [-m] [-i] [-s