diff options
| -rwxr-xr-x | meta/recipes-core/initrdscripts/initramfs-framework/init | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-core/initrdscripts/initramfs-framework/init b/meta/recipes-core/initrdscripts/initramfs-framework/init index e8f4713b52..9291ad5c21 100755 --- a/meta/recipes-core/initrdscripts/initramfs-framework/init +++ b/meta/recipes-core/initrdscripts/initramfs-framework/init | |||
| @@ -58,9 +58,13 @@ fatal() { | |||
| 58 | echo $1 >/dev/console | 58 | echo $1 >/dev/console |
| 59 | echo >/dev/console | 59 | echo >/dev/console |
| 60 | 60 | ||
| 61 | if [ -n "bootparam_init_fatal_sh" ]; then | ||
| 62 | sh | ||
| 63 | else | ||
| 61 | while [ "true" ]; do | 64 | while [ "true" ]; do |
| 62 | sleep 3600 | 65 | sleep 3600 |
| 63 | done | 66 | done |
| 67 | fi | ||
| 64 | } | 68 | } |
| 65 | 69 | ||
| 66 | # Variables shared amoung modules | 70 | # Variables shared amoung modules |
