Device/EB100/Firmware/Output: NetronixEB100_cat_usr_etc_local.txt

File NetronixEB100_cat_usr_etc_local.txt, 1.5 KB (added by franzrogar, 3 years ago)
Line 
1cat of /usr/etc/rc.local
2
31.  #!bin/sh
42.  #Joe
53.  #/bin/mount -a
64.  mknod /dev/sda1 b 8 17
75.  if [ -f /ebrmain/startgif/startgif ]; then
86.  cd /ebrmain/startgif
97.  ./startgif &
108.  cd /
119.  fi
1210.  #mount Usb
1311.  #if [ -f /ebrmain/mount_usb ];then
1412.  # echo "mount Usb"
1513.  # cd /ebrmain
1614.  # ./mount_usb
1715.  # cd /
1816.  #else
1917.  echo "mount Usb(default)"
2018.  cd /usr
2119.  ./mount_usb
2220.  cd /
2321.  #fi
2422.  sleep 1
2523.  #Test & Waveform Mode
2624.  if [ -f /mnt/ext2/waveform/writewf ]; then
2725.  cd /mnt/ext2/waveform
2826.  ./writewf
2927.  cd /
3028.  elif [ -f /mnt/ext2/test ]; then
3129.  cd /mnt/ext2
3230.  ./test
3331.  cd /
3432.  #else
3533.  # cd /ebrmain/led
3634.  # ./nled1
3735.  # cd /
3836.  fi
3937.  #Turn on vcom
4038.  if [ -f /mnt/ext2/turn_on_vcom ]; then
4139.  cd /mnt/ext2
4240.  ./turn_on_vcom
4341.  cd /
4442.  fi
4543.  #Show bmp
4644.  if [ -f /mnt/ext2/showbmp ]; then
4745.  cd /mnt/ext2
4846.  ./showbmp
4947.  cd /
5048.  fi
5149.  #Update kernel
5250.  if [ -f /mnt/ext2/update_kernel ]; then
5351.  cd /mnt/ext2
5452.  ./update_kernel
5553.  cd /
5654.  fi
5755.  #Update bmp
5856.  if [ -f /mnt/ext2/update_startbmp ]; then
5957.  cd /mnt/ext2
6058.  ./update_startbmp
6159.  cd /
6260.  fi
6361.  #update ap
6462.  if [ -f /mnt/ext2/update_ap ]; then
6563.  cd /mnt/ext2
6664.  ./update_ap
6765.  cd /
6866.  fi
6967.  #RUNNING AP
7068.  if [ -f /ebrmain/ebrmain ]; then
7169.  cd /ebrmain
7270.  ./ebrmain
7371.  cd /
7472.  fi