diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/init.d/Makefile.am | 2 | ||||
-rwxr-xr-x | etc/init.d/zfs-import.in | 2 | ||||
-rwxr-xr-x | etc/init.d/zfs-mount.in | 2 | ||||
-rwxr-xr-x | etc/init.d/zfs-share.in | 2 | ||||
-rwxr-xr-x | etc/init.d/zfs-zed.in | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/etc/init.d/Makefile.am b/etc/init.d/Makefile.am index 5f70fc658..c6e29d1a5 100644 --- a/etc/init.d/Makefile.am +++ b/etc/init.d/Makefile.am @@ -21,7 +21,7 @@ $(init_SCRIPTS) $(initconf_SCRIPTS) $(initcommon_SCRIPTS): $(EXTRA_DIST) else \ NFS_SRV=nfs; \ fi; \ - if [ -e /etc/gentoo-release ]; then \ + if [ -e /sbin/openrc-run ]; then \ SHELL=/sbin/runscript; \ else \ SHELL=/bin/sh; \ diff --git a/etc/init.d/zfs-import.in b/etc/init.d/zfs-import.in index 22586389a..354bbc6fd 100755 --- a/etc/init.d/zfs-import.in +++ b/etc/init.d/zfs-import.in @@ -308,7 +308,7 @@ do_start() # ---------------------------------------------------- -if [ ! -e /etc/gentoo-release ] +if [ ! -e /sbin/openrc-run ] then case "$1" in start) diff --git a/etc/init.d/zfs-mount.in b/etc/init.d/zfs-mount.in index 05cea9b88..34db057c8 100755 --- a/etc/init.d/zfs-mount.in +++ b/etc/init.d/zfs-mount.in @@ -199,7 +199,7 @@ do_stop() # ---------------------------------------------------- -if [ ! -e /etc/gentoo-release ] +if [ ! -e /sbin/openrc-run ] then case "$1" in start) diff --git a/etc/init.d/zfs-share.in b/etc/init.d/zfs-share.in index 1b70da4d5..ce3cc1cc2 100755 --- a/etc/init.d/zfs-share.in +++ b/etc/init.d/zfs-share.in @@ -58,7 +58,7 @@ do_stop() # ---------------------------------------------------- -if [ ! -e /etc/gentoo-release ]; then +if [ ! -e /sbin/openrc-run ]; then case "$1" in start) do_start diff --git a/etc/init.d/zfs-zed.in b/etc/init.d/zfs-zed.in index 86e31855e..d0086eefd 100755 --- a/etc/init.d/zfs-zed.in +++ b/etc/init.d/zfs-zed.in @@ -98,7 +98,7 @@ do_reload() # ---------------------------------------------------- -if [ ! -e /etc/gentoo-release ]; then +if [ ! -e /sbin/openrc-run ]; then case "$1" in start) do_start |