rcS 279 B

12345678910
  1. #!/bin/sh
  2. export PATH=/bin:/sbin:/usr/bin:/usr/sbin
  3. {
  4. grep '^#INIT ' /etc/init.d/* | \
  5. sort -nk2 | \
  6. while read line; do
  7. /bin/sh ${line%%:*} autostart 2>&1
  8. done
  9. test -e /etc/init.d/boot.local && (/bin/sh /etc/init.d/boot.local) 2>&1
  10. } | logger -s -p 6 -t '' &