# vim:set ft=sh:
run_hook ()
{
    MEMDISK=$(memdiskfind)
    if [ $? -eq 0 ]; then
        # We found a memdisk, set up phram
        modprobe phram phram=memdisk,${MEMDISK}
        # Load mtdblock, the memdisk will be /dev/mtdblock0
        modprobe mtdblock
    fi
}
