#!/bin/sh PREREQ="" prereqs() { echo "$PREREQ" } case $1 in # get pre-requisites prereqs) prereqs exit 0 ;; esac # Hooks for loading ttyfix modules . /usr/share/initramfs-tools/hook-functions MOD_LIST="fbcon vesafb" for m in $MOD_LIST ; do manual_add_modules $m done mkdir -p ${DESTDIR}/lib/udev/rules.d for rules in 70-persistent-net.rules; do if [ -f /etc/udev/rules.d/$rules ]; then cp -f -p /etc/udev/rules.d/$rules ${DESTDIR}/lib/udev/rules.d else [ -f ${DESTDIR}/lib/udev/rules.d/$rules ] && rm -f ${DESTDIR}/lib/udev/rules.d/$rules 2>/dev/null fi done exit 0