diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-08-20 22:18:41 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2020-08-21 11:46:14 +0200 |
commit | 373d4cc3605196c93cee18cfcfbd70f80c87cf8c (patch) | |
tree | 984e8e53c819764ababbddb8f6a43e417360dc5e /target/linux/pistachio/base-files/etc | |
parent | 2549d1dd77e7bb51756910c037f4459f9ddc3948 (diff) | |
download | upstream-373d4cc3605196c93cee18cfcfbd70f80c87cf8c.tar.gz upstream-373d4cc3605196c93cee18cfcfbd70f80c87cf8c.tar.bz2 upstream-373d4cc3605196c93cee18cfcfbd70f80c87cf8c.zip |
pistachio: use generic diag.sh
Remove local diag.sh in favor of generic one and add the required
led-* aliases to DTS.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/pistachio/base-files/etc')
-rwxr-xr-x | target/linux/pistachio/base-files/etc/diag.sh | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/target/linux/pistachio/base-files/etc/diag.sh b/target/linux/pistachio/base-files/etc/diag.sh deleted file mode 100755 index ed69d43385..0000000000 --- a/target/linux/pistachio/base-files/etc/diag.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh -# -# Copyright (C) 2017 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -. /lib/functions/leds.sh - -status_led="marduk:red:heartbeat" - -set_state() { - - case "$1" in - preinit) - status_led_blink_preinit - ;; - failsafe) - status_led_blink_failsafe - ;; - upgrade | \ - preinit_regular) - status_led_blink_preinit_regular - ;; - done) - status_led_on - ;; - esac -} |