diff options
author | will <will@FreeBSD.org> | 2001-05-20 12:34:28 +0800 |
---|---|---|
committer | will <will@FreeBSD.org> | 2001-05-20 12:34:28 +0800 |
commit | eb451c4ecacad6d7619634b8cbc29785fb0dcb6c (patch) | |
tree | 321465b2d75072edaa1820cd0d441b0975cb48fb /comms/mwavem/files | |
parent | ddd0aeb09b95b7eba84d7bccf170530f36d18297 (diff) | |
download | freebsd-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.sh | 27 |
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 |