new lfs bootscripts: corrections

Tushar T XtushX at XyahooX.XcomX
Sat Feb 2 11:41:48 PST 2002


Some minor corrections to the scripts. I may be wrong, am a novice at 
bash scripting.

In functions script, statusproc function:
  if [ $# = 0 ]
  then
    echo "Usage: statusproc {program}"
    return 0 # <--- This line is missing.
  fi

In the checkfs script
  if [ -f /fastboot ]
  then
    echo "Fast boot requested, will not perform file system checks"
    exit 1 # <-- This should return 0, else the print_error_msg
           #     will be printed.
  fi

--Tushar.

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list