From 57732964d35616d6c93b8377b1ed72c485d9d73d Mon Sep 17 00:00:00 2001 From: Turbo Fredriksson Date: Tue, 22 Sep 2015 09:56:28 +0200 Subject: Init script fixes * Fix regression - "OVERLAY_MOUNTS" should have been "DO_OVERLAY_MOUNTS". * Fix update-rc.d commands in postinst. Thanx to subzero79@GitHub. * Fix make sure a filesystem exists before trying to mount in mount_fs() * Fix local variable usage. * Fix to read_mtab(): * Strip control characters (space - \040) from /proc/mounts GLOBALY, not just first occurrence. * Don't replace unprintable characters ([/-. ]) for use in the variable name with underscore. No need, just remove them all together. * Add check_boolean() to check if a user configure option is set ('yes', 'Yes', 'YES' or any combination there of) OR '1'. Anything else is considered 'unset'. * Add a ZFS_POOL_IMPORT to the default config. * This is a semi colon separated list of pools to import ONLY. * This is intended for systems which have _a lot_ of pools (from a SAN for example) and it would be to many to put in the ZFS_POOL_EXCEPTIONS variable.. * Add a config option "ZPOOL_IMPORT_OPTS" for adding additional options to "zpool import". * Add documentation and the chance of overriding the ZPOOL_CACHE variable in the config file. * Remove "sort" from find_pools() and setup_snapshot_booting(). Sometimes not available, and not really necessary. Signed-off-by: Turbo Fredriksson Signed-off-by: Brian Behlendorf Signed-off-by: Ned Bass Issue #3816 --- etc/init.d/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'etc/init.d/README.md') diff --git a/etc/init.d/README.md b/etc/init.d/README.md index f3adc1185..89edb1da3 100644 --- a/etc/init.d/README.md +++ b/etc/init.d/README.md @@ -42,9 +42,9 @@ INSTALLING INIT SCRIPT LINKS To setup the init script links in /etc/rc?.d manually on a Debian GNU/Linux (or derived) system, run the following commands (the order is important!): - update-rc.d zfs-import start 07 S . stop 08 0 1 6 . - update-rc.d zfs-mount start 02 2 3 4 5 . stop 07 0 1 6 . - update-rc.d zfs-zed start 26 2 3 4 5 . stop 06 0 1 6 . + update-rc.d zfs-import start 07 S . stop 07 0 1 6 . + update-rc.d zfs-mount start 02 2 3 4 5 . stop 06 0 1 6 . + update-rc.d zfs-zed start 07 2 3 4 5 . stop 08 0 1 6 . update-rc.d zfs-share start 27 2 3 4 5 . stop 05 0 1 6 . To do the same on RedHat, Fedora and/or CentOS: -- cgit v1.2.3