Uname:Linux server17213-10344.hostycare.online 5.14.0-687.38.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 12 17:19:12 EDT 2026 x86_64

403WebShell
403Webshell
Server IP : 103.243.232.44  /  Your IP : 216.73.216.237
Web Server : LiteSpeed
System : Linux server17213-10344.hostycare.online 5.14.0-687.38.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 12 17:19:12 EDT 2026 x86_64
User : iamakash ( 1400)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/dracut/modules.d/99kdumpbase/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/dracut/modules.d/99kdumpbase/kexec-crypt-setup.sh
#!/bin/sh
#
LUKS_CONFIGFS_RESTORE=/sys/kernel/config/crash_dm_crypt_keys/restore
RESTORED=1
MAX_WAIT_TIME=10
wait_time=0

while [ $wait_time -lt $MAX_WAIT_TIME ]; do
    [ -e $LUKS_CONFIGFS_RESTORE ] && break
    sleep 1
    wait_time=$((wait_time + 1))
done

if [ $wait_time -ge $MAX_WAIT_TIME ]; then
    echo "$LUKS_CONFIGFS_RESTORE isn't ready after ${MAX_WAIT_TIME}s, something wrong!"
    exit 1
fi

if ! grep -q "$RESTORED" "$LUKS_CONFIGFS_RESTORE"; then
    echo $RESTORED > $LUKS_CONFIGFS_RESTORE
fi

Youez - 2016 - github.com/yon3zu
LinuXploit