]> git.proxmox.com Git - mirror_zfs.git/blobdiff - etc/init.d/zfs-mount.in
etc/init.d: decide which variant to use at build time.
[mirror_zfs.git] / etc / init.d / zfs-mount.in
index a0825f19fcdd8421c0513f1b1afea27a30fa4c88..6a3ca5f869089584c8709e8e2561e60c6de3eb72 100755 (executable)
@@ -114,7 +114,7 @@ do_stop()
 
 # ----------------------------------------------------
 
-if [ ! -e /sbin/openrc-run ]
+if @IS_SYSV_RC@
 then
        case "$1" in
                start)