base-files: gpio switch: check if direction can be set
[openwrt/openwrt.git] / package / base-files / files / etc / init.d / done
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2006 OpenWrt.org
3
4 START=95
5 boot() {
6 mount_root done
7 rm -f /sysupgrade.tgz
8
9 # process user commands
10 [ -f /etc/rc.local ] && {
11 sh /etc/rc.local
12 }
13
14 # set leds to normal state
15 . /etc/diag.sh
16 set_state done
17 }