2
0
forked from Ivasoft/openwrt

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

SVN-Revision: 29208
This commit is contained in:
Jo-Philipp Wich
2011-11-17 09:40:06 +00:00
parent 33443d2a8c
commit 010e58d209
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/sh
# Copyright (C) 2006-2011 OpenWrt.org
if ( ! grep -qs '^root::' /etc/shadow || \
if ( ! grep -qs '^root:[!x]\?:' /etc/shadow || \
! grep -qs '^root:[!x]\?:' /etc/passwd ) && \
[ -z "$FAILSAFE" ]
then