From 1435abfb2c51a928981bfcb84d3ab540b3441b7a Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Sun, 13 Nov 2011 22:16:05 +0000 Subject: [PATCH] packages/unfs3: use new service functions SVN-Revision: 29068 --- net/unfs3/Makefile | 4 ++-- net/unfs3/files/unfs3.init | 13 ++++--------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/net/unfs3/Makefile b/net/unfs3/Makefile index a0ab326fa3..ddd6f7102b 100644 --- a/net/unfs3/Makefile +++ b/net/unfs3/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006 OpenWrt.org +# Copyright (C) 2006-2011 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=unfs3 PKG_VERSION:=0.9.22 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/$(PKG_NAME) diff --git a/net/unfs3/files/unfs3.init b/net/unfs3/files/unfs3.init index 204c4fdb42..4a5965ab97 100644 --- a/net/unfs3/files/unfs3.init +++ b/net/unfs3/files/unfs3.init @@ -1,17 +1,12 @@ #!/bin/sh /etc/rc.common -# Copyright (C) 2006 OpenWrt.org +# Copyright (C) 2006-2011 OpenWrt.org + START=50 start() { - /usr/sbin/unfsd + service_start /usr/sbin/unfsd } stop() { - killall unfsd -} - -restart() { - stop - sleep 1 - start + service_stop /usr/sbin/unfsd } -- 2.30.2