projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
base-files: remove trailing whitespaces from lib/functions.sh
[openwrt.git]
/
package
/
base-files
/
files
/
bin
/
login.sh
diff --git
a/package/base-files/files/bin/login.sh
b/package/base-files/files/bin/login.sh
index
6682b02
..
04b3fe2
100755
(executable)
--- a/
package/base-files/files/bin/login.sh
+++ b/
package/base-files/files/bin/login.sh
@@
-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
This page took
0.038477 seconds
and
4
git commands to generate.