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