From 8f62b7c0202650beea4f9137078574ae35ff0e11 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Mon, 25 Apr 2005 09:05:26 +0000 Subject: Make sure zaptel module loaded first and unloaded last, since all other modules depend on it. Bump PORTREVISION. Submitted by: Ryan J. Taylor --- misc/zaptel/Makefile | 1 + misc/zaptel/files/zaptel.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'misc') diff --git a/misc/zaptel/Makefile b/misc/zaptel/Makefile index 43ae89f3a9b2..e30ab6e77158 100644 --- a/misc/zaptel/Makefile +++ b/misc/zaptel/Makefile @@ -7,6 +7,7 @@ PORTNAME= zaptel PORTVERSION= 0.9 +PORTREVISION= 1 CATEGORIES= misc MASTER_SITES= http://www.portaone.com/~sobomax/ DISTNAME= ${PORTNAME}-freebsd-${PORTVERSION} diff --git a/misc/zaptel/files/zaptel.sh b/misc/zaptel/files/zaptel.sh index d2f5e60b61fc..e2ccf1e7a6a8 100644 --- a/misc/zaptel/files/zaptel.sh +++ b/misc/zaptel/files/zaptel.sh @@ -5,8 +5,8 @@ LIBDIR=${PREFIX}/lib/zaptel case "$1" in start) - /sbin/kldload ${LIBDIR}/qozap.ko || exit 1 /sbin/kldload ${LIBDIR}/zaptel.ko || exit 1 + /sbin/kldload ${LIBDIR}/qozap.ko || exit 1 /sbin/kldload ${LIBDIR}/wcfxo.ko || exit 1 /sbin/kldload ${LIBDIR}/wcfxs.ko || exit 1 /sbin/kldload ${LIBDIR}/wct1xxp.ko || exit 1 @@ -19,10 +19,10 @@ case "$1" in /sbin/kldunload qozap.ko || exit 1 /sbin/kldunload wcfxs.ko || exit 1 /sbin/kldunload wcfxo.ko || exit 1 - /sbin/kldunload zaptel.ko || exit 1 /sbin/kldunload wct1xxp.ko || exit 1 /sbin/kldunload wct4xxp.ko || exit 1 /sbin/kldunload wcte11xp.ko || exit 1 + /sbin/kldunload zaptel.ko || exit 1 echo -n " zaptel" ;; -- cgit v1.2.3