bcachefs-tools/bcache-register
Gabriel 0d54a238b1 Use the absolute path to modprobe
This is necessary on Fedora, according to Rolf Fokkens.
2013-09-22 01:15:36 +02:00

5 lines
121 B
Bash
Executable File

#!/bin/sh
/sbin/modprobe -qba bcache
test -f /sys/fs/bcache/register_quiet && echo "$1" > /sys/fs/bcache/register_quiet