home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1999 August
/
PCWorld_1999-08_cd.bin
/
images
/
rescue.img
/
rescue
/
bin
/
init
< prev
next >
Wrap
Text File
|
1999-04-19
|
424b
|
26 lines
#!/bin/sh
mount -n -o remount,rw /
mount /proc
cp /proc/mounts /etc/mtab
open -l /bin/sh
echo ''
echo 'This is the Red Hat rescue disk. Most of the basic system commands are'
echo 'in /bin.'
echo ''
echo 'Type exit to halt the system.'
echo ''
/bin/sh
echo "Unmounting filesystems..."
tac /proc/mounts | while read line ; do
set
if [ != "/" ]; then
umount
fi
done
echo "Halting system.. All fixed? :-)"