Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
bd9e1cda
Commit
bd9e1cda
authored
Jun 22, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rc: always force an fsck after unclean shutdown
(cherry picked from commit
80dc8457
) (cherry picked from commit
0273d265
)
parent
17c8452e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
rc
src/etc/rc
+2
-1
No files found.
src/etc/rc
View file @
bd9e1cda
...
...
@@ -47,11 +47,12 @@ done < /etc/fstab
attempts
=
0
while
[
${
attempts
}
-lt
3
]
;
do
fsck
-C
-y
/
fsck
-C
-y
/
if
mount
-a
2>/dev/null
;
then
# bail if all is well
break
fi
fsck
-y
/
attempts
=
$((
attempts+1
))
done
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment