summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2008-07-31 22:13:14 +0000
committerjhb <jhb@FreeBSD.org>2008-07-31 22:13:14 +0000
commit9c7525b3ac9d147ed50fdd2bbd0728d63af7968a (patch)
tree841416e7c18de228d2a7824b311325c97197d119
parent4072a30fef4ea74ad58a682821fc0f0e248e8512 (diff)
downloadFreeBSD-src-9c7525b3ac9d147ed50fdd2bbd0728d63af7968a.zip
FreeBSD-src-9c7525b3ac9d147ed50fdd2bbd0728d63af7968a.tar.gz
Oops, restore the recent changes to make startup messages quieter.
-rwxr-xr-xetc/rc.d/sysctl4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/rc.d/sysctl b/etc/rc.d/sysctl
index 623956d..d1a42d1 100755
--- a/etc/rc.d/sysctl
+++ b/etc/rc.d/sysctl
@@ -36,7 +36,9 @@ parse_file()
${val})
;;
*)
- sysctl "${var}"
+ if ! sysctl "${var}" >/dev/null 2>&1; then
+ warn "unable to set ${var}"
+ fi
;;
esac
elif [ "$2" = "last" ]; then
OpenPOWER on IntegriCloud