summarylogtreecommitdiffstats
path: root/vtunerc-driver_kmod
diff options
context:
space:
mode:
authorTomasz Maciej Nowak2018-09-06 21:36:27 +0200
committerTomasz Maciej Nowak2018-09-06 21:36:27 +0200
commitf7a0f6948dc5232b36f824038f92eb14e1157113 (patch)
tree98d8a0a708b5c79a9214e8e25cdb0909b3e55e78 /vtunerc-driver_kmod
parentb7886f6d622dbcbcf04ab255f16ca287e37da62c (diff)
downloadaur-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-xvtunerc-driver_kmod6
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