summaryrefslogtreecommitdiff
path: root/net/zaptel12/files/zaptel.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net/zaptel12/files/zaptel.sh')
-rw-r--r--net/zaptel12/files/zaptel.sh36
1 files changed, 0 insertions, 36 deletions
diff --git a/net/zaptel12/files/zaptel.sh b/net/zaptel12/files/zaptel.sh
deleted file mode 100644
index 4356f95d1374..000000000000
--- a/net/zaptel12/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