diff options
Diffstat (limited to 'main/openrc/modloop.initd')
-rw-r--r-- | main/openrc/modloop.initd | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/openrc/modloop.initd b/main/openrc/modloop.initd index 1a12f6fccd..d2cff4e6a3 100644 --- a/main/openrc/modloop.initd +++ b/main/openrc/modloop.initd @@ -106,6 +106,9 @@ start() { ebegin "Copying firmware from $alpine_mnt/firmware" cp -R -a $alpine_mnt/firmware /lib/ eend $? + elif [ -d /lib/modules/firmware ]; then + rmdir /lib/firmware 2>/dev/null \ + && ln -s /lib/modules/firmware /lib/ fi } |