Correct operation/finish_install/97update_initrd_noraid.sh
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
instmode=`cat /proc/cmdline | sed 's/.*instmode=\([^ ]*\).*/\1/'`
|
||||
if [ instmode == 'NoRaid' ];then
|
||||
if [ $instmode == "NoRaid" ];then
|
||||
mkdir -p /mnt/boot/t
|
||||
cd /mnt/boot/t
|
||||
zcat /mnt/boot/initrd.img-2.6.32.41-Rocky4.2-x86_64 |cpio -di
|
||||
|
||||
Reference in New Issue
Block a user