git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make zil_slog_limit a tunable module parameter.
[zfs.git]
/
etc
/
init.d
/
zfs.gentoo.in
diff --git
a/etc/init.d/zfs.gentoo.in
b/etc/init.d/zfs.gentoo.in
index
31a539c
..
957be99
100644
(file)
--- a/
etc/init.d/zfs.gentoo.in
+++ b/
etc/init.d/zfs.gentoo.in
@@
-13,13
+13,13
@@
depend()
ZFS="@sbindir@/zfs"
ZPOOL="@sbindir@/zpool"
ZFS="@sbindir@/zfs"
ZPOOL="@sbindir@/zpool"
-ZPOOL_CACHE="@
initdir@
/zpool.cache"
+ZPOOL_CACHE="@
sysconfdir@/zfs
/zpool.cache"
ZFS_MODULE=zfs
checksystem() {
if [ ! -c /dev/zfs ]; then
einfo "Checking if ZFS modules present"
ZFS_MODULE=zfs
checksystem() {
if [ ! -c /dev/zfs ]; then
einfo "Checking if ZFS modules present"
- if
[ "x$(modprobe -l $ZFS_MODULE | grep $ZFS_MODULE)" == "x" ]
; then
+ if
! modinfo zfs > /dev/null 2>&1
; then
eerror "$ZFS_MODULE not found. Is the ZFS package installed?"
return 1
fi
eerror "$ZFS_MODULE not found. Is the ZFS package installed?"
return 1
fi