From 37362df7ea5978750f4584d2ce48623c59ef0695 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 22 Nov 2006 23:27:29 +0000 Subject: move platform specific base-files into target/linux/ SVN-Revision: 5621 --- target/linux/brcm-2.4/base-files/etc/init.d/done | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 target/linux/brcm-2.4/base-files/etc/init.d/done (limited to 'target/linux/brcm-2.4/base-files/etc/init.d/done') diff --git a/target/linux/brcm-2.4/base-files/etc/init.d/done b/target/linux/brcm-2.4/base-files/etc/init.d/done new file mode 100755 index 0000000000..0640b61938 --- /dev/null +++ b/target/linux/brcm-2.4/base-files/etc/init.d/done @@ -0,0 +1,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 +} -- cgit v1.2.3