„amd-vendor-reset.plg“ ändern

This commit is contained in:
ich777 2021-05-25 17:37:30 +02:00
parent d1a3f0834a
commit 14f2965b26

View File

@ -88,10 +88,9 @@ depmod -a
modprobe vendor_reset
}
#Check if vendor-reset is allready downloaded
#Check if vendor-reset is already downloaded
check
if [ ! -z "$(lsmod | grep "vendor_reset")" ]; then
modprobe vendor_reset
echo
@ -107,8 +106,8 @@ else
fi
#Install icon
if [ -f "&emhttp;/images/AMD-Vendor-Reset.png ]; then
if [ -d "&emhttp;/images" ]; then
if [ ! -f "&emhttp;/images/AMD-Vendor-Reset.png ]; then
if [ ! -d "&emhttp;/images" ]; then
mkdir -p &emhttp;/images
fi
cp &plugin;/AMD-Vendor-Reset.png &emhttp;/images/