mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-12 09:54:53 +00:00
base-files: another empty password check fix (#10440)
SVN-Revision: 29208
This commit is contained in:
parent
33443d2a8c
commit
010e58d209
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
||||
include $(INCLUDE_DIR)/kernel.mk
|
||||
|
||||
PKG_NAME:=base-files
|
||||
PKG_RELEASE:=96
|
||||
PKG_RELEASE:=97
|
||||
|
||||
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
||||
PKG_BUILD_DEPENDS:=opkg/host
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user