From df5958a1cc0936d7fc1c5a7c5448d0eea82915c5 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 29 Sep 2006 19:29:01 +0000 Subject: [PATCH] remove dynamic generation of /etc/httpd.conf - unnecessary SVN-Revision: 4876 --- openwrt/package/webif/files/etc/httpd.conf | 3 +++ openwrt/package/webif/files/usr/lib/webif/webif.sh | 6 ------ 2 files changed, 3 insertions(+), 6 deletions(-) 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 -- 2.30.2