aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/files/lib/functions/leds.sh4
-rw-r--r--package/base-files/files/lib/preinit/10_indicate_preinit6
-rw-r--r--package/base-files/files/lib/preinit/50_indicate_regular_preinit2
3 files changed, 6 insertions, 6 deletions
diff --git a/package/base-files/files/lib/functions/leds.sh b/package/base-files/files/lib/functions/leds.sh
index 743c7da782..4ac81455fa 100644
--- a/package/base-files/files/lib/functions/leds.sh
+++ b/package/base-files/files/lib/functions/leds.sh
@@ -66,3 +66,7 @@ status_led_blink_preinit() {
status_led_blink_failsafe() {
led_timer $status_led 50 50
}
+
+status_led_blink_preinit_regular() {
+ led_timer $status_led 500 500
+}
diff --git a/package/base-files/files/lib/preinit/10_indicate_preinit b/package/base-files/files/lib/preinit/10_indicate_preinit
index 900911606a..8e94df9ab2 100644
--- a/package/base-files/files/lib/preinit/10_indicate_preinit
+++ b/package/base-files/files/lib/preinit/10_indicate_preinit
@@ -36,13 +36,9 @@ preinit_echo() {
echo $1
}
-pi_indicate_led() {
- set_state preinit
-}
-
pi_indicate_preinit() {
preinit_net_echo "Doing OpenWrt Preinit\n"
- pi_indicate_led
+ set_state preinit
}
boot_hook_add preinit_main preinit_ip
diff --git a/package/base-files/files/lib/preinit/50_indicate_regular_preinit b/package/base-files/files/lib/preinit/50_indicate_regular_preinit
index bc223b358e..5b7523f6fd 100644
--- a/package/base-files/files/lib/preinit/50_indicate_regular_preinit
+++ b/package/base-files/files/lib/preinit/50_indicate_regular_preinit
@@ -4,7 +4,7 @@
indicate_regular_preinit() {
preinit_net_echo "Continuing with Regular Preinit\n"
- pi_indicate_led
+ set_state preinit_regular
}
boot_hook_add preinit_main indicate_regular_preinit