soma
Профи в Сат-ТВ
#!/bin/shавария скинте срочно ктото start.sh для 2,2B
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/app/lib:/usr/local/lib:/data/lib
export PATH=$PATH:/app/lib:/app/app
/app/app/checkbootparam
mount -t ramfs ramfs /mnt
mkdir /mnt/cramfs
mount -t ramfs ramfs /mnt/cramfs
cp -a /etc/* /mnt/cramfs/
mount -t ramfs ramfs /etc
cp -a /mnt/cramfs/* /etc/
umount /mnt/cramfs
mkdir /dev/raw
mknod /dev/raw/rawctl c 162 0
mknod /dev/raw/raw1 c 162 1
mknod /dev/raw/raw2 c 162 2
mknod /dev/recbuffer c 151 0
mknod /dev/sysconf c 135 0
/usr/sbin/lircd
/app/app/check902
if [ -d /tmp/902 ]
then
mknod /dev/vfd_new c 147 0
insmod /app/modules/vfd_driver_902.ko
/app/program/vfd_write "Starten..."
rmmod vfd_driver_902
insmod /app/modules/sysconf.ko
else
mknod /dev/vfd c 147 0
mknod /dev/vfd_new c 148 0
insmod /app/modules/vfd_driver_new.ko
insmod /app/modules/button.ko
insmod /app/modules/sysconf.ko
fi
mknod /dev/button c 120 0
/usr/sbin/telnetd -l /bin/sh
# FTP Server
/data/bin/proftpd -c /data/bin/proftpd.conf &
# EMU mgcamd
(sleep 10;cd /data/keys;/data/emu/mgcamd) &
# EMU camd3
#(sleep 10;cd /data/keys;/data/emu/camd3) &
/app/script/checkcmdline.out
/app/app/Launcher &
if [ -d /tmp/902 ]
then
cp /app/app/standby_902 /tmp/standby
else
cp /app/app/standby /tmp
fi
#/tmp/standby
/tmp/standby > /var/ttyIO 2>&1