cd /etc/network/if-up.d vi iwl-no-blink 脚本添加如下内容: #!/bin/sh if [ "$IFACE" = "wlan0" ]; then for dir in /sys/class/leds/iwl-phy*; do echo none > $dir/trigger done fi sudo chmod 755 /etc/network/if-up.d/iwl-no-blink
###ubuntu 12.04 LTS##### sudo echo none > /sys/class/leds/phy0-led/trigger