summaryrefslogtreecommitdiff
path: root/target/linux/brcm-2.4/base-files/etc/init.d/done
blob: 0640b61938413fb563a9933f02f5a46ba0f39c09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org

START=95
boot() {
	[ -d /tmp/root ] && {
		lock /tmp/.switch2jffs
		firstboot switch2jffs
		lock -u /tmp/.switch2jffs
	}

	# set leds to normal state
	. /etc/diag.sh
	set_state done
}