mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 11:12:47 +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:
parent
0b0d05a2c1
commit
d232c3a5ba
@ -3,4 +3,4 @@
|
|||||||
::ctrlaltdel:/sbin/reboot
|
::ctrlaltdel:/sbin/reboot
|
||||||
tts/0::askfirst:/bin/ash --login
|
tts/0::askfirst:/bin/ash --login
|
||||||
ttyS0::askfirst:/bin/ash --login
|
ttyS0::askfirst:/bin/ash --login
|
||||||
tty1::askfirst:/bin/ash --login
|
tty1::respawn:/usr/sbin/initrun
|
||||||
|
3
target/linux/ps3/base-files/sbin/initrun
Normal file
3
target/linux/ps3/base-files/sbin/initrun
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
/bin/ash --login
|
Loading…
Reference in New Issue
Block a user