[FS#905] /etc/profile has incorrect syntax, resulting in error

LEDE Bugs lede-bugs at lists.infradead.org
Thu Jul 13 20:13:27 PDT 2017


A new Flyspray task has been opened.  Details are below. 

User who did this - JW0914 (JW0914) 

Attached to Project - LEDE Project
Summary - /etc/profile has incorrect syntax, resulting in error
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - **Device:** //Linksys WRT AC Series// 
**Versions:** //All source builds from the last 2 weeks (likely longer, only created buildroot 2 weeks ago)// 
**Reproduce:** //Log in via SSH// 


[root at WRT1900] ~ # source /etc/profile

-ash: syntax error: unexpected end of file (expecting "fi")
[root at WRT1900] ~ #


====Issue:====

if ( grep -qs '^root::' /etc/shadow && [ -z "$FAILSAFE" ] )
  then cat 



More information about the lede-bugs mailing list