Comment by gjvc
7 hours ago
this idiom should be encouraged:
echo 0 | sudo tee /sys/class/leds/ath9k-phy0/brightness
rather than the style in the article:
echo 0 > /sys/class/leds/ath9k-phy0/brightness # needs root permissions
7 hours ago
this idiom should be encouraged:
echo 0 | sudo tee /sys/class/leds/ath9k-phy0/brightness
rather than the style in the article:
echo 0 > /sys/class/leds/ath9k-phy0/brightness # needs root permissions
Thanks I've been doing dumb sudo sh -c ... stuff before.