3 # sharpzdc 1.00 2001/11/21 00:00:00 (Akio Tagami)
5 # Initialize or shutdown for SHARP Digital Camera Card
7 # The first argument should be either 'start' or 'stop'. The second
8 # argument is the base name for the device.
10 if [ -r ./shared ] ; then . ./shared ; else . /etc/pcmcia/shared ; fi
12 # Get device attributes
15 # Load site-specific settings
16 ADDRESS="$SCHEME,$SOCKET,$SERIAL_NO"
18 # cmd=$ACTION, dev=$DEVICE, id=$MAJOR, key=$ADDRESS
23 if [ -e /dev/$DEVICE ] ; then
26 mknod /dev/$DEVICE c $MAJOR 0
27 chmod a+rw /dev/$DEVICE