done 243 B

123456789101112131415
  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2006 OpenWrt.org
  3. START=95
  4. boot() {
  5. [ -d /tmp/root ] && {
  6. lock /tmp/.switch2jffs
  7. firstboot switch2jffs
  8. lock -u /tmp/.switch2jffs
  9. }
  10. # set leds to normal state
  11. . /etc/diag.sh
  12. set_state done
  13. }