#!/bin/sh

# Make rootfs rw
mount -o remount,rw /

# Add the symlink for IDE64.
ln -sf /mnt/ide.cfa /ide.cfa

# cleanup.
sync
mount -o remount,ro /
sync
sleep 3
# reboot for consistent state.
reboot
