mkinitrd replaced with initramfs-tools
This commit is contained in:
1 parent
b812c15233
commit
49b2dcd518
9 files changed
+46
-413
No files matched your search
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
if grep "boot=live" /proc/cmdline >/dev/null ; then
|
||||
exit 0
|
||||
fi
|
||||
for kernel in $(ls /lib/modules) ; do
|
||||
if [ ! -f /boot/initrd.img-$kernel ] ; then
|
||||
mkinitrd -u -k $kernel
|
||||
fi
|
||||
done
|
||||
Reference in new issue
Block a user