diff options
Diffstat (limited to 'recipes/initramfs-basic/files')
-rw-r--r-- | recipes/initramfs-basic/files/init.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes/initramfs-basic/files/init.sh b/recipes/initramfs-basic/files/init.sh index 3db235b..94eb39b 100644 --- a/recipes/initramfs-basic/files/init.sh +++ b/recipes/initramfs-basic/files/init.sh | |||
@@ -96,6 +96,11 @@ main() { | |||
96 | 96 | ||
97 | early_setup | 97 | early_setup |
98 | read_args | 98 | read_args |
99 | |||
100 | if [ -f init-device ]; then | ||
101 | source init-device | ||
102 | fi | ||
103 | |||
99 | switch_real_root | 104 | switch_real_root |
100 | } | 105 | } |
101 | 106 | ||