Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=wipv.git;a=commitdiff;h=8d38be3b2eb5c710f63968f3b6048cf1f1dc5c2d

commit 8d38be3b2eb5c710f63968f3b6048cf1f1dc5c2d
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Tue Sep 7 17:30:02 2010 +0000

fuse-2.8.4-3-i686
*added rc status

diff --git a/source/apps-extra/fuse/FrugalBuild 
b/source/apps-extra/fuse/FrugalBuild
index 5003b20..e005c6f 100644
--- a/source/apps-extra/fuse/FrugalBuild
+++ b/source/apps-extra/fuse/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=fuse
pkgver=2.8.4
-pkgrel=2
+pkgrel=3
pkgdesc="An interface for filesystems implemented in userspace."
Finclude sourceforge
depends=('glibc')
@@ -11,7 +11,7 @@ groups=('apps-extra')
archs=('i686' 'x86_64' 'ppc')
source=($source rc.fuse rc.fuse-hu.po README.Frugalware)
sha1sums=('b1bc296c3e5b90b3658edb5d8d7aa0ee97c145d7' \
-          '83a44b6f6e87d304b42915983a5eff64c9484e07' \
+          '00946bd4c400dfe3d6ddba4c93bc7ba3860f0229' \
'b6077229d093f8c01f002e84068e3ce7e795e479' \
'e176bb09187bae3ef613cf7d6338b2d9210bef59')

diff --git a/source/apps-extra/fuse/rc.fuse b/source/apps-extra/fuse/rc.fuse
index ae55f12..75c3ad4 100644
--- a/source/apps-extra/fuse/rc.fuse
+++ b/source/apps-extra/fuse/rc.fuse
@@ -12,7 +12,7 @@ source /lib/initscripts/functions
TEXTDOMAIN=fuse
TEXTDOMAINDIR=/lib/initscripts/messages

-actions=(restart start stop)
+actions=(restart start stop status)
daemon="FUSE"

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
@@ -55,4 +55,14 @@ rc_stop()
ok 0
}

+rc_status()
+{
+       msg "$daemon are"
+       if grep -qw "^fuse" /proc/modules; then
+                ok 997
+        else
+                ok 998
+        fi
+}
+
rc_exec $1
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to