diff options
| author | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2025-09-07 05:17:07 +0000 |
|---|---|---|
| committer | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2025-09-07 05:17:07 +0000 |
| commit | 03482e9020960b4d6f680ddb89245b2c6848aabc (patch) | |
| tree | 4cd63f4f037969c5ccf428265de06f84b7bcf74f /linux/postinstall | |
| parent | 961513220d46d5adc6a6d694606300a5815e1ead (diff) | |
| download | alicelinux-03482e9020960b4d6f680ddb89245b2c6848aabc.tar.gz alicelinux-03482e9020960b4d6f680ddb89245b2c6848aabc.zip | |
Woodpecker CI f640b4ee9d98fec302c0a631a81ac01de4a42283 [SKIP CI]
Diffstat (limited to 'linux/postinstall')
| -rwxr-xr-x | linux/postinstall | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/postinstall b/linux/postinstall index 4eabef1b..04b6aa2f 100755 --- a/linux/postinstall +++ b/linux/postinstall @@ -1,6 +1,7 @@ #!/bin/sh for i in /lib/modules/*; do - [ -f $i/modules.dep ] || continue + [ -f $i/current ] || continue depmod ${i##*/} + mkinitrd -k ${i##*/} /boot/initrd-linux done |