remove dynamic generation of /etc/httpd.conf - unnecessary
authorFelix Fietkau <nbd@openwrt.org>
Fri, 29 Sep 2006 19:29:01 +0000 (19:29 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 29 Sep 2006 19:29:01 +0000 (19:29 +0000)
SVN-Revision: 4876

openwrt/package/webif/files/etc/httpd.conf
openwrt/package/webif/files/usr/lib/webif/webif.sh

index 0892ce848b4ddb0b056a63cd57613ffdc5c14381..29bafa926b0e74c831da0b27cb603c54b94fc852 100644 (file)
@@ -1 +1,4 @@
 .asp:text/html
+/cgi-bin/webif:root:$p$root
+/cgi-bin/webif:admin:$p$root
+
index 210bd870571b9e48402d93eb1d6a480e9e5284bb..afe2f99693a510196fac27a7a482bb2f50a7ae34 100644 (file)
@@ -194,12 +194,6 @@ EOF
 
 apply_passwd() {
        case ${SERVER_SOFTWARE%% *} in
-               busybox)
-                       echo ".asp:text/html" > /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/*)
                        grep '^root:' /etc/passwd | cut -d: -f1,2 > $cgidir/.htpasswd
                        killall -HUP mini_httpd