mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-27 22:25:08 +02:00
Now the version also specifies what Debian version the code uses, i.e "0.99.debian0.94.4". --HG-- rename : srcpkgs/initramfs-tools/files/scripts/init-premount/blacklist => srcpkgs/initramfs-tools/files/scripts/init-top/blacklist
25 lines
295 B
Bash
Executable file
25 lines
295 B
Bash
Executable file
#!/bin/sh
|
|
|
|
PREREQ=""
|
|
|
|
prereqs()
|
|
{
|
|
echo "$PREREQ"
|
|
}
|
|
|
|
case $1 in
|
|
# get pre-requisites
|
|
prereqs)
|
|
prereqs
|
|
exit 0
|
|
;;
|
|
esac
|
|
|
|
# sanity check
|
|
[ -z "${blacklist}" ] && exit 0
|
|
|
|
# write blacklist to modprobe.d
|
|
IFS=','
|
|
for b in ${blacklist}; do
|
|
echo "blacklist $b" >> /etc/modprobe.d/initramfs.conf
|
|
done
|