summaryrefslogtreecommitdiff
path: root/bcache-register
diff options
context:
space:
mode:
authorGabriel <g2p.code@gmail.com>2013-09-22 01:12:52 +0200
committerGabriel <g2p.code@gmail.com>2013-09-22 01:15:36 +0200
commit0d54a238b11b1b3b7c482dc20bf302f97bb81cd7 (patch)
treeee3b5c9238f8267c6391906721700481002fddf8 /bcache-register
parentb15fb776c99fcab56fbbe295629749d307e2018d (diff)
Use the absolute path to modprobe
This is necessary on Fedora, according to Rolf Fokkens.
Diffstat (limited to 'bcache-register')
-rwxr-xr-xbcache-register2
1 files changed, 1 insertions, 1 deletions
diff --git a/bcache-register b/bcache-register
index 3a9cd99..9b592bc 100755
--- a/bcache-register
+++ b/bcache-register
@@ -1,4 +1,4 @@
#!/bin/sh
-modprobe -qba bcache
+/sbin/modprobe -qba bcache
test -f /sys/fs/bcache/register_quiet && echo "$1" > /sys/fs/bcache/register_quiet