projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
407376b
)
don't set webif password if the entered root password didn't match (#191)
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 10 Jan 2006 21:40:00 +0000
(21:40 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 10 Jan 2006 21:40:00 +0000
(21:40 +0000)
SVN-Revision: 2888
openwrt/package/webif/files/usr/lib/webif/webif.sh
patch
|
blob
|
history
diff --git
a/openwrt/package/webif/files/usr/lib/webif/webif.sh
b/openwrt/package/webif/files/usr/lib/webif/webif.sh
index dce57dd6c262ba9c84ee8f7dea5da776e45dd888..9208086ecbf73a8ad6c90240d6c7ea2d186fb599 100644
(file)
--- a/
openwrt/package/webif/files/usr/lib/webif/webif.sh
+++ b/
openwrt/package/webif/files/usr/lib/webif/webif.sh
@@
-119,8
+119,7
@@
EOF
echo "$FORM_passwd1"
sleep 1
echo "$FORM_passwd2"
- ) | passwd root
- apply_passwd
+ ) | passwd root && apply_passwd
echo '</pre>'
footer
exit