home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Linux / Ubuntu_64-bit / ubuntu-11.04-desktop-amd64.iso / casper / filesystem.squashfs / sbin / fsck.reiserfs < prev    next >
Text File  |  2010-03-07  |  282b  |  19 lines

  1. #! /bin/sh
  2.  
  3. # Treat the -y flag the same way other fsck.* instances do
  4. ADD_OPTS=""
  5. for opt
  6. do
  7.     case "$opt" in
  8.         --)
  9.             break
  10.             ;;
  11.         -y)
  12.             ADD_OPTS="-a"
  13.             ;;
  14.     esac
  15. done
  16.  
  17. # Be sure to invoke reiserfsck quitely for booting over slow consoles
  18. exec /sbin/reiserfsck -q $ADD_OPTS "$@"
  19.