aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-03-03 08:39:13 -0800
committerAaron Griffin <aaronmgriffin@gmail.com>2009-03-03 08:39:13 -0800
commit666cd9b3971e171f4e8ec348666ab8ff8bfe97d8 (patch)
treef195f2f8fd1d1d6583472815115aeaca44c12e46 /rc.sysinit
parent21f528419f945f0d2f867ffa55553b4d5da7f4b8 (diff)
downloadinitscripts-666cd9b3971e171f4e8ec348666ab8ff8bfe97d8.tar.xz
Remove the kernel 'quiet' handling for fsck
This is simply confusing that we use the kernel "quiet" parameter to mute fsck output. Removed for now - perhaps we can add a better solution later. Ref: FS#12928 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit9
1 files changed, 2 insertions, 7 deletions
diff --git a/rc.sysinit b/rc.sysinit
index d4d3249..67ceb40 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -252,13 +252,8 @@ fsck_reboot() {
if [ -x /sbin/fsck ]; then
stat_busy "Checking Filesystems"
- if /bin/grep -qw quiet /proc/cmdline; then
- FSCK_OUT=/dev/null
- FSCK_ERR=/dev/null
- else
- FSCK_OUT=/dev/stdout
- FSCK_ERR=/dev/null
- fi
+ FSCK_OUT=/dev/stdout
+ FSCK_ERR=/dev/null
/sbin/fsck -A -T -C -a -t $NETFS $FORCEFSCK >$FSCK_OUT 2>$FSCK_ERR
fsckret=$?
if [ ${fsckret} -gt 1 ]; then