aboutsummaryrefslogtreecommitdiff
path: root/libexec/rc
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rc')
-rwxr-xr-xlibexec/rc/debug.sh2
-rwxr-xr-xlibexec/rc/hooks.sh2
-rw-r--r--libexec/rc/rc.d/virtual_oss2
-rwxr-xr-xlibexec/rc/rc.d/zfs2
4 files changed, 4 insertions, 4 deletions
diff --git a/libexec/rc/debug.sh b/libexec/rc/debug.sh
index 4284a6e3b5fb..ea46e9a99c0c 100755
--- a/libexec/rc/debug.sh
+++ b/libexec/rc/debug.sh
@@ -439,7 +439,7 @@ DebugShell() {
return 0
}
-# For backwards compatability
+# For backwards compatibility
Debug() {
case "${DEBUG_SH:-$DEBUG}" in
"") ;;
diff --git a/libexec/rc/hooks.sh b/libexec/rc/hooks.sh
index af4aff3d6bc5..0c577d831101 100755
--- a/libexec/rc/hooks.sh
+++ b/libexec/rc/hooks.sh
@@ -71,7 +71,7 @@ if local_works > /dev/null 2>&1; then
else
_local=:
fi
-# for backwards compatability
+# for backwards compatibility
local=$_local
diff --git a/libexec/rc/rc.d/virtual_oss b/libexec/rc/rc.d/virtual_oss
index 42353a6c1520..d55b51463442 100644
--- a/libexec/rc/rc.d/virtual_oss
+++ b/libexec/rc/rc.d/virtual_oss
@@ -24,7 +24,7 @@ required_modules="cuse"
configs=
pidpath="/var/run/${name}"
-default_unit=$(sysctl -n hw.snd.default_unit)
+default_unit=$(sysctl -n hw.snd.default_unit 2> /dev/null)
virtual_oss_default_args="\
-S \
-C 2 \
diff --git a/libexec/rc/rc.d/zfs b/libexec/rc/rc.d/zfs
index 99156332e47b..7c8c3af28d31 100755
--- a/libexec/rc/rc.d/zfs
+++ b/libexec/rc/rc.d/zfs
@@ -19,7 +19,7 @@ required_modules="zfs"
zfs_start_jail()
{
if check_jail mount_allowed; then
- zfs mount -a
+ zfs mount -va
fi
}