rcS.recovery 306 B

123456789101112131415161718
  1. #!/bin/sh
  2. PATH=/sbin:/bin:/usr/sbin:/usr/bin
  3. TMPDIR=/tmp
  4. umask 022
  5. mount -t proc proc /proc
  6. mount sysfs /sys -t sysfs
  7. if [ -e /proc/cpu/alignment ]; then
  8. echo "3" > /proc/cpu/alignment
  9. fi
  10. mount tmpfs -t tmpfs $TMPDIR
  11. echo 0 > /proc/sys/kernel/printk
  12. #
  13. # Here the recovery software must be started
  14. #