From: Felix Fietkau Date: Fri, 29 Sep 2006 19:29:01 +0000 (+0000) Subject: remove dynamic generation of /etc/httpd.conf - unnecessary X-Git-Tag: whiterussian_rc6~128 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=df5958a1cc0936d7fc1c5a7c5448d0eea82915c5;p=openwrt%2Fsvn-archive%2Fopenwrt.git remove dynamic generation of /etc/httpd.conf - unnecessary SVN-Revision: 4876 --- diff --git a/openwrt/package/webif/files/etc/httpd.conf b/openwrt/package/webif/files/etc/httpd.conf index 0892ce848b..29bafa926b 100644 --- a/openwrt/package/webif/files/etc/httpd.conf +++ b/openwrt/package/webif/files/etc/httpd.conf @@ -1 +1,4 @@ .asp:text/html +/cgi-bin/webif:root:$p$root +/cgi-bin/webif:admin:$p$root + diff --git a/openwrt/package/webif/files/usr/lib/webif/webif.sh b/openwrt/package/webif/files/usr/lib/webif/webif.sh index 210bd87057..afe2f99693 100644 --- a/openwrt/package/webif/files/usr/lib/webif/webif.sh +++ b/openwrt/package/webif/files/usr/lib/webif/webif.sh @@ -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