Changeset 33408c6 in freewrt for package/webif


Ignore:
Timestamp:
Jul 30, 2006, 10:39:10 AM (19 years ago)
Author:
Waldemar Brodkorb <wbx@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
b0071b2
Parents:
a867381b
Message:

add index.asp for smooth update from linksys firmware, from OpenWrt

git-svn-id: svn://www.freewrt.org/trunk/freewrt@463 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
package/webif
Files:
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • package/webif/Makefile

    ra867381b r33408c6  
    1 # $Id: Makefile 3201 2006-02-09 08:59:52Z nbd $
     1# $FreeWRT$
    22
    33include $(TOPDIR)/rules.mk
     
    2929        install -m0755 $(WRKBUILD)/webif-page $(IDIR_WEBIF)/usr/bin/webif-page
    3030        install -m0755 $(WRKBUILD)/bstrip $(IDIR_WEBIF)/usr/bin/bstrip
     31        ln -sf /www/index.html $(IDIR_WEBIF)/www/index.asp
    3132        install -d $(IDIR_WEBIF)/etc/init.d
    32         install -m0755 ./files/S50httpd $(IDIR_WEBIF)/etc/init.d/S50httpd
     33        install -m0755 ./files/httpd.init $(IDIR_WEBIF)/etc/init.d/S50httpd
    3334        find $(IDIR_WEBIF) -name CVS | xargs rm -rf
    3435        find $(IDIR_WEBIF) -name .svn | xargs rm -rf
  • package/webif/files/usr/lib/webif/webif.sh

    ra867381b r33408c6  
    196196        case ${SERVER_SOFTWARE%% *} in
    197197                busybox)
    198                         echo '/cgi-bin/webif:root:$p$root' > /etc/httpd.conf
     198                        echo ".asp:text/html" > /etc/httpd.conf
     199                        echo '/cgi-bin/webif:root:$p$root' >> /etc/httpd.conf
    199200                        echo '/cgi-bin/webif:admin:$p$root' >> /etc/httpd.conf
    200201                        killall -HUP httpd
Note: See TracChangeset for help on using the changeset viewer.