home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Caldera Network Desktop 1.0
/
caldera-network-desktop-1.0.bin
/
images
/
ramdisk2-beta.img
/
etc
/
pcmcia
/
serial
< prev
Wrap
Text File
|
1995-08-02
|
414b
|
24 lines
#!/bin/sh
#
# serial.sample 1.2 1995/05/25 04:27:58 (David Hinds)
#
# Initialize or shutdown a PCMCIA serial device
#
# The first argument should be either 'start' or 'stop'. The second
# argument is the base name for the device.
#
action=$1
name=$2
case "${action:?}" in
'start')
rm -f /dev/modem
ln -s /dev/$2 /dev/modem
;;
'stop')
fuser -k /dev/$2 /dev/modem
rm -f /dev/modem
;;
esac