Changeset 4284


Ignore:
Timestamp:
2006-07-25T21:07:23+02:00 (12 years ago)
Author:
nbd
Message:

add index.asp (symlinked from index.html) to make the transition from other broadcom-based firmware easier (#435)

Location:
branches/whiterussian/openwrt/package/webif
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/whiterussian/openwrt/package/webif/Makefile

    r3201 r4284  
    3434        install -m0755 $(PKG_BUILD_DIR)/webif-page $(IDIR_WEBIF)/usr/bin/webif-page 
    3535        install -m0755 $(PKG_BUILD_DIR)/bstrip $(IDIR_WEBIF)/usr/bin/bstrip 
     36        ln -sf /www/index.html $(IDIR_WEBIF)/www/index.asp 
    3637        find $(IDIR_WEBIF) -name CVS | xargs rm -rf 
    3738        find $(IDIR_WEBIF) -name .svn | xargs rm -rf 
  • branches/whiterussian/openwrt/package/webif/files/usr/lib/webif/webif.sh

    r3959 r4284  
    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.