summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/trustees/files/trustees.rc6')
-rw-r--r--sys-fs/trustees/files/trustees.rc68
1 files changed, 6 insertions, 2 deletions
diff --git a/sys-fs/trustees/files/trustees.rc6 b/sys-fs/trustees/files/trustees.rc6
index 635a61d44d6f..230e757a1d4c 100644
--- a/sys-fs/trustees/files/trustees.rc6
+++ b/sys-fs/trustees/files/trustees.rc6
@@ -1,10 +1,14 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/trustees/files/trustees.rc6,v 1.2 2004/07/15 01:00:55 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/trustees/files/trustees.rc6,v 1.3 2008/02/01 12:43:01 flameeyes Exp $
depend() {
- need checkfs
+ if [ -x /etc/init.d/fsck ]; then
+ need fsck
+ else
+ need checkfs
+ fi
before net
}