aboutsummaryrefslogtreecommitdiff
path: root/init.d.BSD/sysctl
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-10 23:48:53 +0000
committerRoy Marples <roy@marples.name>2008-01-10 23:48:53 +0000
commitde6e4d3f50822c64ce14d61991fdda148be442e9 (patch)
tree836409f6869c65343c81e2babec5d0e40c49c02e /init.d.BSD/sysctl
parentacbaacb2c1dd96d7e084c1b8bd90ea730a422e6e (diff)
More NetBSD tweaks.
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 $?