#!/usr/bin/env bash check() { # Tell dracut that this module should only be included if it is required # explicitly. return 255 } depends() { echo dnbd3-rootfs } install() { inst "${moddir}/services/ldconfig-stage4.service" \ "/opt/openslx/services/ldconfig-stage4.service" # Install service that enables addons # Order after busybox-stage4, as the addon-required check script # depends on ash being available in stage4 slx_service "s3-setup-addons" "Enable SLX addons" \ --after "initrd-root-fs.target" \ --wafter "s3-install-busybox-stage4.service" }