Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Naohiro Aota (naota)" <naota@g.o>
Subject: gentoo-x86 commit in sys-freebsd/freebsd-cddl/files: zfs.initd
Date: Sun, 27 May 2012 06:23:08 +0000 (UTC)
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
}





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in net-misc/mosh: mosh-9999.ebuild ChangeLog mosh-1.2.1.ebuild mosh-1.2.0.95.ebuild
Next by thread:
gentoo-x86 commit in sci-geosciences/gtk-g-rays2: gtk-g-rays2-2.01.ebuild ChangeLog
Previous by date:
gentoo-x86 commit in sys-freebsd/freebsd-cddl: freebsd-cddl-9.0.ebuild ChangeLog
Next by date:
gentoo-x86 commit in media-sound/mpd: mpd-0.16.8.ebuild ChangeLog


Updated Jun 26, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.