# # Start script or program. # dbgout(){ chroot /mnt/initfs text2screen -x 0 -y 60 -w 800 -h 20 -c chroot /mnt/initfs text2screen -s 2 -H center -y 60 -T 0 -t "$@" } startup() { dbgout "$@" case "$1" in *.sh) $debug sh "$@" ;; *) $debug "$@" ;; esac }
mount /dev/mmcblk0p2 /opt chroot /opt