Hi, Im new with this stuff and willing to cooperate in projects etc, (depending on my spare time). I have been using p2vfs to connect my ps2 to my computer and worked pretty well. As I have as a server a Linux box and wanted to use ps2vfs as a daemon I made the starting, stopping, restarting script to ease the task of doing it.
Well if you wantit or need it, there you go:
------------------------------------------------------------
#! /bin/sh
#
# ps2vfs     This script will manage the ps2vfs server program like any othe /etc/init.d
#                  daemon script
#
#               Written by Jose Fernandez <[email protected]>.
# Version:     0.1
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/bin/java
OPTIONS="-jar ps2vfs.jar -nw plugins"
NAME=Ps2VFS
DESC="PlayStation 2 Virtual Filesystem Server"
DIR=/usr/local/ps2vfs
case "$1" in
  start)
        echo -n "Starting $DESC: $NAME"
        start-stop-daemon  -b -m --pidfile /tmp/pidPs2VFS -d $DIR --start -x $DAEMON -- $OPTIONS
        echo "."
        ;;
  stop)
        echo -n "Stopping $DESC: $NAME"
        start-stop-daemon -s 9 --pidfile /tmp/pidPs2VFS --stop --quiet --oknodo
        echo "."
        ;;
  reload|force-reload)
        echo -n "Reloading $DESC: $NAME"
        echo"Not Implemented yet"
        echo "."
        ;;
  restart)
        echo -n "Restarting $DESC: $NAME"
        start-stop-daemon -s 9 --pidfile /tmp/pidPs2VFS --stop --quiet --oknodo
        sleep 1
        start-stop-daemon  -b -m --pidfile /tmp/pidPs2VFS -d $DIR --start -x $DAEMON -- $OPTIONS
        echo "."
        ;;
  *)
        N=/etc/init.d/$NAME
        # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
        echo "Usage: $N {start|stop|restart|force-reload}" >&2
        exit 1
        ;;
esac
exit 0
------------------------------------------------------------------------
Hope you find this useful and see you...
Nikel.