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
lede-17.01
Yuji Mano 2008-05-28 19:16:22 +00:00
parent a06f169bac
commit 85b808e991
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

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