#!/bin/sh
mount -t proc none /proc
mount -t sysfs none /sys
export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin

# X server and clients setup

export TSLIB_TSDEVICE=/dev/input/event0
export TSLIB_CONFFILE=/usr/share/tslib/ts.conf-h3600
export DISPLAY=:0

# Load the USB gadget mass storage module
# Doesn't work if built in the kernel
# Perhaps because / is not mounted yet

#insmod /root/g_file_storage.ko file=/root/data.img removable=y luns=1

# Start a new shell in the console

/bin/sh
