| Summary: | please add /etc/init.d/zfs to freebsd-cddl | ||
|---|---|---|---|
| Product: | Gentoo/Alt | Reporter: | Yuta SATOH <nigoro.dev> |
| Component: | FreeBSD | Assignee: | Gentoo/BSD Team <bsd+disabled> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | FreeBSD | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
patch for freebsd-cddl-9.0.ebuild
files/zfs.initd |
||
|
Description
Yuta SATOH
2012-05-08 11:28:11 UTC
Created attachment 311163 [details, diff]
patch for freebsd-cddl-9.0.ebuild
Created attachment 311165 [details] files/zfs.initd sample script /etc/init.d/zfs FYI, http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.d/zfs > if [ ! -d /etc/zfs ]; then
> mkdir -p /etc/zfs
> fi
> if [ ! -r /etc/zfs/exports ]; then
> touch /etc/zfs/exports
> fi
Would it be possible to move this code to ebuild and pump from init script?
(In reply to comment #3) > > if [ ! -d /etc/zfs ]; then > > mkdir -p /etc/zfs > > fi > > if [ ! -r /etc/zfs/exports ]; then > > touch /etc/zfs/exports > > fi > > Would it be possible to move this code to ebuild and pump from init script? Yes, it's possible. I liked your idea. Added. Thanks. |