diff options
author | Yuji Mano <yuji.mano@am.sony.com> | 2008-05-28 19:16:22 +0000 |
---|---|---|
committer | Yuji Mano <yuji.mano@am.sony.com> | 2008-05-28 19:16:22 +0000 |
commit | 85b808e991771ad1816a9f0f7c8560a5a4f6993e (patch) | |
tree | c202cdcacb741181768fb5940c817bd2c08e4524 /target | |
parent | a06f169bac2318cb751bb866ee4f084ca68e6141 (diff) | |
download | upstream-85b808e991771ad1816a9f0f7c8560a5a4f6993e.tar.gz upstream-85b808e991771ad1816a9f0f7c8560a5a4f6993e.tar.bz2 upstream-85b808e991771ad1816a9f0f7c8560a5a4f6993e.zip |
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
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ps3/base-files/etc/inittab | 2 | ||||
-rw-r--r-- | target/linux/ps3/base-files/sbin/initrun | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ps3/base-files/etc/inittab b/target/linux/ps3/base-files/etc/inittab index 931c3540f7..b4dae8f74a 100644 --- a/target/linux/ps3/base-files/etc/inittab +++ b/target/linux/ps3/base-files/etc/inittab @@ -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 diff --git a/target/linux/ps3/base-files/sbin/initrun b/target/linux/ps3/base-files/sbin/initrun new file mode 100644 index 0000000000..e253c24b3a --- /dev/null +++ b/target/linux/ps3/base-files/sbin/initrun @@ -0,0 +1,3 @@ +#!/bin/sh + +/bin/ash --login |