base-files: make use of new fstools
[openwrt/staging/chunkeey.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 [ -d /tmp/root ] && mount_root done
7
8 # process user commands
9 [ -f /etc/rc.local ] && {
10 sh /etc/rc.local
11 }
12
13 # set leds to normal state
14 . /etc/diag.sh
15 set_state done
16 }