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:
b7bfb02
)
update webif for last busybox httpd password change
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 4 Feb 2006 01:35:14 +0000
(
01:35
+0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 4 Feb 2006 01:35:14 +0000
(
01:35
+0000)
SVN-Revision: 3123
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 9208086ecbf73a8ad6c90240d6c7ea2d186fb599..7ecf0882fe6fe4aac0d28199ef5b23a4a5739e1a 100644
(file)
--- a/
openwrt/package/webif/files/usr/lib/webif/webif.sh
+++ b/
openwrt/package/webif/files/usr/lib/webif/webif.sh
@@
-191,8
+191,8
@@
EOF
apply_passwd() {
case ${SERVER_SOFTWARE%% *} in
busybox)
- echo
-n '/cgi-bin/webif:
' > /etc/httpd.conf
-
grep root /etc/passwd | cut -d: -f1,2
>> /etc/httpd.conf
+ echo
'/cgi-bin/webif:root:$p$root
' > /etc/httpd.conf
+
echo '/cgi-bin/webif:admin:$p$root'
>> /etc/httpd.conf
killall -HUP httpd
;;
mini_httpd/*)