Changeset 1698 in MondoRescue for branches/2.2.5/mindi/rootfs/sbin/init
- Timestamp:
- Oct 22, 2007, 1:33:59 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mindi/rootfs/sbin/init
r1643 r1698 439 439 # ------------------------ main ----------------------- 440 440 441 MINDI_VER= VVV442 MINDI_REV= RRR441 MINDI_VER=PBVER 442 MINDI_REV=PBREV 443 443 trap CaughtSoftReset SIGTERM 444 444 LOGFILE=/var/log/mondorestore.log … … 475 475 fi 476 476 477 if [ "`grep -i 'tape ' /tmp/mondo-restore.cfg`" ] || [ "`grep -i udev /tmp/mondo-restore.cfg`" ] 477 if [ "`grep -i 'tape ' /tmp/mondo-restore.cfg`" ] || [ "`grep -i udev /tmp/mondo-restore.cfg`" ]; then 478 478 HandleTape 479 479 ExtractDataDisksAndLoadModules … … 481 481 # We need to get here exported variables from start-nfs 482 482 . /sbin/start-nfs 483 484 # Simulate a local CD 485 echo "/mnt/cdrom" > /tmp/CDROM-LIVES-HERE 486 CD_MOUNTED_OK=yes 487 ExtractDataDisksAndLoadModules 488 elif [ "`grep -i usb= /proc/cmdline`" ] || [ "`grep -i usb /tmp/mondo-restore.cfg | grep media-type`" ]; then 489 # We need to get here exported variables from start-nfs 490 . /sbin/start-usb 483 491 484 492 # Simulate a local CD
Note:
See TracChangeset
for help on using the changeset viewer.