aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/init.d/.svn/text-base/done.svn-base
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/etc/init.d/.svn/text-base/done.svn-base')
-rw-r--r--package/base-files/files/etc/init.d/.svn/text-base/done.svn-base20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/base-files/files/etc/init.d/.svn/text-base/done.svn-base b/package/base-files/files/etc/init.d/.svn/text-base/done.svn-base
new file mode 100644
index 0000000..8278669
--- /dev/null
+++ b/package/base-files/files/etc/init.d/.svn/text-base/done.svn-base
@@ -0,0 +1,20 @@
+#!/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
+ }
+
+ # process user commands
+ [ -f /etc/rc.local ] && {
+ sh /etc/rc.local
+ }
+
+ # set leds to normal state
+ . /etc/diag.sh
+ set_state done
+}