mirror of https://github.com/hak5/openwrt.git
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: 11283lede-17.01
parent
a06f169bac
commit
85b808e991
|
@ -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
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
/bin/ash --login
|
Loading…
Reference in New Issue