linkpi_firmware_history/rootfs/etc/init.d/rcS

61 lines
832 B
Bash

#! /bin/sh
/bin/mount -a
echo "
_ _ _ _ _ _ _ _ _ _ _ _
\ _ _ _ _ _ ___
/ /__/ \ |_/
/ __ / - _ ___
/ / / / / /
_ _ _ _/ / / \_/ \_ ______
___________\___\__________________
"
for initscript in /etc/init.d/S[0-9][0-9]*
do
if [ -x $initscript ] ;
then
echo "[RCS]: $initscript"
$initscript
fi
done
/sbin/sysctl -p /etc/sysctl.conf
cd /ko
./load3521d -i
telnetd
chown root:root /var/empty
/usr/local/sbin/sshd
#UART3
#himm 0x120F0100 1
#himm 0x120F0100 1
#UART1
himm 0x120F00F8 1
himm 0x120F00FC 1
#I2S
himm 0x120F00A0 1
himm 0x120F00A4 1
himm 0x120F00A8 1
himm 0x120F00AC 1
himm 0x120F00B0 1
himm 0x120F00B4 1
himm 0x120F00B8 1
himm 0x120F00BC 1
#QOS
himm 0x12120084 0x66663666
#i2c
himm 0x120F00E0 1
himm 0x120F00E4 1
/link/shell/init.sh