aboutsummaryrefslogtreecommitdiffstats
path: root/comms/mwavem/files
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-05-20 12:34:28 +0800
committerwill <will@FreeBSD.org>2001-05-20 12:34:28 +0800
commiteb451c4ecacad6d7619634b8cbc29785fb0dcb6c (patch)
tree321465b2d75072edaa1820cd0d441b0975cb48fb /comms/mwavem/files
parentddd0aeb09b95b7eba84d7bccf170530f36d18297 (diff)
downloadfreebsd-ports-gnome-eb451c4ecacad6d7619634b8cbc29785fb0dcb6c.tar.gz
freebsd-ports-gnome-eb451c4ecacad6d7619634b8cbc29785fb0dcb6c.tar.zst
freebsd-ports-gnome-eb451c4ecacad6d7619634b8cbc29785fb0dcb6c.zip
Add mwavem 1.0, a loadable module and user excutable to support IBM
Mwave ACP modem. PR: 27064 Submitted by: R. Kevin Oberman <oberman@es.net>
Diffstat (limited to 'comms/mwavem/files')
-rw-r--r--comms/mwavem/files/mwave.sh27
1 files changed, 27 insertions, 0 deletions
diff --git a/comms/mwavem/files/mwave.sh b/comms/mwavem/files/mwave.sh
new file mode 100644
index 000000000000..6aebec7e34a3
--- /dev/null
+++ b/comms/mwavem/files/mwave.sh
@@ -0,0 +1,27 @@
+#!/bin/sh
+MWAVE_NAME="mwavem"
+MWAVEM_PATH="/usr/local/bin/"
+#
+# -- START --
+# $Id: init.freebsd.sh,v 1.1 2000/10/03 16:23:21 papowell Exp papowell $
+# This file can be installed in /usr/local/etc/rc.d
+# as mwavem.sh
+# Freebsd 4.x will run all files in this directory
+# with the suffix .sh as shell scripts
+#
+
+case "$1" in
+ restart )
+ $0 stop
+ sleep 2
+ $0 start
+ ;;
+ stop )
+ killall ${MWAVE_NAME}
+ ;;
+ start )
+ echo -n ' modem'
+ kldstat -n mwavedd 2>/dev/null >/dev/null || kldload /usr/local/modules/mwavedd
+ ${MWAVE_PATH}${MWAVE_NAME} > /dev/null &
+ ;;
+esac