Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129621 - /etc/init.d/sysctl doesn't set kernel values.
Summary: /etc/init.d/sysctl doesn't set kernel values.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-11 11:49 UTC by Javier Villavicencio (RETIRED)
Modified: 2006-04-12 10:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Javier Villavicencio (RETIRED) gentoo-dev 2006-04-11 11:49:38 UTC
Seems to be just a typo:

@@ -14,7 +14,7 @@
                name="${var%%=*}"
                val="${var#*=}"
                if [[ $(sysctl -N ${name} 2>/dev/null) == ${name} ]]; then
-                   sysctl ${name}=${value}
+                   sysctl ${name}=${val}
                else
                    eerror "Kernel doesn't like ${name}"
                    success=1
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-12 09:08:39 UTC
Fixed in freebsd-sbin-6.0-r1, thanks.