aboutsummaryrefslogtreecommitdiff
path: root/misc/zaptel/files
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2006-08-14 18:12:52 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2006-08-14 18:12:52 +0000
commit70e458d4b64d5941cbbcad7dcaa922e84ae07340 (patch)
tree291de12c9562dee62e240ed3cb4200dc93f86a31 /misc/zaptel/files
parent75d18604928e05d955b1f5b15aba4277ed16db83 (diff)
downloadports-70e458d4b64d5941cbbcad7dcaa922e84ae07340.tar.gz
ports-70e458d4b64d5941cbbcad7dcaa922e84ae07340.zip
Notes
Diffstat (limited to 'misc/zaptel/files')
-rw-r--r--misc/zaptel/files/zaptel.sh36
1 files changed, 0 insertions, 36 deletions
diff --git a/misc/zaptel/files/zaptel.sh b/misc/zaptel/files/zaptel.sh
deleted file mode 100644
index 4356f95d1374..000000000000
--- a/misc/zaptel/files/zaptel.sh
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/sh
-
-PREFIX=%%PREFIX%%
-LIBDIR=${PREFIX}/lib/zaptel
-
-case "$1" in
- start)
- /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
- /sbin/kldload ${LIBDIR}/wct4xxp.ko || exit 1
- /sbin/kldload ${LIBDIR}/wcte11xp.ko || exit 1
- ${PREFIX}/bin/ztcfg
- echo -n " zaptel"
- ;;
-
- stop)
- /sbin/kldunload qozap.ko || exit 1
- /sbin/kldunload wcfxs.ko || exit 1
- /sbin/kldunload wcfxo.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"
- ;;
-
- *)
- echo ""
- echo "Usage: `basename $0` { start | stop }"
- echo ""
- exit 64
- ;;
-esac