replace commands parsing ls output with shell glob
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
This commit is contained in:
committed by
George Melikov
parent
d1e8fad976
commit
e34ace390b
@@ -49,10 +49,10 @@ Install GRUB
|
||||
touch /etc/zfs/zpool.cache
|
||||
chmod a-w /etc/zfs/zpool.cache
|
||||
chattr +i /etc/zfs/zpool.cache
|
||||
ls -1 /lib/modules \
|
||||
| while read kernel_version; do
|
||||
for directory in /lib/modules/*; do
|
||||
kernel_version=$(basename $directory)
|
||||
dracut --force --kver $kernel_version
|
||||
done
|
||||
done
|
||||
|
||||
#. Disable BLS::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user