| Bug#: 129621 | Product: Gentoo/Alt | Version: unspecified | Platform: All |
| OS/Version: Linux | Status: RESOLVED | Severity: normal | Priority: P2 |
| Resolution: FIXED | Assigned To: bsd@gentoo.org | Reported By: the_paya@gentoo.org | |
| Component: Other | |||
| URL: | |||
| Summary: /etc/init.d/sysctl doesn't set kernel values. | |||
| Keywords: | |||
| Status Whiteboard: | |||
| Opened: 2006-04-11 11:49 0000 | |||
| Description: | Opened: 2006-04-11 11:49 0000 |
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
Fixed in freebsd-sbin-6.0-r1, thanks.