mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-23 01:03:35 +07:00
fix
This commit is contained in:
parent
059ebb212d
commit
06034d2e4f
@ -20,9 +20,6 @@ cmdline=$(cat /proc/cmdline)
|
||||
kernel=$(echo "$cmdline" | grep -o 'BOOT_IMAGE=\S*' | cut -d '=' -f 2)
|
||||
initrd=$(echo "$kernel" | sed "s#vmlinuz#initrd.img#")
|
||||
|
||||
kernel="/boot/$kernel"
|
||||
initrd="/boot/$initrd"
|
||||
|
||||
if test -e $initrd; then
|
||||
echo "Initrd File Found"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user