rcS 1013 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #!/bin/sh
  2. # Start all init scripts in /etc/init.d
  3. # executing them in numerical order.
  4. #
  5. for i in /etc/init.d/S??* ;do
  6. # Ignore dangling symlinks (if any).
  7. [ ! -f "$i" ] && continue
  8. case "$i" in
  9. *.sh)
  10. # Source shell script for speed.
  11. (
  12. trap - INT QUIT TSTP
  13. set start
  14. . $i
  15. )
  16. ;;
  17. *)
  18. # No sh extension, so fork subprocess.
  19. $i start
  20. ;;
  21. esac
  22. done
  23. echo /sbin/mdev > /proc/sys/kernel/hotplug
  24. mdev -s
  25. /etc/adb_conf.sh start &
  26. #/usr/sbin/dnsmasq
  27. /usr/sbin/smartMonitor.sh &
  28. /usr/sbin/smartUPG &
  29. tinymix set "ADC2 Input MIC2 Boost Switch" 1 > /dev/null
  30. tinymix set "ADC3 Input MIC3 Boost Switch" 1 > /dev/null
  31. tinymix set "HpSpeaker Switch" 1 > /dev/null
  32. tinymix set "Headphone Switch" 1 > /dev/null
  33. if [ ! -f "/usr/lib/libcrypto.so.1.0.0" ]; then
  34. ln -s /usr/lib/libcrypto.so.1.1 /usr/lib/libcrypto.so.1.0.0
  35. fi
  36. if [ ! -f "/usr/lib/libssl.so.1.0.0" ]; then
  37. ln -s /usr/lib/libssl.so.1.1 /usr/lib/libssl.so.1.0.0
  38. fi
  39. #. /etc/qtenv.sh && Launcher &