Changeset 1581 in MondoRescue for branches/stable/mindi/rootfs/sbin/untar-and-softlink
- Timestamp:
- Jul 27, 2007, 2:11:55 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/rootfs/sbin/untar-and-softlink
r866 r1581 14 14 # ---------------------- main ---------------------- 15 15 16 mountpoint= /mnt/floppy16 mountpoint="" 17 17 [ -e "/tmp/CDROM-LIVES-HERE" ] && mountpoint=/mnt/cdrom/images 18 18 [ "$#" -eq "3" ] || Die "untar-and-softlink <tarball> <untar_to> <softlink_to>" … … 23 23 if [ -e "/tmp/CDROM-LIVES-HERE" ] ; then 24 24 [ -e "$tarball" ] || LogIt "Can't find CD's $tarball" 1 25 else26 while [ ! -f "$tarball" ] ; do27 echo -e -n "Please insert data (floppy) disk #$diskno and press ENTER."28 read line29 mount /dev/fd0 -t ext2 -o ro $mountpoint30 [ -f "$tarball" ] || umount $mountpoint ; # unmount if tarball not on disk31 echo -en "Working..."32 done33 25 fi 34 26
Note:
See TracChangeset
for help on using the changeset viewer.