summaryrefslogtreecommitdiffstats
path: root/hooks/memdisk
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-06-09 04:37:07 +0200
committerThomas Bächler <thomas@archlinux.org>2011-06-25 12:25:45 +0200
commit81e77426e554a61d85e1738af604359171a6062e (patch)
tree93cc1d2444fe29f466706ceda19d801978c99fd4 /hooks/memdisk
parent6dba57232914a1952dedea70a1dad38142ba7258 (diff)
downloadmkinitcpio-81e77426e554a61d85e1738af604359171a6062e.tar.gz
mkinitcpio-81e77426e554a61d85e1738af604359171a6062e.tar.xz
init: declare PATH, remove absolute paths
We were never very consistent about this anyways. Signed-off-by: Dave Reisner <d@falconindy.com>
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
}