From 7aa11efc1796c29d446eca99ec7d9bc7ed2c0072 Mon Sep 17 00:00:00 2001 From: juhosg Date: Sat, 29 Sep 2007 14:27:54 +0000 Subject: get rid of per-profile base-files git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9069 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/rdc/base-files/default/etc/diag.sh | 19 ------------------- target/linux/rdc/base-files/default/etc/inittab | 5 ----- target/linux/rdc/base-files/etc/diag.sh | 19 +++++++++++++++++++ target/linux/rdc/base-files/etc/inittab | 5 +++++ 4 files changed, 24 insertions(+), 24 deletions(-) delete mode 100644 target/linux/rdc/base-files/default/etc/diag.sh delete mode 100644 target/linux/rdc/base-files/default/etc/inittab create mode 100644 target/linux/rdc/base-files/etc/diag.sh create mode 100644 target/linux/rdc/base-files/etc/inittab (limited to 'target/linux/rdc/base-files') diff --git a/target/linux/rdc/base-files/default/etc/diag.sh b/target/linux/rdc/base-files/default/etc/diag.sh deleted file mode 100644 index 8d5c38262c..0000000000 --- a/target/linux/rdc/base-files/default/etc/diag.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh -# Copyright (C) 2007 OpenWrt.org - -set_led() { - local led="$1" - local state="$2" - [ -d "/sys/class/leds/rdc321x:$led" ] && echo "$state" > "/sys/class/leds/rdc321x:$led/brightness" -} - -set_state() { - case "$1" in - preinit) - set_led dmz 1 - ;; - done) - set_led dmz 0 - ;; - esac -} diff --git a/target/linux/rdc/base-files/default/etc/inittab b/target/linux/rdc/base-files/default/etc/inittab deleted file mode 100644 index 02b920c8d0..0000000000 --- a/target/linux/rdc/base-files/default/etc/inittab +++ /dev/null @@ -1,5 +0,0 @@ -::sysinit:/etc/init.d/rcS S boot -::shutdown:/etc/init.d/rcS K stop -tts/0::askfirst:/bin/ash --login -ttyS0::askfirst:/bin/ash --login -ttyS1::askfirst:/bin/ash --login diff --git a/target/linux/rdc/base-files/etc/diag.sh b/target/linux/rdc/base-files/etc/diag.sh new file mode 100644 index 0000000000..8d5c38262c --- /dev/null +++ b/target/linux/rdc/base-files/etc/diag.sh @@ -0,0 +1,19 @@ +#!/bin/sh +# Copyright (C) 2007 OpenWrt.org + +set_led() { + local led="$1" + local state="$2" + [ -d "/sys/class/leds/rdc321x:$led" ] && echo "$state" > "/sys/class/leds/rdc321x:$led/brightness" +} + +set_state() { + case "$1" in + preinit) + set_led dmz 1 + ;; + done) + set_led dmz 0 + ;; + esac +} diff --git a/target/linux/rdc/base-files/etc/inittab b/target/linux/rdc/base-files/etc/inittab new file mode 100644 index 0000000000..02b920c8d0 --- /dev/null +++ b/target/linux/rdc/base-files/etc/inittab @@ -0,0 +1,5 @@ +::sysinit:/etc/init.d/rcS S boot +::shutdown:/etc/init.d/rcS K stop +tts/0::askfirst:/bin/ash --login +ttyS0::askfirst:/bin/ash --login +ttyS1::askfirst:/bin/ash --login -- cgit v1.2.3