]> git.proxmox.com Git - mirror_zfs.git/blobdiff - etc/init.d/zfs-zed.in
etc/init.d: decide which variant to use at build time.
[mirror_zfs.git] / etc / init.d / zfs-zed.in
index e9cf8867403c14d09b09b96d62d2958c0b62a290..3d40600cea5ddaec89bf4c7ca979e89e5a246dcd 100755 (executable)
@@ -93,7 +93,8 @@ do_reload()
 
 # ----------------------------------------------------
 
-if [ ! -e /sbin/openrc-run ]; then
+if @IS_SYSV_RC@
+then
        case "$1" in
                start)
                        do_start