diff options
author | Marat Moustafine | 2018-02-22 19:51:16 +0300 |
---|---|---|
committer | Marat Moustafine | 2018-02-22 19:51:16 +0300 |
commit | 1f47ff7451e6256bc664c80ef00ba4b231656f67 (patch) | |
tree | 1dd6a90fbbc38eb93a629ddf880721c2c34e1fc6 /chipconfig.patch | |
download | aur-1f47ff7451e6256bc664c80ef00ba4b231656f67.tar.gz |
Initial commit
Diffstat (limited to 'chipconfig.patch')
-rw-r--r-- | chipconfig.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/chipconfig.patch b/chipconfig.patch new file mode 100644 index 000000000000..91976e734ba7 --- /dev/null +++ b/chipconfig.patch @@ -0,0 +1,16 @@ +diff --git a/chipconfig.c b/chipconfig.c +index aaa26c7..2d2342e 100644 +--- a/chipconfig.c ++++ b/chipconfig.c +@@ -90,7 +90,10 @@ int msmidcount; + char vname[50]; + char vval[100]; + +-FILE* in=fopen("chipset.cfg","r"); ++FILE* in=fopen("chipset.cfg","r"); ++if (in == 0) { ++ in=fopen("/etc/qtools/chipset.cfg","r"); ++} + if (in == 0) { + printf("\n! Файл конфигурации чипсетов chipset.cfg не найден\n"); + return 0; // конфиг не найден |