Changes between Version 1 and Version 2 of TipAndDoc/Hardware/WZR-HP-AG300H


Ignore:
Timestamp:
May 10, 2012 12:54:31 AM (12 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/Hardware/WZR-HP-AG300H

    v1 v2  
    166166 
    167167config system 
    168         option hostname 'OpenWrt' 
    169         option timezone 'UTC' 
     168        option hostname 'OpenWrt' 
     169        option timezone 'UTC' 
    170170 
    171171config timeserver 'ntp' 
    172         list server '0.openwrt.pool.ntp.org' 
    173         list server '1.openwrt.pool.ntp.org' 
    174         list server '2.openwrt.pool.ntp.org' 
    175         list server '3.openwrt.pool.ntp.org' 
    176         option enable_server '0' 
     172        list server '0.openwrt.pool.ntp.org' 
     173        list server '1.openwrt.pool.ntp.org' 
     174        list server '2.openwrt.pool.ntp.org' 
     175        list server '3.openwrt.pool.ntp.org' 
     176        option enable_server '0' 
    177177 
    178178config button 
    179         option button 'reset' 
    180         option action 'released' 
    181         option handler 'firstboot && reboot' 
    182         option min '5' 
    183         option max '10' 
     179        option button 'reset' 
     180        option action 'released' 
     181        option handler 'firstboot && reboot' 
     182        option min '5' 
     183        option max '10' 
    184184}}} 
    185185 
     
    190190 
    191191[ "$ACTION" = "released" -a "$BUTTON" = "reset" ] && { 
    192         logger -t button-hotplug Button: $BUTTON / Action: $ACTION 
    193         firstboot && reboot 
     192        logger -t button-hotplug Button: $BUTTON / Action: $ACTION 
     193        firstboot && reboot 
    194194} 
    195195}}} 
     
    255255 
    256256[ "$ACTION" = "released" -a "$BUTTON" = "reset" ] && { 
    257         logger -t button-hotplug Button: $BUTTON / Action: $ACTION 
    258         firstboot && reboot 
     257        logger -t button-hotplug Button: $BUTTON / Action: $ACTION 
     258        firstboot && reboot 
    259259} 
    260260}}} 
     
    271271 
    272272config uhttpd 'main' 
    273         list listen_http '0.0.0.0:80' 
    274         list listen_https '0.0.0.0:443' 
    275         option home '/www' 
    276         option rfc1918_filter '1' 
    277         option cert '/etc/uhttpd.crt' 
    278         option key '/etc/uhttpd.key' 
    279         option cgi_prefix '/cgi-bin' 
    280         option script_timeout '60' 
    281         option network_timeout '30' 
    282         option tcp_keepalive '1' 
     273        list listen_http '0.0.0.0:80' 
     274        list listen_https '0.0.0.0:443' 
     275        option home '/www' 
     276        option rfc1918_filter '1' 
     277        option cert '/etc/uhttpd.crt' 
     278        option key '/etc/uhttpd.key' 
     279        option cgi_prefix '/cgi-bin' 
     280        option script_timeout '60' 
     281        option network_timeout '30' 
     282        option tcp_keepalive '1' 
    283283 
    284284config cert 'px5g' 
    285         option days '730' 
    286         option bits '1024' 
    287         option country 'DE' 
    288         option state 'Berlin' 
    289         option location 'Berlin' 
    290         option commonname 'OpenWrt' 
     285        option days '730' 
     286        option bits '1024' 
     287        option country 'DE' 
     288        option state 'Berlin' 
     289        option location 'Berlin' 
     290        option commonname 'OpenWrt' 
    291291}}} 
    292292 * root@OpenWrt:~# /etc/init.d/uhttpd start