diff options
author | Tomasz Maciej Nowak | 2018-09-06 21:36:27 +0200 |
---|---|---|
committer | Tomasz Maciej Nowak | 2018-09-06 21:36:27 +0200 |
commit | f7a0f6948dc5232b36f824038f92eb14e1157113 (patch) | |
tree | 98d8a0a708b5c79a9214e8e25cdb0909b3e55e78 /vtunerc-driver_kmod | |
parent | b7886f6d622dbcbcf04ab255f16ca287e37da62c (diff) | |
download | aur-f7a0f6948dc5232b36f824038f92eb14e1157113.tar.gz |
upgpkg: vtuner-client 2.1_gec05cde-4
* align add-arm-targets.patch to x-tools provided by ArchLinuxArm
* modify package descriptions
* replace double quotes with single ones where possible
* fix indentations in loading/unloading script
* add usage options to config files for convenience
Diffstat (limited to 'vtunerc-driver_kmod')
-rwxr-xr-x | vtunerc-driver_kmod | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vtunerc-driver_kmod b/vtunerc-driver_kmod index 46de6bdc9a7e..0a9578174ce7 100755 --- a/vtunerc-driver_kmod +++ b/vtunerc-driver_kmod @@ -1,7 +1,7 @@ #!/usr/bin/bash load() { - if [ `lsmod | grep -c vtunerc` -eq 0 ]; then + if [ $(lsmod | grep -c vtunerc) -eq 0 ]; then modprobe vtunerc fi } @@ -14,9 +14,9 @@ unload() { case "$1" in load) - load + load ;; unload) - unload + unload ;; esac |