#!/bin/sh

if [ ! -x /usr/sbin/mke2fs ] ; then
   echo "Error: missing mke2fs command."
   exit 1
fi

# format ramdisk to 256 blocks (256K) and mount the ramdisk
mke2fs -q /dev/ram1 256 > /dev/null 2>&1
mount -n -t ext2 -o defaults,nocheck /dev/ram1 /var/run
