Skip to content

Commit

Permalink
Use absolute path and remove the need for sudo password
Browse files Browse the repository at this point in the history
  • Loading branch information
Francois Marier committed May 30, 2016
1 parent 3cdd418 commit a41d6f5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions vidyo
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/bash
sudo -v || exit 1
killall VidyoDesktop
sudo rmmod xhci_hcd
sudo modprobe xhci_hcd
sudo /sbin/rmmod xhci_hcd
sudo /sbin/modprobe xhci_hcd

OLD_CPU_GOVERNOR="$(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor)"
if [ "$OLD_CPU_GOVERNOR" != "performance" ] ; then
Expand Down

0 comments on commit a41d6f5

Please sign in to comment.