aboutsummaryrefslogtreecommitdiff
path: root/init.d.BSD/sysctl
diff options
context:
space:
mode:
Diffstat (limited to 'init.d.BSD/sysctl')
-rw-r--r--init.d.BSD/sysctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d.BSD/sysctl b/init.d.BSD/sysctl
index d4c27ee5..fa13751d 100644
--- a/init.d.BSD/sysctl
+++ b/init.d.BSD/sysctl
@@ -37,7 +37,7 @@ start() {
case "${var}" in
""|"#"*) continue;;
esac
- sysctl "${var}" >/dev/null || retval=1
+ sysctl -w "${var}" >/dev/null || retval=1
done < /etc/sysctl.conf
eend ${retval} "Some errors were encountered"
eend $?