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
master
Yuji Mano 17 years ago
parent a06f169bac
commit 85b808e991
  1. 2
      target/linux/ps3/base-files/etc/inittab
  2. 3
      target/linux/ps3/base-files/sbin/initrun

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

@ -0,0 +1,3 @@
#!/bin/sh
/bin/ash --login
Loading…
Cancel
Save