-
Senior Member
registered user
Here's the stanza beginning at line 734 of the init of minirt.gz
...with two added lines defining a new cheatcode "restore":
# Check for updates on-disk, install them if necessary. ############## line 734
if checkbootparam "restore" then ####################### first added line
ls /mnt-system/KNOPPIX/update*.zip /mnt-system/KNOPPIX/update*.tar.gz\
/mnt-system/KNOPPIX/update*.taz 2>/dev/null | while read update; do
if [ -r "$update" ]; then
message -e "\r${CRE}${GREEN}${UPDATING} ${YELLOW}$update${NORMAL}"
case "$update" in
*.zip) ( cd / ; unzip -o "$update" >/dev/null 2>&1 ) ;;
*.tar.gz|*.taz) ( cd / ; tar -zxf "$update" >/dev/null 2>&1 ) ;;
esac
fi
done
fi ########################################## second added line
With this modification to initrd.gz, we could change the backup routine
to save update.tar.gz to /mnt-system/KNOPPIX/, and leave it there.
It would be activated only by the cheatcode "restore" and the update
could remain in place and not require moving it around.
Last edited by utu; 06-25-2011 at 08:48 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Vintage 50s Library of Science Calculo Analog Early Home DIY Computer Kit + Box
$249.99
Vintage 1960s Donner Model 3000 Analog Computer ~ MUSEUM PIECE Extremely Rare
$4000.00
NEC Multisync II JC-1402HMA VGA EGA CGA Analog TTL Computer Monitor Vintage 1988
$699.99
Tandy TRS 80 Computer 2 w/Disc Drive FD-501, Joystick & Original Boxes & Manuals
$250.00
Macintosh SE/30 M5119 Computer 20MB RAM 1.2GB Hard Drive Recapped Working *Read*
$475.00
NEW Aquarius+ Computer Signature Edition - 8Bit Retro System
$239.00
Vintage Gateway 2000 Computer Intellimouse PC Mouse Pad Excellent NOS Analog Era
$17.49
Vintage CH Computer Gamer Joystick Gaming7Pin Analog - UNTESTED
$30.00
Extron RGB-160XI Analog Computer Video 60-378-01
$187.06
Macintosh Classic/Classic II Analog Board Computer 630-0395 New
$270.00