[source] base-files: drop unused preinit_echo function

LEDE Commits lede-commits at lists.infradead.org
Wed Aug 9 14:23:15 PDT 2017


rmilecki pushed a commit to source.git, branch master:
https://git.lede-project.org/1e13c6f77fc02df2bd8ed237ab9208ecdefb2dab

commit 1e13c6f77fc02df2bd8ed237ab9208ecdefb2dab
Author: Rafał Miłecki <rafal at milecki.pl>
AuthorDate: Mon Aug 7 08:41:26 2017 +0200

    base-files: drop unused preinit_echo function
    
    It isn't used for years since the old 99_10_run_init has been dropped.
    
    Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
 package/base-files/files/lib/preinit/10_indicate_preinit | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/package/base-files/files/lib/preinit/10_indicate_preinit b/package/base-files/files/lib/preinit/10_indicate_preinit
index 2c1a63f..5442a74 100644
--- a/package/base-files/files/lib/preinit/10_indicate_preinit
+++ b/package/base-files/files/lib/preinit/10_indicate_preinit
@@ -147,11 +147,6 @@ preinit_net_echo() {
 	}
 }
 
-preinit_echo() {
-	preinit_net_echo $1
-	echo $1
-}
-
 pi_indicate_preinit() {
 	set_state preinit
 }



More information about the lede-commits mailing list