From a53768e2a55ff143c2717d0cca5b2875c9f5d57a Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Wed, 5 Feb 2014 22:14:42 +0000 Subject: [PATCH] net/remotefs: updated remotefs to 1.0 remotefs: Switched to Git tag for newest release, better package name and correct versioning. Removed libfuse from remotefs-server dependencies. Updated init script with actual version from remotefs repository. Signed-off-by: Aleksey Tulinov SVN-Revision: 39492 --- net/remotefs/Makefile | 3 ++- net/remotefs/files/rfsd | 10 ++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/net/remotefs/Makefile b/net/remotefs/Makefile index d0c22db87..5648ae334 100644 --- a/net/remotefs/Makefile +++ b/net/remotefs/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=remotefs -PKG_REV:=a4c25cee1e677c30acd559ff36ed1cfdc4b99c91 +PKG_REV:=1.0 PKG_VERSION:=$(PKG_REV) PKG_RELEASE:=1 @@ -38,6 +38,7 @@ endef define Package/remotefs-server $(call Package/remotefs) TITLE:=RemoteFS server + DEPENDS:= endef define Build/Compile diff --git a/net/remotefs/files/rfsd b/net/remotefs/files/rfsd index 67ffef18d..c451c70f5 100755 --- a/net/remotefs/files/rfsd +++ b/net/remotefs/files/rfsd @@ -1,16 +1,18 @@ #!/bin/sh /etc/rc.common +# Author: Oskari Rauta + START=50 LISTEN=$(ifconfig br-lan | sed -n 's/.*dr:\(.*\)Bc.*/\1/p') PORT="5001" RFSD_USER="root" -RFSD_GROUP="root" PIDFILE="/var/run/rfsd.pid" +#QUIET="-q" start() { - rfsd -a ${LISTEN} -p ${PORT} -u ${RFSD_USER} -g ${RFSD_GROUP} -r ${PIDFILE} + rfsd -a ${LISTEN} -p ${PORT} -u ${RFSD_USER} -r ${PIDFILE} ${QUIET} } stop() @@ -20,6 +22,6 @@ stop() reload() { - kill -s HUP `cat ${PIDFILE}` - start + kill -HUP `cat ${PIDFILE}` \ + && rfsd -a ${LISTEN} -p ${PORT} -u ${RFSD_USER} -r ${PIDFILE} ${QUIET} } -- 2.30.2