diag.sh 200 B

1234567891011121314151617
  1. #!/bin/sh
  2. # Copyright (C) 2007-2013 OpenWrt.org
  3. . /lib/functions/leds.sh
  4. status_led="rb500led:amber"
  5. set_state() {
  6. case "$1" in
  7. preinit)
  8. status_led_on
  9. ;;
  10. done)
  11. status_led_off
  12. ;;
  13. esac
  14. }