403Webshell
Server IP : 64.223.137.62  /  Your IP : 104.23.197.96
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver9 5.15.0-170-generic #180-Ubuntu SMP Fri Jan 9 16:10:31 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /etc/kernel/prerm.d/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /etc/kernel/prerm.d/synosnap
#!/bin/sh

# We're passed the version of the kernel being removed
inst_kern=$1

echo "Preapre to remove synosnap backup initrd for the removed kernel version"

for initrd in "initrd-$inst_kern.img" "initramfs-$inst_kern.img" "initrd.img-$inst_kern" "initrd-$inst_kern"; do
    rm -fv /boot/"${initrd}".old-syno >&2
done

exit 0

Youez - 2016 - github.com/yon3zu
LinuXploit