Changeset 2488 in MondoRescue for branches/2.2.10/mindi/rootfs/sbin
- Timestamp:
- Nov 18, 2009, 9:41:00 PM (15 years ago)
- Location:
- branches/2.2.10/mindi/rootfs/sbin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mindi/rootfs/sbin/find-and-mount-cdrom
r2462 r2488 70 70 [ "$SECOND_TRY" ] && add="At 2nd attempt, " || add="" 71 71 LogIt $add"CD-ROM found and mounted at $device" 3 72 echo "$device" > /tmp/CDROM-LIVES-HERE72 echo "$device" > $MINDI_CACHE/CDROM-LIVES-HERE 73 73 LogIt "find-and-mount-cdrom --- leaving (0)" 74 74 exit 0 -
branches/2.2.10/mindi/rootfs/sbin/ide-opt
r1983 r2488 8 8 echo -e -n "Optimizing IDE drive access..." 9 9 10 cdrom_lives_here=`cat /tmp/CDROM-LIVES-HERE`10 cdrom_lives_here=`cat $MINDI_CACHE/CDROM-LIVES-HERE` 11 11 if [ "$?" -ne "0" ] ; then 12 12 echo "I don't know where the CDROM lives. Optimization cancelled." -
branches/2.2.10/mindi/rootfs/sbin/init
r2487 r2488 84 84 85 85 LaunchTerminals() { 86 openvt 2/bin/sh87 openvt 3/bin/sh88 openvt 4/bin/sh89 openvt 5/bin/sh90 openvt 6/bin/sh91 openvt 7/bin/sh /sbin/wait-for-petris92 openvt 8/usr/bin/tail -f $LOGFILE86 openvt -l /bin/sh 87 openvt -l /bin/sh 88 openvt -l /bin/sh 89 openvt -l /bin/sh 90 openvt -l /bin/sh 91 openvt -l /bin/sh /sbin/wait-for-petris 92 openvt -l /usr/bin/tail -f $LOGFILE 93 93 # May avoid shell error messages 94 chmod 666 /dev/tty* /dev/console94 # chmod 666 /dev/tty* /dev/console 95 95 # By default first serial line is configured as tty 96 96 # Required to have a correct serial console support (MP on ia64 or VSP with iLO2 e.g.) -
branches/2.2.10/mindi/rootfs/sbin/install-additional-tools
r2445 r2488 15 15 # ------------ main ----------- 16 16 17 # if the file ' /tmp/CDROM-LIVES-HERE' exists then we should use the CD17 # if the file '$MINDI_CACHE/CDROM-LIVES-HERE' exists then we should use the CD 18 18 19 19 LogIt "Starting install-additional-tools" … … 40 40 41 41 mountpoint=/dev/null 42 [ -e " /tmp/CDROM-LIVES-HERE" ] && mountpoint=/mnt/cdrom/images42 [ -e "$MINDI_CACHE/CDROM-LIVES-HERE" ] && mountpoint=/mnt/cdrom/images 43 43 tarball=$mountpoint/all.tar.gz 44 if [ -e " /tmp/CDROM-LIVES-HERE" ] ; then44 if [ -e "$MINDI_CACHE/CDROM-LIVES-HERE" ] ; then 45 45 [ -e "$tarball" ] || LogIt "Can't find CD's $tarball" 1 46 46 fi … … 58 58 cd $old_pwd 59 59 echo -e -n "\r" 60 [ ! -e " /tmp/CDROM-LIVES-HERE" ] && umount $mountpoint60 [ ! -e "$MINDI_CACHE/CDROM-LIVES-HERE" ] && umount $mountpoint 61 61 sleep 1 62 62 fi
Note:
See TracChangeset
for help on using the changeset viewer.