Changeset 43006


Ignore:
Timestamp:
2014-10-20T17:07:19+02:00 (3 years ago)
Author:
nbd
Message:

base-files: fix telnet login on musl

Signed-off-by: Felix Fietkau <nbd@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/base-files/files/bin/login.sh

    r29208 r43006  
    22# Copyright (C) 2006-2011 OpenWrt.org 
    33 
    4 if ( ! grep -qs '^root:[!x]\?:' /etc/shadow || \ 
    5      ! grep -qs '^root:[!x]\?:' /etc/passwd ) && \ 
     4if ( ! grep -qsE '^root:[!x]?:' /etc/shadow || \ 
     5     ! grep -qsE '^root:[!x]?:' /etc/passwd ) && \ 
    66   [ -z "$FAILSAFE" ] 
    77then 
Note: See TracChangeset for help on using the changeset viewer.