From 09d3411df0bdfce1ed6e408cfca8bdf4167ed843 Mon Sep 17 00:00:00 2001 From: sobomax 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 ++-- net/zaptel12/Makefile | 1 + net/zaptel12/files/zaptel.sh | 4 ++-- 4 files changed, 6 insertions(+), 4 deletions(-) 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" ;; diff --git a/net/zaptel12/Makefile b/net/zaptel12/Makefile index 43ae89f3a9b2..e30ab6e77158 100644 --- a/net/zaptel12/Makefile +++ b/net/zaptel12/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/net/zaptel12/files/zaptel.sh b/net/zaptel12/files/zaptel.sh index d2f5e60b61fc..e2ccf1e7a6a8 100644 --- a/net/zaptel12/files/zaptel.sh +++ b/net/zaptel12/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