Config files to make everyday life easier...
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678910111213141516
  1. function wifi {
  2. case "${1^^}" in
  3. "OFF")
  4. printf "Disabling wireless interface...\n"
  5. /usr/bin/rfkill block 0
  6. ;;
  7. "ON")
  8. printf "Enabling wireless interface...\n"
  9. /usr/bin/rfkill unblock 0
  10. ;;
  11. *)
  12. printf "\nOption not recognised. Try using \`on' or \`off'.\n"
  13. ;;
  14. esac
  15. }