1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 03:32:25 +02:00

Add an initrun script that is respawned by init.

This default initrun script calls /bin/login as usual, but packages (ex. bootloader packages) can modify it to run custom scripts/execs at init.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11283 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
ymano 2008-05-28 19:16:22 +00:00
parent 0b0d05a2c1
commit d232c3a5ba
2 changed files with 4 additions and 1 deletions

View File

@ -3,4 +3,4 @@
::ctrlaltdel:/sbin/reboot
tts/0::askfirst:/bin/ash --login
ttyS0::askfirst:/bin/ash --login
tty1::askfirst:/bin/ash --login
tty1::respawn:/usr/sbin/initrun

View File

@ -0,0 +1,3 @@
#!/bin/sh
/bin/ash --login