summaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-31 17:18:39 +0000
committerRoy Marples <roy@marples.name>2008-01-31 17:18:39 +0000
commitcf567c844fa0fcef5f190ce21a805db9b9ed7ffb (patch)
tree16652788f0a60d6d817c962e4139a8aa86319a9a /init.d
parent492a8f87cfa405e9c880b3539e44f24204ffd7fb (diff)
downloadopenrc-cf567c844fa0fcef5f190ce21a805db9b9ed7ffb.tar.gz
openrc-cf567c844fa0fcef5f190ce21a805db9b9ed7ffb.tar.bz2
openrc-cf567c844fa0fcef5f190ce21a805db9b9ed7ffb.tar.xz
Remove rc_force_auto as users can now specify -y in fsck_args.
Diffstat (limited to 'init.d')
-rw-r--r--init.d/fsck3
1 files changed, 1 insertions, 2 deletions
diff --git a/init.d/fsck b/init.d/fsck
index 34dd14c..d07cec8 100644
--- a/init.d/fsck
+++ b/init.d/fsck
@@ -13,7 +13,6 @@ depend()
start()
{
- local retval=0 opts= root=
if [ "${RC_UNAME}" = "Linux" ]; then
opts="${opts} -A -C0 -T"
if echo 2>/dev/null >/.test.$$; then
@@ -23,7 +22,7 @@ start()
fi
ebegin "Checking local filesystems"
- fsck -p ${opts}
+ fsck ${fsck_args-p} ${opts}
case $? in
0) eend 0; return 0;;
1) ewend 1 "Filesystems repaired"; return 0;;