diff options
author | James <> | 2013-03-17 12:16:37 +0000 |
---|---|---|
committer | James <> | 2013-03-17 12:16:37 +0000 |
commit | 27b76ab0671089c47506615a796a261e993896a7 (patch) | |
tree | 61213d67e7fa87b20356b23798558e2c4212c42f /package/base-files/files/etc/init.d/.svn/text-base/done.svn-base | |
download | trunk-36060-master.tar.gz trunk-36060-master.tar.bz2 trunk-36060-master.zip |
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-base | 20 |
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 +} |