Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 224627 Details for
Bug 284369
sys-fs/zfs-fuse-9999 live ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
rc script with questionable sleep call
zfs-fuse.rc (text/plain), 923 bytes, created by
Eric Johnson
on 2010-03-22 06:32:17 UTC
(
hide
)
Description:
rc script with questionable sleep call
Filename:
MIME Type:
Creator:
Eric Johnson
Created:
2010-03-22 06:32:17 UTC
Size:
923 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/sys-fs/zfs-fuse/files/9999/zfs-fuse.rc,v 1.2 2008/09/25 16:29:02 trapni Exp $ > >depend() { > need localmount > before net >} > >PIDFILE="/var/run/zfs/zfs-fuse.pid" >EXEFILE="/usr/sbin/zfs-fuse" > >checksystem() { > return 0 # TODO >} > >start() { > ebegin "Starting ZFS-FUSE" > checksystem || return 1 > start-stop-daemon --start --exec ${EXEFILE} \ > --user daemon --group disk -- --pidfile ${PIDFILE} > sleep 3 > rv=$? > eend $rv > > if [[ $rv -eq 0 ]]; then > ebegin "Mounting ZFS filesystems" > zfs mount -a > eend $? > fi >} > >stop() { > ebegin "Unmounting ZFS filesystems" > zfs umount -f -a > eend $? > > ebegin "Stopping ZFS-FUSE" > checksystem || return 2 > start-stop-daemon --stop --pidfile ${PIDFILE} \ > --exec ${EXEFILE} --retry TERM/1/TERM/2/TERM/4/TERM/8/KILL > eend $? >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 284369
:
203649
|
203847
|
224623
|
224625
| 224627