#!/bin/sh # DESCRIPTION # # Systemd support NAME="init3-systemd" verbose() { if [ -n "$GLOBAL_VERBOSE" ]; then echo "HOOK: $NAME: $@" fi } verbose "has started" if [ -x /bin/systemd ]; then echo 'FEATURES += systemd' >> /etc/initrd.mk echo 'MODULES_PRELOAD += autofs4' >> /etc/initrd.mk mkdir /run fi verbose "finished"