019ea725aa
This new argument is used right after starting regular preinit (which happens if failsafe wasn't triggered). The main purpose of "preinit" argument is to indicate that failsafe can be triggered, however we were missing a way to inform user that we don't wait for a trigger anymore. With this change it's clear when failsafe mode can be triggered. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43715
11 lines
254 B
Bash
11 lines
254 B
Bash
#!/bin/sh
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
# Copyright (C) 2010 Vertical Communications
|
|
|
|
indicate_regular_preinit() {
|
|
preinit_net_echo "Continuing with Regular Preinit\n"
|
|
set_state preinit_regular
|
|
}
|
|
|
|
boot_hook_add preinit_main indicate_regular_preinit
|