From 996e95d3065186cb8caeeb71800bf54a482ea8ed Mon Sep 17 00:00:00 2001 From: Gleb Smirnoff Date: Wed, 24 May 2006 11:36:48 +0000 Subject: [PATCH] Quote the parameter to sysctl(1), allowing to use whitespaces in sysctl values. PR: conf/96509 Submitted by: Gregory Bond --- etc/rc.d/sysctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/rc.d/sysctl b/etc/rc.d/sysctl index 67d3e063a69e..ac6be46ed455 100644 --- a/etc/rc.d/sysctl +++ b/etc/rc.d/sysctl @@ -37,7 +37,7 @@ sysctl_start() ${val}) ;; *) - sysctl ${var} + sysctl "${var}" ;; esac elif [ "$1" = "last" ]; then