Ignore:
Timestamp:
2011-11-17T10:40:06+01:00 (5 years ago)
Author:
jow
Message:

[package] base-files: another empty password check fix (#10440)

File:
1 edited

Legend:

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

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