„amd-vendor-reset.plg“ ändern
This commit is contained in:
parent
d1a3f0834a
commit
14f2965b26
|
@ -88,10 +88,9 @@ depmod -a
|
||||||
modprobe vendor_reset
|
modprobe vendor_reset
|
||||||
}
|
}
|
||||||
|
|
||||||
#Check if vendor-reset is allready downloaded
|
#Check if vendor-reset is already downloaded
|
||||||
check
|
check
|
||||||
|
|
||||||
|
|
||||||
if [ ! -z "$(lsmod | grep "vendor_reset")" ]; then
|
if [ ! -z "$(lsmod | grep "vendor_reset")" ]; then
|
||||||
modprobe vendor_reset
|
modprobe vendor_reset
|
||||||
echo
|
echo
|
||||||
|
@ -107,8 +106,8 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#Install icon
|
#Install icon
|
||||||
if [ -f "&emhttp;/images/AMD-Vendor-Reset.png ]; then
|
if [ ! -f "&emhttp;/images/AMD-Vendor-Reset.png ]; then
|
||||||
if [ -d "&emhttp;/images" ]; then
|
if [ ! -d "&emhttp;/images" ]; then
|
||||||
mkdir -p &emhttp;/images
|
mkdir -p &emhttp;/images
|
||||||
fi
|
fi
|
||||||
cp &plugin;/AMD-Vendor-Reset.png &emhttp;/images/
|
cp &plugin;/AMD-Vendor-Reset.png &emhttp;/images/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user