„amd-vendor-reset.plg“ ändern
This commit is contained in:
parent
d1a3f0834a
commit
14f2965b26
|
@ -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/
|
||||
|
|
Loading…
Reference in New Issue
Block a user