Changeset 2592 in MondoRescue for branches/2.2.10/mindi/rootfs/sbin
- Timestamp:
- Mar 11, 2010, 2:56:03 AM (15 years ago)
- Location:
- branches/2.2.10/mindi/rootfs/sbin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mindi/rootfs/sbin/init
r2591 r2592 618 618 echo "********************************************************************" 619 619 echo "MINDI-LINUX by Mondo Dev Team - web site: http://www.mondorescue.org" 620 echo "Boot disk based on AlfaLinux & Trinux. BusyBox by Erik Andersen."621 620 which petris > /dev/null 2> /dev/null && echo "Petris was written by Peter Seidler <p.seidler@mail1.stofanet.dk>." 622 621 echo "Executables and source code are covered by the GNU GPL. No warranty." … … 792 791 ExtractDataDisksAndLoadModules 793 792 else 794 HandleCDROM 793 if [ -f "$MINDI_CACHE/mondorestore.cfg" ] ; then 794 HandleCDROM 795 fi 795 796 ExtractDataDisksAndLoadModules 796 797 # We need to get here exported variables from start-netfs … … 827 828 [ "$res" != "1" ] && [ "$res" != "" ] && Die "This is CD #$res in the series. Please insert CD #1." 828 829 [ -e "/cdrom.lnk" ] && mv -f /cdrom.lnk /dev/cdrom && mount /dev/cdrom /mnt/cdrom && CD_MOUNTED_OK=yes 829 [ "$CD_MOUNTED_OK" != "yes" ] && TryAgainToFindCD 830 #mount | grep cdrom > /dev/null 2> /dev/null || mount /dev/cdrom /mnt/cdrom >> $LOGFILE 2>> $LOGFILE 830 [ "$CD_MOUNTED_OK" != "yes" ] && [ -f $MINDI_CACHE/mondorestore.cfg ] && TryAgainToFindCD 831 831 fi 832 832 hack-cfg-if-necessary || LogIt "Cannot find hack-cfg-if-necessary" -
branches/2.2.10/mindi/rootfs/sbin/install-additional-tools
r2508 r2592 49 49 cd $mountdir 50 50 counter=0 51 for fname in `tar -zxvf $tarball` ; do 52 counter=$(($counter+1)) 53 [ "$(($counter % 4))" -eq "0" ] && echo -en "\r\t\t\t\t\t\t\t\\" 54 [ "$(($counter % 4))" -eq "1" ] && echo -en "\r\t\t\t\t\t\t\t|" 55 [ "$(($counter % 4))" -eq "2" ] && echo -en "\r\t\t\t\t\t\t\t/" 56 [ "$(($counter % 4))" -eq "3" ] && echo -en "\r\t\t\t\t\t\t\t-" 57 done 51 if [ -f $tarball ]; then 52 for fname in `tar -zxvf $tarball` ; do 53 counter=$(($counter+1)) 54 [ "$(($counter % 4))" -eq "0" ] && echo -en "\r\t\t\t\t\t\t\t\\" 55 [ "$(($counter % 4))" -eq "1" ] && echo -en "\r\t\t\t\t\t\t\t|" 56 [ "$(($counter % 4))" -eq "2" ] && echo -en "\r\t\t\t\t\t\t\t/" 57 [ "$(($counter % 4))" -eq "3" ] && echo -en "\r\t\t\t\t\t\t\t-" 58 done 59 fi 58 60 cd $old_pwd 59 61 echo -e -n "\r"
Note:
See TracChangeset
for help on using the changeset viewer.