X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-console.git/blobdiff_plain/b78f64c598c8db7c0106f25a3bd2ad83e7d4ce45..a9bec8fc9ad6afac4b9f55c9b74190e409eaa594:/debian/sipb-xen-console.init diff --git a/debian/sipb-xen-console.init b/debian/sipb-xen-console.init index 14ed7e8..117aec4 100755 --- a/debian/sipb-xen-console.init +++ b/debian/sipb-xen-console.init @@ -44,6 +44,7 @@ do_start() # 0 if daemon has been started # 1 if daemon was already running # 2 if daemon could not be started + modprobe fuse daemon --running -n $NAME && return 1 daemon -r -O daemon.info -E daemon.err -n $NAME -U $DAEMON $DAEMON_ARGS || return 2 } @@ -63,6 +64,7 @@ do_stop() [ "$RETVAL" = 2 ] && return 2 # Many daemons don't delete their pidfiles when they exit. rm -f $PIDFILE + umount "$DAEMON_ARGS" return "$RETVAL" }