mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00: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.
SVN-Revision: 11283
This commit is contained in:
parent
a06f169bac
commit
85b808e991
@ -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
|
||||
|
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