About | Projects | Docs | Forums | Lists | Bugs | Get Gentoo! | Support | Planet | Wiki
naota 12/05/27 06:23:08 Added: zfs.initd Log: Add zfs initd script. #415129 (Portage version: 2.2.0_alpha100/cvs/Linux x86_64) Revision Changes Path 1.1 sys-freebsd/freebsd-cddl/files/zfs.initd file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-cddl/files/zfs.initd?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-cddl/files/zfs.initd?rev=1.1&content-type=text/plain Index: zfs.initd =================================================================== #!/sbin/runscript # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-cddl/files/zfs.initd,v 1.1 2012/05/27 06:23:07 naota Exp $ depend() { need hostid before fsck } start() { einfo "Starting zfs ..." zfs mount -a zfs share -a if [ ! -r /etc/zfs/exports ]; then touch /etc/zfs/exports fi } stop() { einfo "Stopping zfs ..." zfs unshare -a zfs unmount -a }
Updated Jun 26, 2012
Summary: Archive of the gentoo-commits mailing list.
Donate to support our development efforts.
Your browser does not support iframes.