Date: Wed, 22 Aug 2007 21:57:45 -0400 (EDT) From: Adam Jacob Muller <adam@adam.gs> To: FreeBSD-gnats-submit@FreeBSD.org Cc: adam@adam.gs Subject: ports/115739: fix to misc/zaptel rc.d script to specify modules to load Message-ID: <20070823015745.A41D1F35214@mail.adam.gs> Resent-Message-ID: <200708230210.l7N2A6LL040088@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 115739 >Category: ports >Synopsis: fix to misc/zaptel rc.d script to specify modules to load >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Aug 23 02:10:06 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Adam Jacob Muller >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD apple.adam.gs 6.2-STABLE FreeBSD 6.2-STABLE #3: Sat Apr 21 00:45:02 EDT 2007 root@apple.adam.gs:/usr/obj/usr/src/sys/ISPRIME1750SMP i386 >Description: the misc/zaptel port specifies a fixed list of modules to load, this should be configurable by /etc/rc.conf. Patch attached fixes this. >How-To-Repeat: N/A really but try to get rc.d/zaptel.sh to only load zaptel.ko, ztdummy.ko >Fix: Cavet: I'm not really sure this is the correct way to do it, but it looks right, seems consistant with other ports rc.d scripts, and it works. --- zaptel.in.orig Wed Aug 22 21:52:56 2007 +++ zaptel.in Wed Aug 22 21:52:31 2007 @@ -18,8 +18,8 @@ kmod_dir=%%PREFIX%%/lib/zaptel -zaptel_kmod_load="zaptel.ko qozap.ko tau32pci.ko wcfxo.ko wcfxs.ko wct1xxp.ko wct4xxp.ko wcte11xp.ko" -zaptel_kmod_unload="wcte11xp.ko wct4xxp.ko wct1xxp.ko wcfxs.ko wcfxo.ko tau32pci.ko qozap.ko zaptel.ko" +: ${zaptel_kmod_load="zaptel.ko qozap.ko tau32pci.ko wcfxo.ko wcfxs.ko wct1xxp.ko wct4xxp.ko wcte11xp.ko"} +: ${zaptel_kmod_unload="wcte11xp.ko wct4xxp.ko wct1xxp.ko wcfxs.ko wcfxo.ko tau32pci.ko qozap.ko zaptel.ko"} name="zaptel" rcvar=${name}_enable >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070823015745.A41D1F35214>