summaryrefslogtreecommitdiffstats
path: root/hooks/memdisk
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/memdisk')
-rw-r--r--hooks/memdisk6
1 files changed, 3 insertions, 3 deletions
diff --git a/hooks/memdisk b/hooks/memdisk
index 2c3642e..e3ff345 100644
--- a/hooks/memdisk
+++ b/hooks/memdisk
@@ -1,11 +1,11 @@
# vim:set ft=sh:
run_hook ()
{
- MEMDISK=$(/usr/bin/memdiskfind)
+ MEMDISK=$(memdiskfind)
if [ $? -eq 0 ]; then
# We found a memdisk, set up phram
- /sbin/modprobe phram phram=memdisk,${MEMDISK}
+ modprobe phram phram=memdisk,${MEMDISK}
# Load mtdblock, the memdisk will be /dev/mtdblock0
- /sbin/modprobe mtdblock
+ modprobe mtdblock
fi
}