diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/initrd/common.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/initrd/common.sh b/src/initrd/common.sh index 09906d9..b91bbf9 100644 --- a/src/initrd/common.sh +++ b/src/initrd/common.sh | |||
@@ -31,6 +31,11 @@ menutitle() | |||
31 | printf 'setWelcomeText "%s"\n' "$2" >>$MENUFIFO | 31 | printf 'setWelcomeText "%s"\n' "$2" >>$MENUFIFO |
32 | } | 32 | } |
33 | 33 | ||
34 | force_grok_block() | ||
35 | { | ||
36 | udevadm trigger --subsystem-match=block --action=add | ||
37 | } | ||
38 | |||
34 | bootmenu() | 39 | bootmenu() |
35 | { | 40 | { |
36 | local do_trigger="$1" no_panic="$2" | 41 | local do_trigger="$1" no_panic="$2" |
@@ -43,7 +48,7 @@ bootmenu() | |||
43 | panic "error loading boot menu! the system won't be usable :(" | 48 | panic "error loading boot menu! the system won't be usable :(" |
44 | fi | 49 | fi |
45 | if [ "$do_trigger" ]; then | 50 | if [ "$do_trigger" ]; then |
46 | udevadm trigger --subsystem-match=block --action=add | 51 | force_grok_block |
47 | fi | 52 | fi |
48 | } | 53 | } |
49 | 54 | ||