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:
6d581d6
)
fix password update bug for webif/mini_httpd
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 4 Feb 2006 23:14:26 +0000
(23:14 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 4 Feb 2006 23:14:26 +0000
(23:14 +0000)
SVN-Revision: 3133
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 7ecf0882fe6fe4aac0d28199ef5b23a4a5739e1a..619557fe4384d0962d5dc0167fe2056a009b8bc4 100644
(file)
--- a/
openwrt/package/webif/files/usr/lib/webif/webif.sh
+++ b/
openwrt/package/webif/files/usr/lib/webif/webif.sh
@@
-196,7
+196,7
@@
apply_passwd() {
killall -HUP httpd
;;
mini_httpd/*)
- grep
root
/etc/passwd | cut -d: -f1,2 > $cgidir/.htpasswd
+ grep
'^root:'
/etc/passwd | cut -d: -f1,2 > $cgidir/.htpasswd
killall -HUP mini_httpd
;;
esac