/[baselayout]/trunk/init.d/checkroot
Gentoo

Diff of /trunk/init.d/checkroot

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2793 Revision 2794
30 # Remove stale backups 30 # Remove stale backups
31 rm -f /etc/mtab~ /etc/mtab~~ 31 rm -f /etc/mtab~ /etc/mtab~~
32} 32}
33 33
34do_fsck() { 34do_fsck() {
35 local retval=0 opts="-F" 35 local retval=0 opts=
36 [ "${RC_UNAME}" = "Linux" ] && opts="-T -C0" 36 case "${RC_UNAME}" in
37 FreeBSD) opts="-F";;
38 Linux) opts="-T -C0";;
39 esac
37 40
38 # Don't bother doing a fsck on these 41 # Don't bother doing a fsck on these
39 if [ -n "${CDBOOT}" ] || is_net_fs / || is_union_fs / ; then 42 if [ -n "${CDBOOT}" ] || is_net_fs / || is_union_fs / ; then
40 return 0 43 return 0
41 fi 44 fi

Legend:
Removed from v.2793  
changed lines
  Added in v.2794

  ViewVC Help
Powered by ViewVC 1.1.20