#!/bin/sh

#/etc/init.d/checkstatus >> /dev/null 2>&1 &

# Screen Blanking abschalten
echo -e "\033[9;0]"

mount -t proc proc /proc

/etc/init.d/modules &

mount -t sysfs sysfs /sys

mount -t tmpfs -o size=64k,mode=0755 tmpfs /dev

mkdir /dev/pts
mount -t devpts devpts /dev/pts
echo /sbin/mdev > /proc/sys/kernel/hotplug
mdev -s
/etc/init.d/gpio
/etc/init.d/checkstatus &> /dev/null &

mount -o ro /dev/mmcblk0p1 /mnt/mmcblk0p1 

/etc/init.d/checkuserconfig

mount none -t tmpfs -o defaults,size=50M /var
mount none -t tmpfs -o defaults,size=50M /tmp

mkdir /var/log

/etc/init.d/checklms &
/etc/init.d/amixer &
echo "We are aroio Version $(cat /mnt/mmcblk0p1/version)!"
/etc/init.d/network &
/usr/bin/startstreamer.sh &
/etc/init.d/httpd

loadkmap < /etc/de.map
touch /var/log/shairport.log
dropbear
/etc/init.d/logrotate &> /dev/null &
