rc.local.sample 632 B

1234567891011121314151617181920212223
  1. #!/bin/sh
  2. # Start services and customize the boot process here.
  3. echo "Running /etc/rc.local..."
  4. # Use init scripts included with packages such as dropbear
  5. #/etc/init.d/dropbear start
  6. # Spawn a getty manually
  7. #setsid /sbin/getty 115200 ttyS2
  8. # Print a banner
  9. #echo "You are running a poky-tiny image brought to you by the Yocto Project."
  10. # Setup a debugging environment
  11. #mkdir /debugfs
  12. #mount none -t debugfs /debugfs
  13. # Load modules (note: linux-yocto-tiny does not have module support by default)
  14. #modprobe yourdriver
  15. # DO NOT run any long running tasks or loops as these will delay
  16. # the /init script and the console shell.