Date: Tue, 27 Apr 2010 00:55:41 GMT From: Alex Kozlov <spam@rm-rf.kiev.ua> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/146073: [patch] net/throttled replace ${SYSCTL} with /sbin/sysctl Message-ID: <201004270055.o3R0tf1E015723@www.freebsd.org> Resent-Message-ID: <201004270100.o3R109cj070847@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 146073 >Category: ports >Synopsis: [patch] net/throttled replace ${SYSCTL} with /sbin/sysctl >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Apr 27 01:00:08 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Alex Kozlov >Release: RELENG_8 >Organization: private >Environment: >Description: Replace ${SYSCTL} with /sbin/sysctl to make possible to remove SYSCTL* variables from /etc/rc.subr. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: ports/net/throttled/files/throttled.in @@ -16,7 +16,7 @@ throttled_precmd() { - if ! ${SYSCTL} net.inet.ip.fw.enable > /dev/null 2>&1; then + if ! /sbin/sysctl net.inet.ip.fw.enable > /dev/null 2>&1; then warn "IPFW must be enabled" return 1 fi >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004270055.o3R0tf1E015723>