Merge some of reb's OpenBSD fixes in

This commit is contained in:
Roy Marples
2007-07-25 20:58:23 +00:00
parent af2d9995d7
commit 075e80b358
7 changed files with 72 additions and 28 deletions

View File

@ -32,8 +32,11 @@ do_mtab() {
}
do_fsck() {
local retval=0 opts="-F"
[ "${RC_UNAME}" = "Linux" ] && opts="-T -C0"
local retval=0 opts=
case "${RC_UNAME}" in
FreeBSD) opts="-F";;
Linux) opts="-T -C0";;
esac
# Don't bother doing a fsck on these
if [ -n "${CDBOOT}" ] || is_net_fs / || is_union_fs / ; then