Date: Tue, 21 Nov 2006 10:35:27 -0800 (PST) From: Jeremy Chadwick <koitsu@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/105722: rc.subr dracd startup script syntax error Message-ID: <20061121183527.6BF581FA01D@icarus.home.lan> Resent-Message-ID: <200611211840.kALIeF4b048056@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 105722 >Category: ports >Synopsis: rc.subr dracd startup script syntax error >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 Nov 21 18:40:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Jeremy Chadwick >Release: FreeBSD 6.2-PRERELEASE i386 >Organization: >Environment: System: FreeBSD icarus.home.lan 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Mon Oct 2 10:20:50 PDT 2006 root@icarus.home.lan:/usr/obj/usr/src/sys/ICARUS i386 >Description: It appears the default variable sets for dracd won't work due to a syntax error in the assignment. Should be :- not -. >How-To-Repeat: Maybe try starting dracd without any dracd_xxx variables in rc.conf. >Fix: Apply below patch. --- files/dracd.sh.in.orig Thu Mar 23 07:53:09 2006 +++ files/dracd.sh.in Tue Nov 21 10:34:29 2006 @@ -13,8 +13,8 @@ # # DO NOT CHANGE THESE DEFAULT VALUES HERE # -dracd_enable=${dracd_enable-"NO"} -dracd_flags=${dracd_flags-""} +dracd_enable=${dracd_enable:-"NO"} +dracd_flags=${dracd_flags:-""} . %%RC_SUBR%% >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061121183527.6BF581FA01D>