#!/bin/bash

. /etc/sysconfig/psion

NAME="Psion FUSE mount"
PROGRAM=/usr/sbin/plpfuse
ARGS="$PLPFUSE_PORT $PLPFUSE_MOUNTPOINT $PLPFUSE_FUSEOPT"
RUNLEVEL=3
NEEDS="psion"

. /etc/init.d/smgl_init

# fix to unmout fuse mounted directory
stop ()
{
  echo "Stopping $NAME..."
  killproc $PROGRAM
  umount $PLPFUSE_MOUNTPOINT
}
