Changeset 649 in MondoRescue for trunk/mondo


Ignore:
Timestamp:
Jun 8, 2006, 11:31:13 AM (18 years ago)
Author:
bcornec
Message:

merge -r617:641 $SVN_M/branches/stable

Location:
trunk/mondo
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/ChangeLog

    r618 r649  
    33MONDO CHANGES
    44
    5 v2.2.0 (2006-06-02)
     5v2.2.0 (2006-06-12)
    66- indent on source files
    77- asprintf used instead of malloc_string + sprintf/strcpy/strcat without
     
    1010- Internationalization (A huge thank to rene-marc dolhen
    1111  <rmd_at_mecreant.org> who achieved that big task)
     12
     132.0.8-3 (2006-06-07)
     14- Fix a bug in -I and -E handling !!
     15  (Paolo Bernardoni <bernardoni_at_sysnet.it>/Bruno Cornec)
     16- Fix permissions for autorun
     17  (Bruno Cornec)
     18- Fox delivery problems for tar files with too restrictive umask
     19  (Bruno Cornec)
     20- Fix parsing of DHCP information in start-nfs script
     21  (Andree Leidenfrost)
    1222
    13232.0.8-2 (2006-06-02)
     
    98108- now handles cifs correctly (Bruno Cornec)
    99109
    100 v2.04_berlios
     110v2.04_berlios (2005-10-30)
    101111- Add -p option to generate ISO images file names with prefix. The new default
    102112  name for ISO images is mondorescue-1.iso, ... For PXE environment, you have
     
    108118  (this is an unattended mode) (Bruno Cornec)
    109119
    110 v2.04
     120v2.04 (2005-05-03)
    111121- made mondo more clever about finding its home. Avoids mondo considering
    112122  directories like '/usr/share/doc/momdo' as its home.
    113123
    114    
    115 v2.03
     124v2.03 (2004-09-29)
    116125- better SLES8 support
    117126- test user-specified temp dir's sanity
    118127
    119 
    120 v2.02
     128v2.02 (2004-07-21)
    121129- instead of using 'dd' to erase partition table, delete existing
    122130  partitions w/ the same call to fdisk that is used to create the
     
    129137- added ACL, xattr support for afio users
    130138
    131 
    132 v2.01
     139v2.01 (2004-06-21)
    133140- fixed cvs for SuSE systems
    134141- fixed NTFS backup/restore bug relating to partimagehack
     
    137144- better support of ISO dirs at restore-time (Conor Daly)
    138145
    139 
    140 v2.00
     146v2.00 (2004-06-18)
    141147- first 2.0 release
    142148- updated grub-install.patched to support SuSE and Red Hat
     
    172178- added '-R' for star support
    173179
    174 
    175 v1.75
     180v1.75 (2004-03-29)
    176181- fixed chmod/chown bug (Jens Richter)
    177182- ask user to confirm NFS mountpoint in Interactive Mode
     
    205210- replaced mondo-makefilelist with C code - faster, cleaner
    206211- tweaked GUI - better feedback
    207 
    208212   
    209 1.74
     2131.74 (2003-09-24)
    210214- fixed biggiefile atime/ctime restoration bug 73
    211215- fixed 'default boot loader' detection bug (Joshua Oreman)
     
    225229- added partimagehack to the mix
    226230   
    227    
    228 1.73
     2311.73 (2003-05-04)
    229232- mark relevant partitions as bootable _after_ unmounting them
    230233- resolve boot device (-f) if softlink
     
    261264- try to work around eccentricities of multi-CD drive PCs
    262265- misc clean-ups (Steve Hindle)
    263    
    264 
    265 v1.72
     266
     267v1.72 (2003-04-23)
    266268- LVM/RAID bugs fixed (Brian Borgeson)
    267269- major clean-up of code (Stan Benoit)
     
    293295- fixed fstab-hacking scripts
    294296
    295 
    296 v1.71
     297v1.71 (2003-04-04)
    297298- log newt, slang, ncurses info
    298299- updated man page
     
    318319- added -e support
    319320
    320 v1.70
     321v1.70 (2003-04-04)
    321322- new devel branch opened
    322323
    323 
    324 v1.52
     324v1.52 (2002-12-08)
    325325- fixed bug in multithreading
    326326- use new grub-MR instead of grub-install
     
    343343- if user runs as 'su' not 'su -' then work around
    344344
    345 
    346 v1.51
     345v1.51 (2002-11-17)
    347346- pop-up list of changed files, at end of verification phase
    348347- better handling of changed.files list at restore-time
     
    381380- fixed bug in mondo-makefilelist
    382381
    383 
    384 09/08/2002
    385 """"""""""
    386 v1.50
     382v1.50 (2002-09-08)
    387383- if restoring, don't try to find SCSI node of CD-ROM drive; find /dev entry
    388384- during selective restore, skip filesets which don't contain relevant archives
     
    454450- fixed bug in --mbr
    455451
    456 
    457 06-04-2002
    458 """"""""""
    459 v1.43-7 (STABLE)
     452v1.43-7 (2002-06-04)
    460453- afio uses 16MB buffer when restoring, instead of 8MB buffer
    461454- mondorestore makes /var/run/console in case user excluded it
     
    477470- changed lockfiles from static to random filenames
    478471
    479 
    480 04-12-2002
    481 """"""""""
    482 v1.42-3 (STABLE)
     472v1.42-3 (2002-04-12)
    483473- minor cosmetic enhancements
    484474- improved homedir-locating code
    485475
    486 
    487 04-07-2002
    488 """"""""""
    489 v1.42-1 (STABLE)
     476v1.42-1 (2002-04-07)
    490477- mondorestore may now be run on live filesystem, i.e. user does not
    491478  have to reboot in order to restore data; works for CD's and tapes;
     
    503490- added '-m' (manual CD tray) flag
    504491   
    505 
    506 03-21-2002
    507 """"""""""
    508 v1.41-1 (STABLE)
     492v1.41-1 (2002-03-21)
    509493- record hostname (Krzysztof Dubowik)
    510494
    511 
    512 03-10-2002
    513 """"""""""
    514 v1.40-7 (STABLE)
     495v1.40-7 (2002-03-10)
    515496- if '-L' then test for lzop; abort if not present
    516497- if Mondo cannot figure out which boot loader the user is using,
     
    521502- mkreiserfs -ff instead of -q (Andy Glass)
    522503
    523 
    524 03-03-2002
    525 """"""""""
    526 v1.40-6 (STABLE)
     504v1.40-6 (2002-03-03)
    527505- incorporated new config.guess, config.sub (H�tor Garc� �varez)
    528506- updated manual to explain tmpfs needs to be in kernel (Mikael Hultgren)
     
    533511- modified 'Sliced bigfile #n' log entry to say '..#(n+1)'
    534512
    535 
    536 02-24-2002
    537 """"""""""
    538 v1.40-5 (STABLE)
     513v1.40-5 (2002-02-24)
    539514- improved the way Mondo installs itself (Mikael Hultgren)
    540515- updated manpage
     
    549524- put (char*)(&buf) instead of &buf when reading/writing biggiefiles' info
    550525   
    551 
    552 02-17-2002
    553 """"""""""
    554 v1.40-3 (STABLE)
     526v1.40-3 (2002-02-17)
    555527- let user exclude devices from mountlist with (e.g.) -E /dev/hda1
    556528- handle one-letter dirs properly (Ian Kent)
     
    562534- Italian patch (Michael Baldessari)
    563535
    564 
    565 02-11-2002
    566 """"""""""
    567 v1.40-2 (STABLE)
     536v1.40-2 (2002-02-11)
    568537- fixed typo in manpage (Mikael Hultgren)
    569538- exclude "#"*"#" and *~ from tarball and source RPM
     
    574543- cdrecord is only required if burning CD's
    575544
    576 
    577 02-10-2002
    578 """"""""""
    579 v1.40-1 (STABLE)
     545v1.40-1 (2002-02-10)
    580546- set partition(s) bootable w/fdisk if appropriate
    581547- cosmetic bugfixes
     
    589555- exclude win386.swp from backup (Cafeole)
    590556
    591    
    592 02-07-2002
    593 """"""""""
    594 v1.38-2 (DEVELOPMENT)
     557v1.38-2 (2002-02-07)
    595558- minor improvements to the NFS-handling code
    596559- mondo-restore now records Mondo's version# in log
     
    598561- fix typo in '10 seconds to abort' line; also, made 20 seconds
    599562
    600 
    601 02-06-2002
    602 """"""""""
    603 v1.38-1 (DEVELOPMENT)
     563v1.38-1 (2002-02-06)
    604564- source code has been beautified (Stan Benoit)
    605565- makefile, Config implemented (Stan Benoit)
     
    616576- records+restores biggiefiles' permissions+ownership properly
    617577
    618 
    619 01-25-2002
    620 """"""""""
    621 v1.37-1 (DEVELOPMENT)
     578v1.37-1 (2002-01-25)
    622579- proper 'selective restore' interface implemented
    623580- if the user specifies boot loader or device, record those settings
     
    636593- abort if PC has <32MB of RAM at backup-time; warn if <64MB
    637594
    638 
    639 01-20-2002
    640 """"""""""
    641 v1.36-1 (DEVELOPMENT)
     595v1.36-1 (2002-01-20)
    642596- fixed v.minor bug in MakeFilelist()
    643597- in mondo-archive, replaced calls to Die() with calls to FatalError()
     
    657611- log versions of afio, bzip2, etc.
    658612
    659 
    660 01-10-2002
    661 """"""""""
    662 v1.35-1 (DEVELOPMENT)
     613v1.35-1 (2002-01-10)
    663614- NFS backup+restore support
    664615- exclude Win2K hiberation file (Paul Rensing)
     
    684635- tab-align /etc/fstab after hacking it
    685636
    686 
    687 12-25-2001
    688 """"""""""
    689 v1.34-1 (DEVELOPMENT)
     637v1.34-1 (2001-12-25)
    690638- if /sbin or /usr/sbin are not in PATH then add them temporarily
    691639- if --broken-bios then force LILO to run in backward-compatible mode
     
    697645  as it can upset the restoration of biggiefiles which are spread across CD's
    698646
    699 
    700 12-19-2001
    701 """"""""""
    702 v1.33-8 (DEVELOPMENT)
     647v1.33-8 (2001-12-19)
    703648- implemented --image-devs <dev> (<...>) switch
    704649- improved --verify switch's code
     
    715660- abort if user tries to backup a mounted partition as an _image_
    716661
    717 
    718 12-15-2001
    719 """"""""""
    720 v1.33-6 (DEVELOPMENT)
     662v1.33-6 (2001-12-15)
    721663- misc bugfixes
    722664
    723 
    724 12-14-2001
    725 """"""""""
    726 v1.33-5 (DEVELOPMENT)
     665v1.33-5 (2001-12-14)
    727666- improved error-reporting in the event of boot loader detection failure
    728667- improved tape verification code
    729668- experimental support for backing up and restoring devices as images
    730669
    731 
    732 12-13-2001
    733 """"""""""
    734 v1.33-4 (DEVELOPMENT)
     670v1.33-4 (2001-12-13)
    735671- updated FAQ
    736672- experimental GRUB support
     
    740676- when writing floppies, ask specifically for floppy #x (Randy Delfs)
    741677
    742 
    743 12-12-2001
    744 """"""""""
    745 v1.33-3 (DEVELOPMENT)
     678v1.33-3 (2001-12-12)
    746679- supports --boot-loader and --boot-device to let user specify them
    747680- fixed CDRW node autodetection bug
    748681- MONDO_PATH was misconfigured; is now "/usr/share/mondo"
    749682
    750 12-12-2001
    751 """"""""""
    752 v1.33-1 (DEVELOPMENT)
     683v1.33-1 (2001-12-12)
    753684- if user changes a partition's device, change it in raidtab too
    754685- don't extrapolate from /etc/raidtab to /tmp/mountlist; editor does it already
     
    765696  or added since the last complete backup
    766697
    767 
    768 12-09-2001
    769 """"""""""
    770 v1.32-2 (DEVELOPMENT)
     698v1.32-2 (2001-12-09)
    771699- if no RAID devices after editing mountlist then delete raidtab
    772700- don't try to mount RAID partitions (components of RAID dev)
     
    776704- when user selects RAID level, establish whether said level is available
    777705
    778 
    779 12-09-2001
    780 """"""""""
    781 v1.32 (DEVELOPMENT)
     706v1.32 (2001-12-09)
    782707- if user creates ISO images, the default dest dir is /root/images/mondo now
    783708- log_it() makes sure it only writes one \n on the end of each logged line
     
    797722- scratchdir is now [path]/mondo.scratch.$$; was just [path]/mondo.scratch
    798723
    799 
    800 12-04-2001
    801 """"""""""
    802 v1.31 (DEVELOPMENT)
     724v1.31 (2001-12-04)
    803725- turned on '-Wall' to find cruft; found lots of it; cleaned it up
    804726- exclude each device's lost+found directory
     
    831753  just end up looking very silly :)
    832754
    833 
    834 11-28-2001
    835 """"""""""
    836 v1.30 (DEVELOPMENT)
     755v1.30 (2001-11-28)
    837756- I have reorganized the C code, sorted the subroutines alphabetically, and
    838757  re-jigged Mondo's installation routines (inc. the RPM spec file) to reflect
     
    854773  executable is sane & will run OK at restore-time
    855774
    856 
    857 11-14-2001
    858 """"""""""
    859 v1.19
     775v1.19 (2001-11-14)
    860776- tested on Linux-Mandrake 8.0 and Red Hat 7.2; backup,wipe,restore went OK
    861777- fixed a bug in is_this_device_mounted()
     
    880796- each CD's slices were being listed to screen; now, piped to /dev/null
    881797
    882 
    883 10-28-2001
    884 """"""""""
    885 v1.18
     798v1.18 (2001-10-28)
    886799- changed minor error in documentation (mondo-archive's --help output)
    887800- improved Mondo's compare phase for tape users
    888801
    889 
    890 10-20-2001
    891 """"""""""
    892 v1.17
     802v1.17 (2001-10-20)
    893803- the deprecated scripts now work with LZO
    894804- if mondo-restore cannot mount all devices, it will _unmount_ whatever it did
     
    909819  Mindi's deplist.txt; add them if you want to use the scripts
    910820
    911 
    912 10-10-2001
    913 """"""""""
    914 v1.16
     821v1.16 (2001-10-10)
    915822- default scratchdir is `pwd`/mondo.scratch.$$ (was mondo.scratch)
    916823- when asking user to send me a log file, warn them that the log file may
     
    940847  politely direct them to Mindi :-)
    941848
    942 
    943 09-28-2001
    944 """"""""""
    945 v1.15
     849v1.15 (2001-09-28)
    946850- serialized the call to mondo-filelistchop.c; helps to improve visual feedback
    947851  (yeah, sounds weird but it's true)
     
    961865  a lot of testing to make sure Mondo would play nicely with the new Mindi
    962866
    963 
    964 09-18-2001
    965 """"""""""
    966 v1.14
     867v1.14 (2001-09-18)
    967868- if verify is enabled then verify each CD/ISO after writing it
    968869- fixed a quasi-bug in mondo/mount-me; this script used 'sort +1' which is
     
    1000901- modularized the install.sh and mondo-1.14-x.i386.rpm compilation sections
    1001902
    1002 
    1003 09-01-2001
    1004 """"""""""
    1005 v1.13
     903v1.13 (2001-09-01)
    1006904- fixed some compiler warnings in mondo-newt.c; rearranged some code
    1007905- mondo-tarme now uses -M 16m -t 4k in its call to afio, to improve performance
     
    1042940- added lots of sanity-checking to mountlist editor
    1043941
    1044 
    1045 08-18-2001
    1046 """"""""""
    1047 v1.12
     942v1.12 (2001-08-18)
    1048943- changed cdrecord's FIFO size to 8MB
    1049944- removed -pad and -sort from the call to mkisofs
     
    1069964- updated the FAQ
    1070965
    1071 
    1072 08-12-2001
    1073 """"""""""
    1074 v1.10
     966v1.10 (2001-08-12)
    1075967- changed cdrecord's FIFO size back to 4MB
    1076968- added -pad -sort to the call to mkisofs
     
    1092984- working on Cuckoo Mode...
    1093985
    1094 
    1095 08-02-2001
    1096 """"""""""
    1097 v1.09
     986v1.09 (2001-08-02)
    1098987- default compression level is now 3 (was 2)
    1099988- retry/fail/abort loop bug fixed
     
    1101990  my temp dir and to put the images in my 'images' folder
    1102991
    1103 
    1104 07-28-2001
    1105 """"""""""
    1106 v1.08
     992v1.08 (2001-07-28)
    1107993- offer to Retry/Fail/Abort if an error occurs when Mondo tries to burn a CD-R
    1108994- warn if kernel is 2.4.[0-5] (could have buggy loopfs code)
    1109995- tested with RAID-5 --- works fine :-)
    1110996
    1111 
    1112 07-22-2001
    1113 """"""""""
    1114 v1.07
     997v1.07 (2001-07-22)
    1115998- fixed cosmetic mistake in an error msg in mondo-tarme ('continue'-related)
    1116999- hack-fstab now uses "defaults 0 0" instead of "default 1 3" when making
     
    11311014- mondo-restore.c is now compiled statically
    11321015
    1133 
    1134 07-19-2001
    1135 """"""""""
    1136 v1.06
     1016v1.06 (2001-07-19)
    11371017- now software-RAID compatible
    11381018- install.sh only compiles mondo-restore.c once now
     
    11431023- for each /dev/md* device in the mountlist, run raidstop before mkraid
    11441024
    1145 
    1146 07-16-2001
    1147 """"""""""
    1148 v1.05
     1025v1.05 (2001-07-16)
    11491026- patch from DoJ to make install.sh compile with -O2, not -O
    11501027- cosmetic changes to the biggiefile-slicing code
    11511028- fixed install.sh
    11521029
    1153 
    1154 07-15-2001
    1155 """"""""""
    1156 v1.04
     1030v1.04 (2001-07-15)
    11571031- make-me-bootable only "boot-makes" each partition ONCE now
    11581032- cosmetic changes to mondo-restore's logfile output
     
    11601034- should be able to cope with Red Hat's "LABEL=" messages in /etc/fstab
    11611035
    1162 
    1163 07-14-2001
    1164 """"""""""
    1165 v1.03
     1036v1.03 (2001-07-14)
    11661037- looks for /etc/lilo.conf; aborts if it cannot locate it
    11671038- abort if burning CD's & verify level>=2 (must be 1 or 0 if burning CD's)
     
    11801051  last N days (N specified by user)
    11811052
    1182 
    1183 07-07-2001
    1184 """"""""""
    1185 v1.02
     1053v1.02 (2001-07-07)
    11861054- retract the CD tray after asking user to enter 'continue' (PauseAndAskForCDR)
    11871055- uses C program instead of bash loop for PauseAndAskForCDR; some bash versions
     
    11981066- can accept multiple parameters in the '--bkpath' switch
    11991067
    1200 07-04-2001
    1201 """"""""""
    1202 v1.00
     1068v1.00 (2001-07-04)
    12031069- thanks to recent changes to Mindi, Mondo is now compatible with the
    12041070  filesystem formats JFS, ext3, ReiserFS, XFS and ext2 (if your own kernel is)
     
    12221088  8MB less than its max size, which wasted 8-10MB of storage space per disk
    12231089
    1224 
    1225 03-15-2001
    1226 """"""""""
    1227 v0.99
     1090v0.99 (2001-03-15)
    12281091- /proc and /tmp removed --- i.e. added to exclude list :)
    12291092- Mondo now uses 2.4-series kernel and modules (Bruno Cornec)
     
    12331096- incorporated Mondo v0.977's restore scripts' bugfixes (Maciej Kulasa)
    12341097
    1235 
    1236 03-06-2001
    1237 """"""""""
    1238 v0.981
     1098v0.981 (2001-03-06)
    12391099- put 'dd' in coolstuff.tgz (Art Wells)
    12401100
    1241 
    1242 02-26-2001
    1243 """"""""""
    1244 v0.98
     1101v0.98 (2001-02-28)
    12451102- INSTALL script renamed to install.sh
    12461103- tarball cleaned up and re-tarred (Art Wells)
     
    12481105- work is underway to make Mondo compatible with the Linux kernel's 2.4 series
    12491106
    1250 02-28-2001
    1251 """"""""""
    1252 v0.977
     1107v0.977 (2001-02-26)
    12531108- based on v0.976
    12541109- missing subs and silly typos fixed in restore scripts (Maciej Kulasa)
     
    12561111- Mondo is being actively developed again (yippee!)
    12571112
    1258 09-01-2000
    1259 """"""""""
    1260 v0.976
     1113v0.976 (2000-09-01)
    12611114- technical changes
    12621115  - 12MB ramdisk
     
    12811134  - changed lots of 'grep " $string "' to 'grep -w "$string"' (thanks, Matija)
    12821135
    1283 07-03-2000
    1284 """"""""""
    1285 v0.975 published
     1136v0.975 (2000-07-03)
    12861137- made mondo-tarme use 'ask-me-a-question' to pause for new, blank CD-Rs
    12871138- don't deeply search isodir for ISO files to wipe: maxdepth should be 1
     
    12961147- ramdisk is now 14MB
    12971148
    1298 06-16-2000
    1299 """"""""""
    1300 v0.972 published
     1149v0.972 (2000-06-16)
    13011150- auto-archive, mondo-archive and mondo-tarme updated to make them more
    13021151  friendly towards mult-disk sets
    13031152- if multiple CDRW drives, user is asked which mondo-archive should use
    13041153
    1305 06-14-2000
    1306 """"""""""
    1307 v0.971 published
     1154v0.971 (2000-06-14)
    13081155- auto-archive now passes CD size to mondo-archive
    13091156- mondo-tarme, in conjunction with auto-archive, now handles CDRW boot/burn
    13101157  sharing much better than before
    13111158
    1312 06-10-2000
    1313 """"""""""
    1314 v0.970 published
     1159v0.970 (2000-06-10)
    13151160- kernel now creates 12MB ramdrive (was 16MB)
    13161161- lots of silly bugs & overhead problems fixed; 2nd floppy closer to working
     
    13291174- nicer help screens on boot floppy
    13301175
    1331 06-03-2000
    1332 """"""""""
    1333 v0.965 released
     1176v0.965 (2000-06-03)
    13341177- 2MB of space left empty at end of every CD (e.g. 650MB is only 648MB full)
    13351178- Suzhe & Lonius's SmartBootManager (sbminst) is used instead of Win98's MBR
     
    13371180- silly bugs in prep-me... fixed
    13381181
    1339 06-02-2000
    1340 """"""""""
    1341 v0.964 released
     1182v0.964 (2000-06-02)
    13421183- VFAT partitions >8GB handled OK now
    13431184- 2nd floppy (optionally) created for SCSI users <--- not working yet
     
    13471188- 'resize hack' retitled as 'vacuum-pack'
    13481189
    1349 05-31-2000
    1350 """"""""""
    1351 v0.963 released
     1190v0.963 (2000-05-31)
    13521191- ISO images are no longer padded
    13531192- all currently-loaded modules are backed up to custom hboot.img & installed
     
    13671206  Lin/Win and Linux-only PCs)
    13681207
    1369 05-25-2000
    1370 """"""""""
    1371 v0.962 released
     1208v0.962 (2000-05-25)
    13721209- silly bug in mondo-checksum fixed
    13731210- stale tmp dirs are now definitely deleted (bug fixed)
     
    13831220- Mondo will now archive and restore Linux AND LinWin systems ok. W00H00! :-)
    13841221
    1385 05-23-2000
    1386 """"""""""
    1387 v0.961 released
     1222v0.961 (2000-05-23)
    13881223- mondo-checksum ignores files <2k in length
    13891224- default compression level is 4
     
    13941229- fixed bug in 'hack-fstab' which stopped processing fstab if blank line found
    13951230
    1396 05-22-2000
    1397 """"""""""
    1398 v0.960 released
     1231v0.960 (2000-05-22)
    13991232- mondo-vfat-1.0 package released, to provide kludging for VFAT bootables
    14001233- logfile now saved at /var/log/mondo-archive.log (not `pwd`/mondo-archive.log)
     
    14081241- really ugly boot kludge has been implemented, using embleer files
    14091242  to make newly-formatted VFAT partitions bootable
    1410 
    1411 [snip]
    1412 ...see CHANGES.pre-v0.96 for the rest (if you can find it)
    1413 
    1414 
    1415 
    1416 
    1417 
    1418 
    1419 
    1420 
  • trunk/mondo/mondo/autorun

    • Property unix-mode set to yes
  • trunk/mondo/mondo/common/libmondo-files.c

    r618 r649  
    11581158    fprintf(fout, "    echo $i | grep -qi ipconf= && ipconf=`echo $i | cut -d= -f2`\n");
    11591159    fprintf(fout, "done\n");
    1160     fprintf(fout, "grep -q \"dhcp\" \"$ipconf\"\n");
     1160    fprintf(fout, "echo \"$ipconf\" | grep -q \"dhcp\"\n");
    11611161    fprintf(fout, "if [ $? = 0 ]; then\n");
    11621162    fprintf(fout, "    ipdev=`echo $ipconf | cut -d: -f1`\n");
    1163     fprintf(fout, "    udhcpc -i $ipdev\n", );
     1163    fprintf(fout, "    udhcpc -i $ipdev\n");
    11641164    fprintf(fout, "else\n");
    11651165    fprintf(fout, "    if [ \"$ipconf\" != \"\" ]; then\n");
  • trunk/mondo/mondo/mondoarchive/mondo-cli.c

    r618 r649  
    312312            if (q != NULL) {
    313313                *q = '\0';
    314                 p = q+1 ;
    315314                if (stat(p, &buf) != 0) {
    316315                    log_msg(1, "ERROR ! %s doesn't exist", p);
    317316                    fatal_error("ERROR ! You specified a directory to include which doesn't exist");
    318317                }
     318                p = q+1 ;
    319319            } else {
    320320                if (stat(p, &buf) != 0) {
     
    548548            if (q != NULL) {
    549549                *q = '\0';
    550                 p = q+1 ;
    551550                if (stat(p, &buf) != 0) {
    552551                    log_msg(1, "WARNING ! %s doesn't exist", p);
    553552                }
     553                p = q+1 ;
    554554            } else {
    555555                if (stat(p, &buf) != 0) {
Note: See TracChangeset for help on using the changeset viewer.