freebsd-dev/etc/init.d
Brian Behlendorf a7b9d0c3a0 Replace zfs.redhat.in with zfs.lsb.in init script
This commit replaces the zfs.redhat.in init script with a slightly
modified version of the existing zfs.lsb.in init script.  This was
done to minimize the functional differences between platforms.
The lsb version of the script was choosen because it's heavily
tested and provides the most functionality.

Changes made for RHEL systems:
* Configuration: /etc/default/zfs -> /etc/sysconfig/zfs
* LSB functions: /lib/lsb/init-functions -> /etc/rc.d/init.d/functions
* Logging: log_begin_msg/log_end_msg -> action

Features in LSB which are now in RHEL:
* USE_DISK_BY_ID=0      - Use the by-id names
* VERBOSE_MOUNT=0       - Verbose mounts by default
* DO_OVERLAY_MOUNTS=0   - Overlay mounts by default
* MOUNT_EXTRA_OPTIONS=0 - Generic extra options

Existing RHEL features which were removed:
* Automatically mounting FSs on ZVOLs listed in /etc/fstab

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #3153
2015-03-04 11:33:07 -08:00
..
.gitignore Fix autoconf variable substitution in init scripts. 2011-08-19 16:26:14 -07:00
Makefile.am Remove ARCH packaging 2013-03-06 15:46:41 -08:00
zfs.fedora.in Remove SELinux enforcing check from init scripts 2014-05-02 11:37:46 -07:00
zfs.gentoo.in Inform OpenRC that ZFS uses mtab 2014-03-04 11:54:44 -08:00
zfs.lsb.in Do not export pool to prevent cache from been removed 2014-06-05 13:49:15 -07:00
zfs.lunar.in Updating init scripts to have more robust grepping 2013-11-08 10:55:20 -08:00
zfs.redhat.in Replace zfs.redhat.in with zfs.lsb.in init script 2015-03-04 11:33:07 -08:00